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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7284/0.7284, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 180.8 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.0009441, allocations: 94.41 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.34e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1781, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.563, allocations: 339.6 MB / 0.9532 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.563, allocations: 72.86 kB / 0.9533 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04056/1.604, allocations: 19.41 MB / 0.9722 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/1.604, allocations: 0 / 0.9722 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.167e-06/1.604, allocations: 0 / 0.9722 GB, free: 164.4 MB / 0.6355 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.0006408/1.605, allocations: 474.2 kB / 0.9727 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.605, allocations: 12.03 kB / 0.9727 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/1.605, allocations: 23.77 kB / 0.9727 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/1.605, allocations: 210 kB / 0.9729 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.605, allocations: 8 kB / 0.9729 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.605, allocations: 8 kB / 0.9729 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003977/1.605, allocations: 411.1 kB / 0.9733 GB, free: 163.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/1.606, allocations: 211.1 kB / 0.9735 GB, free: 163.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.606, allocations: 3.984 kB / 0.9735 GB, free: 163.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.606, allocations: 3.938 kB / 0.9735 GB, free: 163.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/1.606, allocations: 15.95 kB / 0.9736 GB, free: 163.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/1.607, allocations: 0.9864 MB / 0.9745 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/1.607, allocations: 141.8 kB / 0.9747 GB, free: 162 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/1.607, allocations: 49.45 kB / 0.9747 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.608, allocations: 1.935 MB / 0.9766 GB, free: 159.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/1.608, allocations: 34.56 kB / 0.9766 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/1.608, allocations: 0 / 0.9766 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004788/1.609, allocations: 135.9 kB / 0.9768 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/1.609, allocations: 59.41 kB / 0.9768 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/1.609, allocations: 129 kB / 0.9769 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.609, allocations: 25.7 kB / 0.977 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/1.609, allocations: 147.2 kB / 0.9771 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/1.609, allocations: 46.7 kB / 0.9771 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/1.609, allocations: 0 / 0.9771 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.098e-05/1.609, allocations: 326 kB / 0.9775 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/1.609, allocations: 27 kB / 0.9775 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/1.609, allocations: 132.7 kB / 0.9776 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.609, allocations: 82.69 kB / 0.9777 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.609, allocations: 0 / 0.9777 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000406/1.61, allocations: 206.4 kB / 0.9779 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.61, allocations: 7.953 kB / 0.9779 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.61, allocations: 4 kB / 0.9779 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.61, allocations: 8.469 kB / 0.9779 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.61, allocations: 67.66 kB / 0.978 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.61, allocations: 4 kB / 0.978 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/1.61, allocations: 23.69 kB / 0.978 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/1.61, allocations: 15.98 kB / 0.978 GB, free: 158.2 MB / 0.6355 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 () * 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 6.639e-05/1.61, allocations: 112.6 kB / 0.9781 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003309/1.611, allocations: 124.8 kB / 0.9782 GB, free: 158 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/1.611, allocations: 19.77 kB / 0.9783 GB, free: 158 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/1.611, allocations: 172.2 kB / 0.9784 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.611, allocations: 7.984 kB / 0.9784 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.611, allocations: 0 / 0.9784 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.611, allocations: 0 / 0.9784 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/1.611, allocations: 188.8 kB / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.611, allocations: 0 / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.611, allocations: 27.98 kB / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.611, allocations: 0 / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.611, allocations: 11.33 kB / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.611, allocations: 3.938 kB / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.611, allocations: 4 kB / 0.9786 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/1.612, allocations: 229 kB / 0.9789 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/1.612, allocations: 120 kB / 0.979 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.612, allocations: 0 / 0.979 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/1.612, allocations: 7.953 kB / 0.979 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/1.612, allocations: 7.984 kB / 0.979 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/1.612, allocations: 15.8 kB / 0.979 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.449e-05/1.612, allocations: 105.8 kB / 0.9791 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.612, allocations: 0 / 0.9791 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003707/1.613, allocations: 71.59 kB / 0.9792 GB, free: 157 MB / 0.6355 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 () * 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.0006994/1.613, allocations: 0.8508 MB / 0.98 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001805/1.613, allocations: 102.6 kB / 0.9801 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.613, allocations: 0 / 0.9801 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/1.614, allocations: 41.69 kB / 0.9801 GB, free: 156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/1.614, allocations: 32.8 kB / 0.9802 GB, free: 156 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/1.614, allocations: 235.2 kB / 0.9804 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/1.615, allocations: 0.7167 MB / 0.9811 GB, free: 155 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001544/1.615, allocations: 41.66 kB / 0.9811 GB, free: 155 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/1.615, allocations: 42.17 kB / 0.9812 GB, free: 155 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/1.615, allocations: 4 kB / 0.9812 GB, free: 155 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/1.641, allocations: 4.076 MB / 0.9852 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.641, allocations: 139.5 kB / 0.9853 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/3.372, allocations: 4 kB / 0.9853 GB, free: 150.7 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)