Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00807/0.00807, allocations: 101.7 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 194.6 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 66.06 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3268, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02566/0.3525, allocations: 22.42 MB / 1.075 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02975/0.3823, allocations: 17.59 MB / 1.092 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.3873, allocations: 107.4 kB / 1.092 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.3989, allocations: 3.903 MB / 1.096 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.4124, allocations: 3.201 MB / 1.099 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.4168, allocations: 1.172 MB / 1.1 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.4275, allocations: 6.857 MB / 1.107 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0057/0.4332, allocations: 2.456 MB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005428/0.4387, allocations: 2.078 MB / 1.111 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005465/0.4442, allocations: 2.412 MB / 1.113 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.446, allocations: 216 kB / 1.114 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.4497, allocations: 1.096 MB / 1.115 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.4517, allocations: 1.032 MB / 1.116 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005052/0.4568, allocations: 1.83 MB / 1.118 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006117/0.463, allocations: 3.928 MB / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.463, allocations: 0 / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.094e-06/0.463, allocations: 4 kB / 1.121 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001746/0.4632, allocations: 0 / 1.121 GB, free: 1.773 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01204/0.4752, allocations: 4.382 MB / 1.126 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.4753, allocations: 11.97 kB / 1.126 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.4914, allocations: 3.265 MB / 1.129 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/0.4966, allocations: 2.06 MB / 1.131 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.4968, allocations: 177.1 kB / 1.131 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009637/0.4978, allocations: 236.1 kB / 1.131 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.5106, allocations: 4.685 MB / 1.136 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-05/0.5107, allocations: 4 kB / 1.136 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007558/0.5115, allocations: 99.98 kB / 1.136 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.5118, allocations: 172.8 kB / 1.136 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.5255, allocations: 5.124 MB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.5495, allocations: 14.01 MB / 1.155 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.5617, allocations: 3.564 MB / 1.158 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003643/0.5654, allocations: 1.381 MB / 1.16 GB, free: 9.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.5656, allocations: 37.22 kB / 1.16 GB, free: 9.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004165/0.5698, allocations: 1.693 MB / 1.161 GB, free: 7.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 5.31e-06/0.5698, allocations: 0 / 1.161 GB, free: 7.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1187/0.6885, allocations: 27.41 MB / 1.188 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002426/0.6887, allocations: 496.7 kB / 1.189 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.6924, allocations: 2.308 MB / 1.191 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004331/0.6928, allocations: 77.7 kB / 1.191 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.694, allocations: 1.43 MB / 1.192 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/0.6949, allocations: 0.8201 MB / 1.193 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009968/0.696, allocations: 416.4 kB / 1.193 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.6961, allocations: 313.1 kB / 1.194 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/0.7008, allocations: 1.755 MB / 1.195 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/0.7058, allocations: 2.036 MB / 1.197 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009731/0.7156, allocations: 3.845 MB / 1.201 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7156, allocations: 0 / 1.201 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01616/0.7318, allocations: 5.806 MB / 1.207 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.7319, allocations: 152.4 kB / 1.207 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.732, allocations: 8 kB / 1.207 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006997/0.739, allocations: 1.833 MB / 1.209 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/0.742, allocations: 0.4953 MB / 1.209 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/0.765, allocations: 14.07 MB / 1.223 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/0.7688, allocations: 307.6 kB / 1.223 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/0.7692, allocations: 87.97 kB / 1.223 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00592/0.7752, allocations: 2.316 MB / 1.226 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004932/0.7801, allocations: 2.024 MB / 1.228 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009315/0.7895, allocations: 3.802 MB / 1.231 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.928e-06/0.7895, allocations: 0 / 1.231 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.0151/0.8046, allocations: 5.645 MB / 1.237 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.8048, allocations: 148.5 kB / 1.237 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8048, allocations: 4 kB / 1.237 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005981/0.8108, allocations: 1.677 MB / 1.239 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.8139, allocations: 0.5148 MB / 1.239 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6267/1.441, allocations: 13.34 MB / 1.252 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/1.445, allocations: 304.6 kB / 1.253 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/1.445, allocations: 91.69 kB / 1.253 GB, free: 174.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0006722/1.446, allocations: 324.7 kB / 1.253 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000736/1.446, allocations: 331.7 kB / 1.253 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008164/1.447, allocations: 392.6 kB / 1.254 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.447, allocations: 23.41 kB / 1.254 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-05/1.447, allocations: 14.8 kB / 1.254 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/1.447, allocations: 15.66 kB / 1.254 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/1.452, allocations: 3.159 MB / 1.257 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.452, allocations: 0.7969 kB / 1.257 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/1.455, allocations: 437.4 kB / 1.257 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006559/1.462, allocations: 1.693 MB / 1.259 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005012/1.462, allocations: 49.91 kB / 1.259 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/1.487, allocations: 13.87 MB / 1.272 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.487, allocations: 1.375 kB / 1.272 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/1.502, allocations: 5.422 MB / 1.278 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.504, allocations: 0.6639 MB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008976/1.505, allocations: 46.06 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.509, allocations: 302.6 kB / 1.279 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/1.51, allocations: 290.2 kB / 1.279 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.51, allocations: 70.17 kB / 1.279 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002482/1.512, allocations: 1.537 MB / 1.281 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.512, allocations: 0 / 1.281 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00582/1.518, allocations: 1.639 MB / 1.282 GB, free: 166.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004348/1.519, allocations: 166.8 kB / 1.282 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02155/1.54, allocations: 9.259 MB / 1.291 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.54, allocations: 0 / 1.291 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007661/1.548, allocations: 3.299 MB / 1.295 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/1.553, allocations: 1.05 MB / 1.296 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/1.569, allocations: 8.057 MB / 1.303 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.571, allocations: 2.304 MB / 1.306 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.573, allocations: 194 kB / 1.306 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.696e-06/1.573, allocations: 3.875 kB / 1.306 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.08254/1.655, allocations: 79.59 MB / 1.384 GB, free: 77.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)