Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 116.2 kB / 16.42 MB, free: 6.02 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.001456/0.001456, allocations: 187.2 kB / 17.35 MB, free: 5.633 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 292 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9269/0.9269, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 99.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3701, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example2): time 0.02653/0.3967, allocations: 30.01 MB / 0.7963 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.4119, allocations: 11.75 MB / 0.8078 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.4132, allocations: 47.75 kB / 0.8079 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.4168, allocations: 1.486 MB / 0.8093 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.4203, allocations: 1.621 MB / 0.8109 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.4233, allocations: 1.464 MB / 0.8123 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00771/0.431, allocations: 6.731 MB / 0.8189 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.4326, allocations: 1.4 MB / 0.8203 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.4351, allocations: 1.517 MB / 0.8218 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.4363, allocations: 1.104 MB / 0.8228 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.4365, allocations: 128 kB / 0.823 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.4388, allocations: 1.31 MB / 0.8242 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004303/0.4392, allocations: 0.5334 MB / 0.8248 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008289/0.44, allocations: 0.9716 MB / 0.8257 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.4432, allocations: 3.038 MB / 0.8287 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4432, allocations: 3.984 kB / 0.8287 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4432, allocations: 0 / 0.8287 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.4433, allocations: 0 / 0.8287 GB, free: 4.59 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00336/0.4466, allocations: 2.366 MB / 0.831 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4467, allocations: 8.031 kB / 0.831 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.4485, allocations: 381.2 kB / 0.8314 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.452, allocations: 2.399 MB / 0.8337 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.452, allocations: 70 kB / 0.8338 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.4522, allocations: 95.92 kB / 0.8339 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4539, allocations: 1.009 MB / 0.8348 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.4539, allocations: 0 / 0.8348 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.454, allocations: 39.94 kB / 0.8349 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.454, allocations: 16 kB / 0.8349 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.4557, allocations: 0.7532 MB / 0.8356 GB, free: 13.28 MB / 0.6075 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.005493/0.4612, allocations: 5.243 MB / 0.8408 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.4625, allocations: 0.5612 MB / 0.8413 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.4632, allocations: 316.7 kB / 0.8416 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001978/0.4652, allocations: 1.658 MB / 0.8432 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.4659, allocations: 327.4 kB / 0.8435 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002403/0.4661, allocations: 59.36 kB / 0.8436 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.4661, allocations: 0 / 0.8436 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.0032/0.4694, allocations: 1.226 MB / 0.8448 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.4694, allocations: 55.41 kB / 0.8448 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.4715, allocations: 1.877 MB / 0.8467 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.4716, allocations: 37.7 kB / 0.8467 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/0.4722, allocations: 0.7832 MB / 0.8475 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4723, allocations: 149.9 kB / 0.8476 GB, free: 396 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.4726, allocations: 274.3 kB / 0.8479 GB, free: 116 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4728, allocations: 361.9 kB / 0.8482 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008186/0.4736, allocations: 460.9 kB / 0.8487 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.4746, allocations: 0.8314 MB / 0.8495 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.4763, allocations: 1.165 MB / 0.8506 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4763, allocations: 4 kB / 0.8506 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002766/0.4791, allocations: 1.588 MB / 0.8522 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.4792, allocations: 41.69 kB / 0.8522 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4792, allocations: 8 kB / 0.8522 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.4798, allocations: 201 kB / 0.8524 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/0.4805, allocations: 195.7 kB / 0.8526 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006821/0.4812, allocations: 0.7668 MB / 0.8533 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/0.4821, allocations: 64.02 kB / 0.8534 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.4822, allocations: 51.98 kB / 0.8535 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/0.4834, allocations: 0.8613 MB / 0.8543 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009561/0.4844, allocations: 0.8222 MB / 0.8551 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001496/0.4859, allocations: 1.121 MB / 0.8562 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.4859, allocations: 4 kB / 0.8562 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002372/0.4883, allocations: 1.58 MB / 0.8577 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4883, allocations: 34.3 kB / 0.8578 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.4883, allocations: 16 kB / 0.8578 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.4885, allocations: 104.8 kB / 0.8579 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.4892, allocations: 191.7 kB / 0.8581 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.4912, allocations: 2.364 MB / 0.8604 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.4921, allocations: 72.06 kB / 0.8604 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.4922, allocations: 51.98 kB / 0.8605 GB, free: 2.375 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.4924, allocations: 243.4 kB / 0.8607 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.4926, allocations: 169.8 kB / 0.8609 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.4945, allocations: 0.9041 MB / 0.8618 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/0.496, allocations: 0.8958 MB / 0.8626 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.496, allocations: 3.938 kB / 0.8627 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.4964, allocations: 314.9 kB / 0.863 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4966, allocations: 4 kB / 0.863 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.4972, allocations: 43.95 kB / 0.863 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4974, allocations: 48.47 kB / 0.863 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001958/0.4993, allocations: 0.824 MB / 0.8639 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002042/0.5014, allocations: 1.178 MB / 0.865 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005893/0.502, allocations: 271.3 kB / 0.8653 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001501/0.5035, allocations: 1.269 MB / 0.8665 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of Backend: time 3.5e-07/0.5035, allocations: 4 kB / 0.8665 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004173/0.5077, allocations: 2.187 MB / 0.8686 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of SimCode: time 0.005701/0.5134, allocations: 3.976 MB / 0.8725 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of Templates: time 0.05321/0.5666, allocations: 36.85 MB / 0.9085 GB, free: 1.418 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)