Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 107 kB / 15.99 MB, free: 6.359 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.001548/0.001548, allocations: 189.1 kB / 16.91 MB, free: 6.195 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 469.4 MB / 0.7423 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001415, allocations: 58.44 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3551, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.7101/1.065, allocations: 22.42 MB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02368/1.089, allocations: 17.45 MB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/1.093, allocations: 106.2 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01103/1.104, allocations: 3.932 MB / 1.107 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/1.118, allocations: 3.189 MB / 1.11 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004634/1.122, allocations: 1.187 MB / 1.111 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01076/1.133, allocations: 5.794 MB / 1.117 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008893/1.142, allocations: 4.017 MB / 1.12 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007067/1.149, allocations: 2.455 MB / 1.123 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006437/1.156, allocations: 2.523 MB / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002085/1.158, allocations: 369.5 kB / 1.126 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/1.162, allocations: 1.031 MB / 1.127 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002899/1.165, allocations: 1.2 MB / 1.128 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006871/1.172, allocations: 1.999 MB / 1.13 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009562/1.182, allocations: 4.09 MB / 1.134 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.182, allocations: 0 / 1.134 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.896e-06/1.182, allocations: 0 / 1.134 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002614/1.182, allocations: 1.062 kB / 1.134 GB, free: 1.719 MB / 0.8575 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.01767/1.2, allocations: 4.6 MB / 1.138 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.2, allocations: 10.08 kB / 1.138 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/1.217, allocations: 3.27 MB / 1.141 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/1.223, allocations: 2.087 MB / 1.144 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005767/1.224, allocations: 467.8 kB / 1.144 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/1.225, allocations: 235.7 kB / 1.144 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/1.242, allocations: 4.809 MB / 1.149 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/1.242, allocations: 2.906 kB / 1.149 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/1.243, allocations: 109.4 kB / 1.149 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003079/1.243, allocations: 172.9 kB / 1.149 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/1.259, allocations: 5.193 MB / 1.154 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/1.29, allocations: 14.48 MB / 1.168 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/1.3, allocations: 3.397 MB / 1.172 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/1.304, allocations: 1.461 MB / 1.173 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/1.305, allocations: 34.88 kB / 1.173 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/1.31, allocations: 1.794 MB / 1.175 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=163): time 4.598e-06/1.31, allocations: 0 / 1.175 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of matching and sorting (n=250): time 0.1266/1.436, allocations: 28.22 MB / 1.202 GB, free: 9.895 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002791/1.436, allocations: 0.4928 MB / 1.203 GB, free: 9.289 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/1.441, allocations: 2.296 MB / 1.205 GB, free: 6.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005345/1.441, allocations: 77.7 kB / 1.205 GB, free: 6.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00162/1.443, allocations: 1.442 MB / 1.207 GB, free: 5.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.444, allocations: 0.8163 MB / 1.207 GB, free: 4.613 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.446, allocations: 416.4 kB / 1.208 GB, free: 4.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.446, allocations: 305.1 kB / 1.208 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005567/1.451, allocations: 1.933 MB / 1.21 GB, free: 1.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005779/1.457, allocations: 2.227 MB / 1.212 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.469, allocations: 4.165 MB / 1.216 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.469, allocations: 8 kB / 1.216 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02016/1.489, allocations: 6.531 MB / 1.223 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.489, allocations: 148.8 kB / 1.223 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.489, allocations: 8 kB / 1.223 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.5, allocations: 2.949 MB / 1.226 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/1.503, allocations: 491.1 kB / 1.226 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04385/1.547, allocations: 18.86 MB / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.552, allocations: 327.5 kB / 1.245 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006244/1.552, allocations: 95.97 kB / 1.245 GB, free: 13.58 MB / 0.9669 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 (162): * Single equations (assignments): 155 * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002238/1.555, allocations: 0.7066 MB / 1.246 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.556, allocations: 332.1 kB / 1.246 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.557, allocations: 384.1 kB / 1.246 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.557, allocations: 24 kB / 1.246 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-05/1.557, allocations: 8 kB / 1.246 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.557, allocations: 16.14 kB / 1.246 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/1.563, allocations: 3.624 MB / 1.25 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.564, allocations: 7.938 kB / 1.25 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.566, allocations: 415.4 kB / 1.25 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/1.577, allocations: 2.892 MB / 1.253 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003971/1.577, allocations: 47.97 kB / 1.253 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04364/1.621, allocations: 18.62 MB / 1.271 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.621, allocations: 0 / 1.271 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/1.64, allocations: 6.169 MB / 1.277 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.643, allocations: 0.7 MB / 1.278 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/1.645, allocations: 47.98 kB / 1.278 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005442/1.65, allocations: 323.5 kB / 1.278 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/1.652, allocations: 354.7 kB / 1.279 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004447/1.653, allocations: 67.97 kB / 1.279 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003309/1.656, allocations: 1.536 MB / 1.28 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.656, allocations: 0 / 1.28 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004442/1.66, allocations: 1.039 MB / 1.281 GB, free: 7.875 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 (118): * Single equations (assignments): 106 * 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,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005902/1.661, allocations: 176.3 kB / 1.282 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02671/1.688, allocations: 7.304 MB / 1.289 GB, free: 304 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.688, allocations: 0 / 1.289 GB, free: 304 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01805/1.706, allocations: 4.052 MB / 1.293 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007374/1.713, allocations: 1.137 MB / 1.294 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.733, allocations: 8.226 MB / 1.302 GB, free: 2.863 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/1.737, allocations: 2.231 MB / 1.304 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.738, allocations: 203.4 kB / 1.304 GB, free: 412 kB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.738, allocations: 4 kB / 1.304 GB, free: 408 kB / 1.014 GB Notification: Performance of Templates: time 0.1305/1.869, allocations: 79.94 MB / 1.382 GB, free: 0.7812 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)