Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005171/0.005171, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001074/0.001074, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 279.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 91.84 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1525, allocations: 86.97 MB / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005453/0.158, allocations: 4.72 MB / 0.771 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1606, allocations: 2.698 MB / 0.7737 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1608, allocations: 0 / 0.7737 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.1611, allocations: 51.67 kB / 0.7737 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1614, allocations: 91.36 kB / 0.7738 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1624, allocations: 0.5152 MB / 0.7743 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1627, allocations: 228 kB / 0.7745 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1627, allocations: 9.562 kB / 0.7745 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3012/0.4639, allocations: 117.1 kB / 0.7746 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.4641, allocations: 88.17 kB / 0.7747 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.4642, allocations: 8.031 kB / 0.7747 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.4651, allocations: 365.7 kB / 0.7751 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.4651, allocations: 37.78 kB / 0.7751 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4653, allocations: 85.03 kB / 0.7752 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.4659, allocations: 364.8 kB / 0.7755 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4659, allocations: 0 / 0.7755 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4659, allocations: 0 / 0.7755 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4659, allocations: 3.406 kB / 0.7755 GB, free: 9.164 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005993/0.4665, allocations: 0.5005 MB / 0.776 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.4666, allocations: 9.531 kB / 0.776 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4667, allocations: 23.42 kB / 0.7761 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.467, allocations: 219 kB / 0.7763 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.467, allocations: 15.02 kB / 0.7763 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.467, allocations: 14.7 kB / 0.7763 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.4674, allocations: 251.8 kB / 0.7765 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4674, allocations: 2.219 kB / 0.7765 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4674, allocations: 6.656 kB / 0.7765 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.4674, allocations: 10.27 kB / 0.7766 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.4679, allocations: 435 kB / 0.777 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.4689, allocations: 0.9506 MB / 0.7779 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.4692, allocations: 165.3 kB / 0.7781 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.4693, allocations: 61.84 kB / 0.7781 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.4703, allocations: 1.832 MB / 0.7799 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4704, allocations: 37.16 kB / 0.7799 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.4704, allocations: 0.7188 kB / 0.7799 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003195/0.4707, allocations: 143.5 kB / 0.7801 GB, free: 21.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4708, allocations: 61.22 kB / 0.7801 GB, free: 21.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4709, allocations: 173.8 kB / 0.7803 GB, free: 21.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4709, allocations: 28.53 kB / 0.7803 GB, free: 21.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.471, allocations: 141.9 kB / 0.7805 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.471, allocations: 56.05 kB / 0.7805 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.4711, allocations: 55.53 kB / 0.7806 GB, free: 21.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4712, allocations: 329.9 kB / 0.7809 GB, free: 20.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.4713, allocations: 34.41 kB / 0.7809 GB, free: 20.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.4714, allocations: 138.6 kB / 0.7811 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4716, allocations: 194.2 kB / 0.7812 GB, free: 20.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4716, allocations: 4.906 kB / 0.7812 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000315/0.4719, allocations: 217.8 kB / 0.7814 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4719, allocations: 6.812 kB / 0.7815 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.472, allocations: 3.25 kB / 0.7815 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.472, allocations: 6.5 kB / 0.7815 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4721, allocations: 58.94 kB / 0.7815 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4722, allocations: 10.88 kB / 0.7815 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4723, allocations: 30.03 kB / 0.7816 GB, free: 20.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4723, allocations: 15.77 kB / 0.7816 GB, free: 20.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001075/0.4724, allocations: 126 kB / 0.7817 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.4725, allocations: 16.44 kB / 0.7817 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.4728, allocations: 157.5 kB / 0.7819 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4728, allocations: 6.453 kB / 0.7819 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4728, allocations: 3.938 kB / 0.7819 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4728, allocations: 2.312 kB / 0.7819 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.473, allocations: 225.4 kB / 0.7821 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4731, allocations: 0.6094 kB / 0.7821 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.4732, allocations: 21.81 kB / 0.7821 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4732, allocations: 3.219 kB / 0.7821 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4732, allocations: 6.391 kB / 0.7821 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4732, allocations: 1.625 kB / 0.7821 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4732, allocations: 4.844 kB / 0.7821 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4734, allocations: 224.2 kB / 0.7823 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.4735, allocations: 107.2 kB / 0.7824 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4736, allocations: 2.547 kB / 0.7824 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.4738, allocations: 12.7 kB / 0.7825 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.4738, allocations: 17.33 kB / 0.7825 GB, free: 19.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.4738, allocations: 12.5 kB / 0.7825 GB, free: 19.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.632e-05/0.4739, allocations: 126.6 kB / 0.7826 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4739, allocations: 4 kB / 0.7826 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004001/0.4743, allocations: 74.94 kB / 0.7827 GB, free: 19.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002875/0.4746, allocations: 185.8 kB / 0.7829 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4748, allocations: 121.8 kB / 0.783 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4749, allocations: 1.156 kB / 0.783 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.4749, allocations: 43.55 kB / 0.783 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.4754, allocations: 56.86 kB / 0.7831 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.476, allocations: 340 kB / 0.7834 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.4762, allocations: 0.7131 MB / 0.7841 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.4764, allocations: 48.25 kB / 0.7841 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.4764, allocations: 26.12 kB / 0.7842 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.4764, allocations: 0 / 0.7842 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.006456/0.4829, allocations: 3.44 MB / 0.7875 GB, free: 18.58 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)