Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") translateModel(BuildingSystems.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001391/0.001391, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 294.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9143/0.9143, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 100.3 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3592, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example3): time 0.03069/0.3899, allocations: 33.16 MB / 0.7994 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.4064, allocations: 12.32 MB / 0.8115 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.4077, allocations: 59.62 kB / 0.8115 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.4113, allocations: 1.531 MB / 0.813 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.4147, allocations: 1.726 MB / 0.8147 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.4179, allocations: 1.506 MB / 0.8162 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008993/0.4269, allocations: 7.8 MB / 0.8238 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.4293, allocations: 2.109 MB / 0.8258 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.4325, allocations: 1.946 MB / 0.8277 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.4341, allocations: 1.427 MB / 0.8291 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.4344, allocations: 152 kB / 0.8293 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.4368, allocations: 1.353 MB / 0.8306 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.4373, allocations: 0.5994 MB / 0.8312 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4384, allocations: 1.201 MB / 0.8324 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.442, allocations: 3.532 MB / 0.8358 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4421, allocations: 4 kB / 0.8358 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4421, allocations: 0 / 0.8358 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.4421, allocations: 0 / 0.8358 GB, free: 13.27 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004039/0.4461, allocations: 2.811 MB / 0.8386 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4462, allocations: 12.03 kB / 0.8386 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.4481, allocations: 436.6 kB / 0.839 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.4523, allocations: 2.763 MB / 0.8417 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.4524, allocations: 82 kB / 0.8418 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.4526, allocations: 104 kB / 0.8419 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4548, allocations: 1.325 MB / 0.8432 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.4548, allocations: 3.938 kB / 0.8432 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4549, allocations: 40 kB / 0.8432 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.455, allocations: 24 kB / 0.8432 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.457, allocations: 1.022 MB / 0.8442 GB, free: 4.426 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.007316/0.4644, allocations: 6.898 MB / 0.851 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.4658, allocations: 0.5898 MB / 0.8515 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.4665, allocations: 405.6 kB / 0.8519 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/0.469, allocations: 1.778 MB / 0.8537 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007975/0.4698, allocations: 359 kB / 0.854 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003649/0.4702, allocations: 95.09 kB / 0.8541 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.4702, allocations: 0 / 0.8541 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44): time 0.003638/0.4739, allocations: 1.371 MB / 0.8554 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.4739, allocations: 55.41 kB / 0.8555 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.4767, allocations: 2.387 MB / 0.8578 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.4768, allocations: 41.7 kB / 0.8578 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008046/0.4776, allocations: 0.9881 MB / 0.8588 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.4777, allocations: 157.8 kB / 0.859 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.4781, allocations: 298.6 kB / 0.8592 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4783, allocations: 361.9 kB / 0.8596 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009144/0.4792, allocations: 0.4978 MB / 0.8601 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.4804, allocations: 0.9892 MB / 0.861 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.4824, allocations: 1.339 MB / 0.8624 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.4824, allocations: 4 kB / 0.8624 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003298/0.4857, allocations: 1.811 MB / 0.8641 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.4858, allocations: 45.62 kB / 0.8642 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.4858, allocations: 8 kB / 0.8642 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/0.4865, allocations: 184.9 kB / 0.8644 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.4873, allocations: 227.6 kB / 0.8646 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006555/0.488, allocations: 0.7611 MB / 0.8653 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.4892, allocations: 83.86 kB / 0.8654 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.4893, allocations: 55.97 kB / 0.8654 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001528/0.4908, allocations: 1.025 MB / 0.8664 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001135/0.492, allocations: 0.9694 MB / 0.8674 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001767/0.4937, allocations: 1.295 MB / 0.8687 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.4938, allocations: 4 kB / 0.8687 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002844/0.4966, allocations: 1.794 MB / 0.8704 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.4967, allocations: 41.64 kB / 0.8705 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4967, allocations: 15.94 kB / 0.8705 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.4969, allocations: 116.8 kB / 0.8706 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/0.4977, allocations: 228 kB / 0.8708 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.4998, allocations: 2.324 MB / 0.8731 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.501, allocations: 84.02 kB / 0.8731 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/0.5011, allocations: 51.98 kB / 0.8732 GB, free: 5.074 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.5014, allocations: 252.5 kB / 0.8734 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.5017, allocations: 209.3 kB / 0.8736 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.5039, allocations: 1.041 MB / 0.8747 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.5056, allocations: 0.966 MB / 0.8756 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5056, allocations: 3.938 kB / 0.8756 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.5062, allocations: 362.2 kB / 0.8759 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.5064, allocations: 12 kB / 0.876 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/0.5072, allocations: 39.95 kB / 0.876 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.5073, allocations: 52.36 kB / 0.876 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002173/0.5095, allocations: 0.8787 MB / 0.8769 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002334/0.5119, allocations: 1.317 MB / 0.8782 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006455/0.5125, allocations: 307.2 kB / 0.8785 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002095/0.5146, allocations: 1.623 MB / 0.8801 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of Backend: time 4.61e-07/0.5146, allocations: 0 / 0.8801 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004643/0.5193, allocations: 2.321 MB / 0.8823 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of SimCode: time 0.007874/0.5272, allocations: 4.805 MB / 0.887 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of Templates: time 0.06708/0.5943, allocations: 43.48 MB / 0.9295 GB, free: 11.75 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)