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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 99.55 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.001504/0.001504, 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.004/1.004, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003414, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2427/0.3934, allocations: 11.16 MB / 0.6082 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3954, allocations: 2.138 MB / 0.6103 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.3955, allocations: 2.844 kB / 0.6103 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3957, allocations: 35.25 kB / 0.6103 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3959, allocations: 82.97 kB / 0.6104 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/0.3969, allocations: 433.1 kB / 0.6108 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3971, allocations: 148.6 kB / 0.6109 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3972, allocations: 16.38 kB / 0.6109 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007148/0.4043, allocations: 4.301 MB / 0.6151 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.4045, allocations: 77.3 kB / 0.6152 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.4045, allocations: 5.75 kB / 0.6152 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.407, allocations: 1.012 MB / 0.6162 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.407, allocations: 31.12 kB / 0.6162 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.4071, allocations: 53.73 kB / 0.6163 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.4075, allocations: 238 kB / 0.6165 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.4075, allocations: 0 / 0.6165 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4075, allocations: 0 / 0.6165 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4075, allocations: 0 / 0.6165 GB, free: 34.79 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.000513/0.408, allocations: 475.6 kB / 0.617 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.4081, allocations: 8.75 kB / 0.617 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.4082, allocations: 23.33 kB / 0.617 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.4084, allocations: 215.2 kB / 0.6172 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4084, allocations: 9.516 kB / 0.6172 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.4085, allocations: 23.25 kB / 0.6172 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.4088, allocations: 239.1 kB / 0.6175 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4088, allocations: 1.531 kB / 0.6175 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.4088, allocations: 11.41 kB / 0.6175 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.4089, allocations: 12.95 kB / 0.6175 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.4092, allocations: 421.9 kB / 0.6179 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.4102, allocations: 1.034 MB / 0.6189 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.4104, allocations: 164.8 kB / 0.6191 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008941/0.4113, allocations: 1.849 MB / 0.6209 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4114, allocations: 44.7 kB / 0.6209 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.4114, allocations: 4 kB / 0.6209 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002857/0.4117, allocations: 142.6 kB / 0.6211 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.4117, allocations: 55.28 kB / 0.6211 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4118, allocations: 168.1 kB / 0.6213 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4118, allocations: 31.2 kB / 0.6213 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.4119, allocations: 141.4 kB / 0.6214 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.4119, allocations: 54.88 kB / 0.6215 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.4119, allocations: 3.062 kB / 0.6215 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.412, allocations: 331.4 kB / 0.6218 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.4121, allocations: 34.06 kB / 0.6218 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.4121, allocations: 143.9 kB / 0.622 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.4122, allocations: 51.81 kB / 0.622 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4122, allocations: 0 / 0.622 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002651/0.4125, allocations: 211.7 kB / 0.6222 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4125, allocations: 16.08 kB / 0.6222 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4126, allocations: 2.812 kB / 0.6222 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4126, allocations: 5.438 kB / 0.6222 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.4128, allocations: 56.94 kB / 0.6223 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4128, allocations: 13.22 kB / 0.6223 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4129, allocations: 28 kB / 0.6223 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4129, allocations: 18.8 kB / 0.6224 GB, free: 30.32 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.64e-05/0.413, allocations: 125.7 kB / 0.6225 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.413, allocations: 19.97 kB / 0.6225 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.4133, allocations: 165.2 kB / 0.6227 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4134, allocations: 5.953 kB / 0.6227 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4134, allocations: 1.078 kB / 0.6227 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4134, allocations: 0 / 0.6227 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.4136, allocations: 212.6 kB / 0.6229 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4136, allocations: 2.688 kB / 0.6229 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4137, allocations: 33.19 kB / 0.6229 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4137, allocations: 0 / 0.6229 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4137, allocations: 10.72 kB / 0.6229 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4137, allocations: 4.641 kB / 0.6229 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4137, allocations: 0 / 0.6229 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4139, allocations: 216.4 kB / 0.6231 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.414, allocations: 129 kB / 0.6232 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.414, allocations: 0 / 0.6232 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.4143, allocations: 30.06 kB / 0.6233 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.4143, allocations: 17.05 kB / 0.6233 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4143, allocations: 15.47 kB / 0.6233 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.4144, allocations: 119.7 kB / 0.6234 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4144, allocations: 0 / 0.6234 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003905/0.4148, allocations: 77.03 kB / 0.6235 GB, free: 29.6 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.0002299/0.415, allocations: 185.3 kB / 0.6237 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.4152, allocations: 116.1 kB / 0.6238 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4152, allocations: 7.25 kB / 0.6238 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.4153, allocations: 47 kB / 0.6238 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4157, allocations: 47.56 kB / 0.6239 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.4163, allocations: 421.7 kB / 0.6243 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4164, allocations: 0.7178 MB / 0.625 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.4166, allocations: 51.45 kB / 0.625 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.4166, allocations: 26.86 kB / 0.6251 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4166, allocations: 0 / 0.6251 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.005902/0.4225, allocations: 3.461 MB / 0.6284 GB, free: 28.14 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: