Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.28 kB / 0.912 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3542, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07206/0.4263, allocations: 72.78 MB / 1.139 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0294/0.4557, allocations: 18.81 MB / 1.158 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003761/0.4595, allocations: 91.5 kB / 1.158 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.009255/0.4688, allocations: 4.253 MB / 1.162 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.4764, allocations: 2.421 MB / 1.164 GB, free: 7.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00591/0.4823, allocations: 2.076 MB / 1.166 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01433/0.4966, allocations: 10.82 MB / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009567/0.5062, allocations: 6.137 MB / 1.183 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008497/0.5147, allocations: 3.234 MB / 1.186 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.52, allocations: 2.54 MB / 1.188 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.5213, allocations: 260 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005409/0.5267, allocations: 1.545 MB / 1.19 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.5285, allocations: 0.8951 MB / 1.191 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004722/0.5333, allocations: 1.955 MB / 1.193 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009446/0.5427, allocations: 5.245 MB / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5428, allocations: 0 / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5428, allocations: 0 / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002167/0.543, allocations: 4 kB / 1.198 GB, free: 4.918 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01084/0.5538, allocations: 4.346 MB / 1.202 GB, free: 496 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5539, allocations: 12.03 kB / 1.202 GB, free: 484 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.5573, allocations: 0.6706 MB / 1.203 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/0.5647, allocations: 3.633 MB / 1.207 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.5649, allocations: 143.8 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005473/0.5654, allocations: 184 kB / 1.207 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.5703, allocations: 2.363 MB / 1.209 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/0.5704, allocations: 7.938 kB / 1.209 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.5706, allocations: 72 kB / 1.209 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.5706, allocations: 43.98 kB / 1.209 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/0.5748, allocations: 1.915 MB / 1.211 GB, free: 7.219 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.5917, allocations: 11.53 MB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.5947, allocations: 1.358 MB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.5964, allocations: 1.017 MB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006818/0.6032, allocations: 3.718 MB / 1.228 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.6048, allocations: 0.7779 MB / 1.229 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001461/0.6063, allocations: 238.7 kB / 1.229 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=94): time 7.344e-06/0.6063, allocations: 0 / 1.229 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94): time 0.01238/0.6187, allocations: 4.253 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.6188, allocations: 64.41 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/0.6246, allocations: 3.451 MB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.6248, allocations: 61.7 kB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.6264, allocations: 1.578 MB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.6268, allocations: 335.3 kB / 1.239 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007569/0.6276, allocations: 459.4 kB / 1.239 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.6277, allocations: 305.1 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.6294, allocations: 0.8683 MB / 1.24 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.6316, allocations: 1.678 MB / 1.242 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.6352, allocations: 2.263 MB / 1.244 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.6352, allocations: 8 kB / 1.244 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007061/0.6423, allocations: 3.345 MB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.6423, allocations: 46.78 kB / 1.248 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/0.6424, allocations: 16.84 kB / 1.248 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.555/1.197, allocations: 0.6796 MB / 1.248 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.199, allocations: 360.2 kB / 1.249 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.201, allocations: 1.904 MB / 1.25 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/1.204, allocations: 125.3 kB / 1.251 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/1.204, allocations: 97.16 kB / 1.251 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003414/1.208, allocations: 1.586 MB / 1.252 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001899/1.209, allocations: 1.647 MB / 1.254 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00306/1.213, allocations: 2.208 MB / 1.256 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.898e-06/1.213, allocations: 5.25 kB / 1.256 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005086/1.218, allocations: 3.229 MB / 1.259 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.218, allocations: 36.2 kB / 1.259 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.218, allocations: 19.58 kB / 1.259 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007961/1.218, allocations: 478.2 kB / 1.26 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.22, allocations: 343.6 kB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/1.226, allocations: 6.336 MB / 1.266 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.228, allocations: 137.9 kB / 1.266 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/1.228, allocations: 90.95 kB / 1.266 GB, free: 165.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004903/1.229, allocations: 296.7 kB / 1.267 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/1.229, allocations: 334.8 kB / 1.267 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/1.235, allocations: 2.468 MB / 1.269 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.235, allocations: 14.5 kB / 1.269 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.235, allocations: 0 / 1.269 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/1.238, allocations: 2.092 MB / 1.271 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007752/1.246, allocations: 4.577 MB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.246, allocations: 2.062 kB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/1.247, allocations: 171.5 kB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.248, allocations: 486.7 kB / 1.277 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/1.248, allocations: 37.84 kB / 1.277 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/1.25, allocations: 1.85 MB / 1.278 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.25, allocations: 0 / 1.278 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006065/1.256, allocations: 3.192 MB / 1.282 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.257, allocations: 0.5336 MB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/1.257, allocations: 25.72 kB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.259, allocations: 77.66 kB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.259, allocations: 78.33 kB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-05/1.259, allocations: 49.22 kB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003445/1.262, allocations: 2.343 MB / 1.285 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.262, allocations: 0 / 1.285 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003836/1.266, allocations: 1.513 MB / 1.286 GB, free: 157.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.267, allocations: 0.5928 MB / 1.287 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007046/1.274, allocations: 3.988 MB / 1.291 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.274, allocations: 0 / 1.291 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.276, allocations: 0.8053 MB / 1.291 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/1.281, allocations: 1.457 MB / 1.293 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/1.29, allocations: 6.02 MB / 1.299 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.292, allocations: 2.235 MB / 1.301 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002999/1.295, allocations: 0.8375 MB / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/1.295, allocations: 253.2 kB / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.295, allocations: 0 / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of Templates: time 0.0819/1.377, allocations: 62.43 MB / 1.363 GB, free: 91.55 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)