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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007255/0.0007256, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0007926/0.0007926, allocations: 172.7 kB / 15.95 MB, free: 192 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.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.041/1.041, allocations: 143.4 MB / 434.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 19.98 kB / 0.5161 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 83.42 MB / 0.5975 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.00502/0.1661, allocations: 4.202 MB / 0.6016 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.1687, allocations: 2.49 MB / 0.6041 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1689, allocations: 0 / 0.6041 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1691, allocations: 31.81 kB / 0.6041 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1694, allocations: 91.41 kB / 0.6042 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1705, allocations: 412.2 kB / 0.6046 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1708, allocations: 263.9 kB / 0.6048 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1709, allocations: 17.47 kB / 0.6048 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1711, allocations: 107.6 kB / 0.6049 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1712, allocations: 87.66 kB / 0.605 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1713, allocations: 11.98 kB / 0.605 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2883/0.4595, allocations: 265.9 kB / 0.6053 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.4597, allocations: 37.98 kB / 0.6053 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.4597, allocations: 51.11 kB / 0.6054 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.4601, allocations: 219.1 kB / 0.6056 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4601, allocations: 0.75 kB / 0.6056 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4601, allocations: 0 / 0.6056 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.4601, allocations: 0 / 0.6056 GB, free: 35.88 MB / 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.0005522/0.4607, allocations: 484.4 kB / 0.606 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4607, allocations: 9.656 kB / 0.6061 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.4608, allocations: 52.69 kB / 0.6061 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.4609, allocations: 24.39 kB / 0.6061 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.4611, allocations: 212.7 kB / 0.6063 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4611, allocations: 13.19 kB / 0.6063 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4611, allocations: 14.75 kB / 0.6064 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.4615, allocations: 244.1 kB / 0.6066 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4615, allocations: 0 / 0.6066 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.4615, allocations: 7.094 kB / 0.6066 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.4615, allocations: 7.812 kB / 0.6066 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.4619, allocations: 426.3 kB / 0.607 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.4627, allocations: 0.9615 MB / 0.608 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.4629, allocations: 157.8 kB / 0.6081 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.463, allocations: 65.27 kB / 0.6082 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.4638, allocations: 1.821 MB / 0.6099 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4639, allocations: 35.12 kB / 0.61 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4639, allocations: 0 / 0.61 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002674/0.4641, allocations: 152 kB / 0.6101 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.4642, allocations: 52.88 kB / 0.6102 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4643, allocations: 178.3 kB / 0.6103 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4643, allocations: 28.67 kB / 0.6104 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.4644, allocations: 140.4 kB / 0.6105 GB, free: 32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.4644, allocations: 49.64 kB / 0.6106 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.4644, allocations: 9.875 kB / 0.6106 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.4645, allocations: 327.5 kB / 0.6109 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.4645, allocations: 36.55 kB / 0.6109 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.4646, allocations: 139.8 kB / 0.611 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.4647, allocations: 58.45 kB / 0.6111 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4647, allocations: 0 / 0.6111 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002489/0.465, allocations: 213.1 kB / 0.6113 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.465, allocations: 5.938 kB / 0.6113 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.465, allocations: 4.125 kB / 0.6113 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.465, allocations: 6.906 kB / 0.6113 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.4652, allocations: 58.5 kB / 0.6114 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4652, allocations: 7.469 kB / 0.6114 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4653, allocations: 29.94 kB / 0.6114 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.4653, allocations: 16.3 kB / 0.6114 GB, free: 31.46 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 7.412e-05/0.4654, allocations: 135.1 kB / 0.6116 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.4655, allocations: 20.27 kB / 0.6116 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.4657, allocations: 155.8 kB / 0.6117 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.4657, allocations: 6.516 kB / 0.6117 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4658, allocations: 3.953 kB / 0.6117 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4658, allocations: 0 / 0.6117 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4659, allocations: 210.2 kB / 0.6119 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.466, allocations: 0 / 0.6119 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.466, allocations: 28.3 kB / 0.612 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.466, allocations: 6.906 kB / 0.612 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4661, allocations: 6.75 kB / 0.612 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4661, allocations: 3.062 kB / 0.612 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4661, allocations: 0.5 kB / 0.612 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.4662, allocations: 226.6 kB / 0.6122 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.4663, allocations: 111 kB / 0.6123 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4663, allocations: 0 / 0.6123 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.4665, allocations: 26.52 kB / 0.6123 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.4666, allocations: 8.703 kB / 0.6123 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.4666, allocations: 15.39 kB / 0.6123 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.4666, allocations: 120.1 kB / 0.6125 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4667, allocations: 2.844 kB / 0.6125 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004323/0.4671, allocations: 82.23 kB / 0.6125 GB, free: 30.75 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.0004329/0.4675, allocations: 0.8176 MB / 0.6133 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.4677, allocations: 121.8 kB / 0.6135 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4677, allocations: 6.219 kB / 0.6135 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.4678, allocations: 41.7 kB / 0.6135 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4682, allocations: 49.31 kB / 0.6135 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4694, allocations: 1.012 MB / 0.6145 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.4696, allocations: 0.7154 MB / 0.6152 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.4697, allocations: 52.33 kB / 0.6153 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.4698, allocations: 43.23 kB / 0.6153 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4698, allocations: 3.938 kB / 0.6153 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.4837, allocations: 4.877 MB / 0.6201 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001145/0.4838, allocations: 192.4 kB / 0.6203 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.269, allocations: 0 / 0.6203 GB, free: 28.11 MB / 0.4981 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) Environment - environmentSimulation: