Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.000844, allocations: 92.41 kB / 16.67 MB, free: 6.594 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.0009254/0.0009256, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.342/1.342, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 115.5 MB / 408.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3783, allocations: 77.52 MB / 0.5606 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.00393/0.3823, allocations: 4.356 MB / 0.5648 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3845, allocations: 2.679 MB / 0.5674 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.3846, allocations: 2.875 kB / 0.5674 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.3848, allocations: 40.61 kB / 0.5675 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.385, allocations: 89.2 kB / 0.5676 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.386, allocations: 458 kB / 0.568 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3863, allocations: 307.5 kB / 0.5683 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.3863, allocations: 12.12 kB / 0.5683 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3865, allocations: 106.7 kB / 0.5684 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3867, allocations: 95.33 kB / 0.5685 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3867, allocations: 7.781 kB / 0.5685 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006125/0.3873, allocations: 378.1 kB / 0.5689 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.3874, allocations: 35.23 kB / 0.5689 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3875, allocations: 106.8 kB / 0.569 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.3879, allocations: 239 kB / 0.5692 GB, free: 29.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3879, allocations: 1.344 kB / 0.5692 GB, free: 29.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3879, allocations: 0 / 0.5692 GB, free: 29.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3879, allocations: 2.719 kB / 0.5692 GB, free: 29.52 MB / 446.1 MB 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.0005819/0.3885, allocations: 468.1 kB / 0.5697 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3885, allocations: 13.92 kB / 0.5697 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.3887, allocations: 26.94 kB / 0.5697 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.3889, allocations: 217.5 kB / 0.5699 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3889, allocations: 11.67 kB / 0.5699 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3889, allocations: 16 kB / 0.5699 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3892, allocations: 247.6 kB / 0.5702 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3893, allocations: 0 / 0.5702 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.3893, allocations: 7.812 kB / 0.5702 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.3893, allocations: 7.031 kB / 0.5702 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.3898, allocations: 441.9 kB / 0.5706 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.3908, allocations: 0.9437 MB / 0.5715 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.391, allocations: 167.9 kB / 0.5717 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.3911, allocations: 66.92 kB / 0.5718 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009412/0.3921, allocations: 1.823 MB / 0.5735 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3921, allocations: 34.81 kB / 0.5736 GB, free: 25.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.3921, allocations: 0 / 0.5736 GB, free: 25.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002952/0.3924, allocations: 157.5 kB / 0.5737 GB, free: 25.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3924, allocations: 57.31 kB / 0.5738 GB, free: 25.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3926, allocations: 174.2 kB / 0.574 GB, free: 25.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3926, allocations: 27.45 kB / 0.574 GB, free: 25.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.3927, allocations: 143.6 kB / 0.5741 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3927, allocations: 50.66 kB / 0.5742 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3927, allocations: 23.08 kB / 0.5742 GB, free: 25.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.3928, allocations: 328.2 kB / 0.5745 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.3929, allocations: 34.73 kB / 0.5745 GB, free: 24.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.393, allocations: 151.1 kB / 0.5747 GB, free: 24.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.3931, allocations: 192.2 kB / 0.5749 GB, free: 24.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3932, allocations: 2.5 kB / 0.5749 GB, free: 24.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000298/0.3935, allocations: 219 kB / 0.5751 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3935, allocations: 10.94 kB / 0.5751 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3935, allocations: 3.25 kB / 0.5751 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3935, allocations: 9.969 kB / 0.5751 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3937, allocations: 54.72 kB / 0.5751 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3937, allocations: 9.25 kB / 0.5752 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3938, allocations: 27.33 kB / 0.5752 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3938, allocations: 14.81 kB / 0.5752 GB, free: 24.34 MB / 446.1 MB 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 7.802e-05/0.3939, allocations: 132.7 kB / 0.5753 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.394, allocations: 21.48 kB / 0.5753 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.3942, allocations: 153.7 kB / 0.5755 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3943, allocations: 9.188 kB / 0.5755 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3943, allocations: 1.812 kB / 0.5755 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3943, allocations: 0.8906 kB / 0.5755 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.3945, allocations: 217.2 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3945, allocations: 0 / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-05/0.3946, allocations: 26.12 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3946, allocations: 3.25 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3946, allocations: 1.828 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3946, allocations: 5.031 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3946, allocations: 0.5625 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3948, allocations: 219.1 kB / 0.5759 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.3949, allocations: 112.9 kB / 0.5761 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3949, allocations: 1.75 kB / 0.5761 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3951, allocations: 26.33 kB / 0.5761 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.3952, allocations: 8.141 kB / 0.5761 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3952, allocations: 13.58 kB / 0.5761 GB, free: 23.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.851e-05/0.3953, allocations: 122.5 kB / 0.5762 GB, free: 23.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3953, allocations: 0.5625 kB / 0.5762 GB, free: 23.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00041/0.3957, allocations: 73.23 kB / 0.5763 GB, free: 23.5 MB / 446.1 MB 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.0003178/0.396, allocations: 189.1 kB / 0.5765 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3963, allocations: 116.1 kB / 0.5766 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3963, allocations: 1.031 kB / 0.5766 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.3963, allocations: 48.97 kB / 0.5766 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.3968, allocations: 52.09 kB / 0.5767 GB, free: 23.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.3974, allocations: 463 kB / 0.5771 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3976, allocations: 0.7192 MB / 0.5778 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.3976, allocations: 30.28 kB / 0.5779 GB, free: 22.34 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3976, allocations: 0 / 0.5779 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Templates: time 0.006092/0.4037, allocations: 3.15 MB / 0.5809 GB, free: 21.99 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)