Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009521/0.000952, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009676/0.0009676, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9526/0.9526, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 8 kB / 0.5158 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 83.42 MB / 0.5973 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.00419/0.15, allocations: 3.926 MB / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1522, allocations: 2.167 MB / 0.6032 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.1523, allocations: 7.938 kB / 0.6032 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.1526, allocations: 43.78 kB / 0.6033 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1528, allocations: 79.77 kB / 0.6033 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.1537, allocations: 434.2 kB / 0.6038 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1539, allocations: 144.7 kB / 0.6039 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.154, allocations: 17.55 kB / 0.6039 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.1541, allocations: 107.7 kB / 0.604 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1543, allocations: 71.75 kB / 0.6041 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1543, allocations: 8 kB / 0.6041 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.1549, allocations: 299.5 kB / 0.6044 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.155, allocations: 35.91 kB / 0.6044 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.155, allocations: 53.64 kB / 0.6045 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1553, allocations: 219.8 kB / 0.6047 GB, free: 228 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1553, allocations: 0 / 0.6047 GB, free: 228 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1554, allocations: 4 kB / 0.6047 GB, free: 224 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1554, allocations: 0 / 0.6047 GB, free: 224 kB / 0.4981 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.2726/0.4279, allocations: 465.8 kB / 0.6051 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.428, allocations: 8 kB / 0.6051 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.4283, allocations: 24.28 kB / 0.6052 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4285, allocations: 212.3 kB / 0.6054 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.4286, allocations: 14.95 kB / 0.6054 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.4286, allocations: 14.91 kB / 0.6054 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.429, allocations: 243.7 kB / 0.6056 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.429, allocations: 2.125 kB / 0.6056 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.429, allocations: 5.469 kB / 0.6056 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.4291, allocations: 7.188 kB / 0.6056 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.4295, allocations: 428.9 kB / 0.606 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008971/0.4304, allocations: 1.003 MB / 0.607 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.4307, allocations: 157.8 kB / 0.6072 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/0.4316, allocations: 1.845 MB / 0.609 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4316, allocations: 37.08 kB / 0.609 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.4316, allocations: 0.5938 kB / 0.609 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002912/0.4319, allocations: 144.4 kB / 0.6091 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.432, allocations: 54.31 kB / 0.6092 GB, free: 38.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.4321, allocations: 179.5 kB / 0.6094 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4321, allocations: 32.52 kB / 0.6094 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.4322, allocations: 140.9 kB / 0.6095 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.4322, allocations: 54.06 kB / 0.6096 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.4322, allocations: 2.938 kB / 0.6096 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.4323, allocations: 325 kB / 0.6099 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.4323, allocations: 35.06 kB / 0.6099 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.4324, allocations: 142 kB / 0.6101 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.4325, allocations: 59.33 kB / 0.6101 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4325, allocations: 2.875 kB / 0.6101 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002638/0.4328, allocations: 211.4 kB / 0.6103 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4328, allocations: 5.969 kB / 0.6103 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4328, allocations: 2.938 kB / 0.6103 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4329, allocations: 9.297 kB / 0.6103 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.433, allocations: 60.12 kB / 0.6104 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4331, allocations: 5.875 kB / 0.6104 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4332, allocations: 34.08 kB / 0.6104 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.4332, allocations: 16.2 kB / 0.6105 GB, free: 37.99 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.4333, allocations: 132 kB / 0.6106 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.4333, allocations: 16.25 kB / 0.6106 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4336, allocations: 159.2 kB / 0.6107 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4336, allocations: 3.25 kB / 0.6108 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4336, allocations: 0 / 0.6108 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4336, allocations: 2.25 kB / 0.6108 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4338, allocations: 217.9 kB / 0.611 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4338, allocations: 0 / 0.611 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.434, allocations: 32.7 kB / 0.611 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.434, allocations: 10.59 kB / 0.611 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.434, allocations: 0.5625 kB / 0.611 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.434, allocations: 3.438 kB / 0.611 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.434, allocations: 0.8125 kB / 0.611 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.4342, allocations: 221.2 kB / 0.6112 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.4343, allocations: 118.6 kB / 0.6113 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.4343, allocations: 7.391 kB / 0.6113 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4345, allocations: 16.72 kB / 0.6114 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.4345, allocations: 19.11 kB / 0.6114 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4346, allocations: 12.75 kB / 0.6114 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.4346, allocations: 119.8 kB / 0.6115 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4346, allocations: 0 / 0.6115 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003838/0.435, allocations: 81.59 kB / 0.6116 GB, free: 37.29 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/0.4352, allocations: 168 kB / 0.6117 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.4354, allocations: 125.2 kB / 0.6119 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4355, allocations: 0 / 0.6119 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.4355, allocations: 45.11 kB / 0.6119 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4359, allocations: 52.98 kB / 0.6119 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.4364, allocations: 432.2 kB / 0.6124 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.4366, allocations: 0.7137 MB / 0.6131 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.4368, allocations: 54.36 kB / 0.6131 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.4368, allocations: 22.31 kB / 0.6131 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.4368, allocations: 0 / 0.6131 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.005724/0.4425, allocations: 3.26 MB / 0.6163 GB, free: 35.92 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: