Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.0009934/0.0009933, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001065/0.001065, allocations: 177.3 kB / 15.94 MB, free: 228 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.375/1.375, 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 1.056/1.056, allocations: 143.3 MB / 434.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 12 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 83.41 MB / 0.5974 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3415/0.5102, allocations: 11.16 MB / 0.6083 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.5125, allocations: 2.135 MB / 0.6103 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.5127, allocations: 7.25 kB / 0.6103 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.5129, allocations: 33.91 kB / 0.6104 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.5132, allocations: 81.84 kB / 0.6105 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5144, allocations: 430.5 kB / 0.6109 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.5146, allocations: 149.5 kB / 0.611 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.5146, allocations: 13.88 kB / 0.611 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008607/0.5233, allocations: 4.309 MB / 0.6152 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.5235, allocations: 70.27 kB / 0.6153 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.5235, allocations: 6.062 kB / 0.6153 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.5262, allocations: 1 MB / 0.6163 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.5262, allocations: 44.59 kB / 0.6163 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.5263, allocations: 56.61 kB / 0.6164 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.5268, allocations: 230.1 kB / 0.6166 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5268, allocations: 0 / 0.6166 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5268, allocations: 0 / 0.6166 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5268, allocations: 0 / 0.6166 GB, free: 34.84 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.0005982/0.5274, allocations: 469.5 kB / 0.617 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5275, allocations: 11.59 kB / 0.6171 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.5275, allocations: 49.7 kB / 0.6171 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.5277, allocations: 22.31 kB / 0.6171 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.5279, allocations: 227 kB / 0.6173 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5279, allocations: 13.33 kB / 0.6174 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.5279, allocations: 15.59 kB / 0.6174 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.5283, allocations: 236.2 kB / 0.6176 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5283, allocations: 0 / 0.6176 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.5283, allocations: 10.09 kB / 0.6176 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.5284, allocations: 10.09 kB / 0.6176 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.5288, allocations: 427.1 kB / 0.618 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.5297, allocations: 1.036 MB / 0.619 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.5299, allocations: 158 kB / 0.6192 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/0.5309, allocations: 1.855 MB / 0.621 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.5309, allocations: 40.09 kB / 0.621 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.5309, allocations: 3.938 kB / 0.621 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002804/0.5312, allocations: 137.7 kB / 0.6212 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.5313, allocations: 54.47 kB / 0.6212 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.5314, allocations: 168.3 kB / 0.6214 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.5314, allocations: 29.64 kB / 0.6214 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.5315, allocations: 141.1 kB / 0.6215 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.5315, allocations: 61.12 kB / 0.6216 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.5315, allocations: 7.844 kB / 0.6216 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.5316, allocations: 320.7 kB / 0.6219 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.5316, allocations: 35.58 kB / 0.6219 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.5317, allocations: 146.9 kB / 0.6221 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.5318, allocations: 61.44 kB / 0.6221 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5318, allocations: 0 / 0.6221 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002607/0.5321, allocations: 209.4 kB / 0.6223 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5321, allocations: 12.86 kB / 0.6224 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5321, allocations: 3.656 kB / 0.6224 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5322, allocations: 9.031 kB / 0.6224 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.5323, allocations: 58.48 kB / 0.6224 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5323, allocations: 10.52 kB / 0.6224 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5325, allocations: 28 kB / 0.6225 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.5325, allocations: 19.28 kB / 0.6225 GB, free: 30.33 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.642e-05/0.5326, allocations: 129.6 kB / 0.6226 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.5326, allocations: 19.94 kB / 0.6226 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.5329, allocations: 163.4 kB / 0.6228 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.533, allocations: 5.516 kB / 0.6228 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.533, allocations: 0 / 0.6228 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.533, allocations: 3.422 kB / 0.6228 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.5332, allocations: 213.5 kB / 0.623 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5332, allocations: 3 kB / 0.623 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5333, allocations: 38.22 kB / 0.623 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5333, allocations: 0 / 0.623 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.5333, allocations: 6.875 kB / 0.623 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5333, allocations: 3.953 kB / 0.623 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5333, allocations: 2.25 kB / 0.623 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.5335, allocations: 213 kB / 0.6232 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.5336, allocations: 126.7 kB / 0.6234 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.5336, allocations: 6.609 kB / 0.6234 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5338, allocations: 20.41 kB / 0.6234 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.5339, allocations: 12.8 kB / 0.6234 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.5339, allocations: 12.19 kB / 0.6234 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.5339, allocations: 130.1 kB / 0.6235 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.534, allocations: 0 / 0.6235 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003999/0.5344, allocations: 76.52 kB / 0.6236 GB, free: 29.61 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.0004824/0.5348, allocations: 0.841 MB / 0.6244 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.535, allocations: 104.1 kB / 0.6245 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.535, allocations: 3.031 kB / 0.6245 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.5351, allocations: 47.11 kB / 0.6246 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.5355, allocations: 49.23 kB / 0.6246 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.5369, allocations: 3.27 MB / 0.6278 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.5371, allocations: 0.719 MB / 0.6285 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.5373, allocations: 48.78 kB / 0.6286 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.5373, allocations: 50.77 kB / 0.6286 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5373, allocations: 0 / 0.6286 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.5539, allocations: 5.076 MB / 0.6336 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.5542, allocations: 205.1 kB / 0.6338 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.378, allocations: 2.953 kB / 0.6338 GB, free: 24.62 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: