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.001266/0.001266, allocations: 118.1 kB / 16.42 MB, free: 6.496 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.001292/0.001292, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 291.5 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.9126/0.9126, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 91.86 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3585, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005339/0.3639, allocations: 4.717 MB / 0.7717 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.3665, allocations: 2.699 MB / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.3666, allocations: 0 / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3669, allocations: 47.67 kB / 0.7744 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3671, allocations: 103.4 kB / 0.7745 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3681, allocations: 0.5088 MB / 0.775 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3684, allocations: 235.9 kB / 0.7752 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.3684, allocations: 13.56 kB / 0.7752 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3686, allocations: 123.6 kB / 0.7753 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3688, allocations: 87.61 kB / 0.7754 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.3688, allocations: 8 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.3694, allocations: 371.3 kB / 0.7758 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3695, allocations: 35.89 kB / 0.7758 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.3696, allocations: 79.66 kB / 0.7759 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.3701, allocations: 361.4 kB / 0.7762 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3701, allocations: 3.938 kB / 0.7762 GB, free: 10.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3701, allocations: 0 / 0.7762 GB, free: 10.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.3701, allocations: 4 kB / 0.7762 GB, free: 10.53 MB / 0.545 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.0006591/0.3708, allocations: 0.4992 MB / 0.7767 GB, free: 9.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3708, allocations: 8.031 kB / 0.7767 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.371, allocations: 28.73 kB / 0.7768 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3712, allocations: 212 kB / 0.777 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3713, allocations: 16.64 kB / 0.777 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3713, allocations: 12.38 kB / 0.777 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.3716, allocations: 256.1 kB / 0.7772 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3717, allocations: 0 / 0.7772 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.3717, allocations: 8 kB / 0.7772 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.3717, allocations: 15.92 kB / 0.7773 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.3722, allocations: 423.5 kB / 0.7777 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3732, allocations: 0.941 MB / 0.7786 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3735, allocations: 162.8 kB / 0.7787 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.3736, allocations: 68.88 kB / 0.7788 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.3748, allocations: 1.829 MB / 0.7806 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3749, allocations: 38.56 kB / 0.7806 GB, free: 5.453 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.3749, allocations: 0 / 0.7806 GB, free: 5.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003082/0.3752, allocations: 140.7 kB / 0.7808 GB, free: 5.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.3752, allocations: 63.34 kB / 0.7808 GB, free: 5.238 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3754, allocations: 163.3 kB / 0.781 GB, free: 5.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3754, allocations: 33.69 kB / 0.781 GB, free: 5.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.3755, allocations: 139.8 kB / 0.7811 GB, free: 4.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3755, allocations: 51.2 kB / 0.7812 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.3756, allocations: 57.59 kB / 0.7812 GB, free: 4.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3757, allocations: 322.8 kB / 0.7815 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.3758, allocations: 43.91 kB / 0.7816 GB, free: 4.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3759, allocations: 138.2 kB / 0.7817 GB, free: 4.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.3761, allocations: 201.5 kB / 0.7819 GB, free: 3.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.3761, allocations: 0 / 0.7819 GB, free: 3.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003114/0.3765, allocations: 217.1 kB / 0.7821 GB, free: 3.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3765, allocations: 8 kB / 0.7821 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3765, allocations: 0 / 0.7821 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.3765, allocations: 12.47 kB / 0.7821 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3767, allocations: 59.84 kB / 0.7822 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.3767, allocations: 11.94 kB / 0.7822 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3768, allocations: 27.69 kB / 0.7822 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3769, allocations: 12 kB / 0.7822 GB, free: 3.629 MB / 0.545 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.0001018/0.377, allocations: 129.7 kB / 0.7824 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.377, allocations: 19.75 kB / 0.7824 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3773, allocations: 158.3 kB / 0.7825 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3773, allocations: 0 / 0.7825 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3773, allocations: 3.938 kB / 0.7825 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.3774, allocations: 112.8 kB / 0.7827 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3775, allocations: 7.984 kB / 0.7827 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3777, allocations: 12 kB / 0.7827 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.3777, allocations: 7.984 kB / 0.7827 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002194/0.3779, allocations: 192.9 kB / 0.7829 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002445/0.3782, allocations: 302.4 kB / 0.7831 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.107e-05/0.3783, allocations: 43.97 kB / 0.7832 GB, free: 2.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.426e-05/0.3783, allocations: 121.8 kB / 0.7833 GB, free: 2.488 MB / 0.545 GB Notification: Performance of Backend: time 4.31e-07/0.3783, allocations: 0 / 0.7833 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007239/0.3791, allocations: 333 kB / 0.7836 GB, free: 2.156 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007462/0.3798, allocations: 0.7819 MB / 0.7844 GB, free: 1.328 MB / 0.545 GB Notification: Performance of Templates: time 0.008165/0.388, allocations: 4.741 MB / 0.789 GB, free: 12.62 MB / 0.5606 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)