Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001725/0.001726, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 278.5 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 92.94 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1695, allocations: 86.98 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001664/0.1712, allocations: 0.5819 MB / 0.6802 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000147/0.1714, allocations: 40.33 kB / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.1715, allocations: 0 / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.1715, allocations: 0.5625 kB / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1716, allocations: 13.84 kB / 0.6802 GB, free: 476 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.209e-05/0.1717, allocations: 3.984 kB / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.1718, allocations: 11.98 kB / 0.6803 GB, free: 460 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.1718, allocations: 0 / 0.6803 GB, free: 460 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.1719, allocations: 11.98 kB / 0.6803 GB, free: 448 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.1719, allocations: 11.94 kB / 0.6803 GB, free: 436 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1719, allocations: 0 / 0.6803 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.172, allocations: 0 / 0.6803 GB, free: 436 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.172, allocations: 4 kB / 0.6803 GB, free: 432 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.172, allocations: 11.86 kB / 0.6803 GB, free: 420 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 5.158e-05/0.1721, allocations: 11.98 kB / 0.6803 GB, free: 408 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1721, allocations: 4 kB / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1721, allocations: 0 / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1721, allocations: 0 / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005896/0.1727, allocations: 335.7 kB / 0.6806 GB, free: 16 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1727, allocations: 11.97 kB / 0.6806 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1728, allocations: 4.938 kB / 0.6806 GB, free: 0 / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.173, allocations: 172.4 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.173, allocations: 384 / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.173, allocations: 4.312 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.858e-05/0.1731, allocations: 30.27 kB / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1731, allocations: 192 / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.1731, allocations: 3.938 kB / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.1731, allocations: 11.98 kB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.1732, allocations: 11.92 kB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.1734, allocations: 157.6 kB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.1734, allocations: 18.58 kB / 0.681 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.1734, allocations: 12.92 kB / 0.681 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1734, allocations: 0 / 0.681 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1735, allocations: 30.56 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.1735, allocations: 4 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.1736, allocations: 57.55 kB / 0.6811 GB, free: 15.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1737, allocations: 51.41 kB / 0.6812 GB, free: 15.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.1737, allocations: 105.8 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1738, allocations: 29.7 kB / 0.6813 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1739, allocations: 84.14 kB / 0.6814 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1739, allocations: 0 / 0.6814 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1739, allocations: 13.72 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1741, allocations: 319 kB / 0.6817 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.1741, allocations: 8 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.1742, allocations: 13.72 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.1742, allocations: 25.64 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1742, allocations: 0 / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.73e-05/0.1743, allocations: 53.69 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1743, allocations: 4 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1743, allocations: 3.938 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1743, allocations: 0 / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.1744, allocations: 4 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1744, allocations: 3.938 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.1744, allocations: 7.984 kB / 0.6818 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1745, allocations: 0 / 0.6818 GB, free: 14.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.1745, allocations: 115.1 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.1745, allocations: 32 / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.1746, allocations: 57.16 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1746, allocations: 0 / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1747, allocations: 0 / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1747, allocations: 3.984 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1748, allocations: 153.7 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1748, allocations: 0 / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.1748, allocations: 4 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1748, allocations: 0 / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1748, allocations: 7.875 kB / 0.6822 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1749, allocations: 11.97 kB / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1749, allocations: 256 / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.175, allocations: 81.02 kB / 0.6822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1751, allocations: 81.14 kB / 0.6823 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1751, allocations: 7.938 kB / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.1751, allocations: 0 / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.1751, allocations: 3.984 kB / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.1751, allocations: 96 / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.1752, allocations: 91.28 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1752, allocations: 0 / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001739/0.1754, allocations: 4 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000102/0.1755, allocations: 99.23 kB / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.37e-05/0.1756, allocations: 11.94 kB / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1756, allocations: 0 / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.1756, allocations: 16.11 kB / 0.6825 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1757, allocations: 6.25 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1761, allocations: 121.8 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.1766, allocations: 0.6807 MB / 0.6833 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.77e-05/0.1766, allocations: 0 / 0.6833 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.1767, allocations: 11.44 kB / 0.6833 GB, free: 12.89 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1767, allocations: 0 / 0.6833 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Templates: time 0.002449/0.1791, allocations: 324.6 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)