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.0008052/0.000805, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008733/0.0008733, allocations: 172.7 kB / 15.95 MB, free: 208 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9838/0.9838, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003042, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3099/0.4664, allocations: 11.99 MB / 0.6093 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.469, allocations: 2.472 MB / 0.6117 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.4691, allocations: 4 kB / 0.6117 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.4694, allocations: 34.08 kB / 0.6117 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.4698, allocations: 87.56 kB / 0.6118 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4709, allocations: 403.6 kB / 0.6122 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.4711, allocations: 265 kB / 0.6124 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.4711, allocations: 13.78 kB / 0.6124 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00823/0.4794, allocations: 4.377 MB / 0.6167 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.4797, allocations: 88.17 kB / 0.6168 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.4797, allocations: 8.188 kB / 0.6168 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/0.4834, allocations: 0.9473 MB / 0.6177 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.4836, allocations: 40.45 kB / 0.6178 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.4838, allocations: 53.61 kB / 0.6178 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009712/0.4848, allocations: 223.5 kB / 0.618 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4848, allocations: 0 / 0.618 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4848, allocations: 0 / 0.618 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4848, allocations: 0 / 0.618 GB, free: 34.34 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.0009967/0.4858, allocations: 479.7 kB / 0.6185 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.429e-05/0.4859, allocations: 8.125 kB / 0.6185 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.585e-05/0.486, allocations: 60.94 kB / 0.6186 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.4862, allocations: 20.03 kB / 0.6186 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4865, allocations: 216 kB / 0.6188 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4865, allocations: 9.828 kB / 0.6188 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.4866, allocations: 14 kB / 0.6188 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.4871, allocations: 240.9 kB / 0.619 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4871, allocations: 8.016 kB / 0.619 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.4871, allocations: 11.12 kB / 0.6191 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.4872, allocations: 5.562 kB / 0.6191 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.4878, allocations: 432.4 kB / 0.6195 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.4891, allocations: 0.9743 MB / 0.6204 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.4894, allocations: 157.6 kB / 0.6206 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4896, allocations: 58.05 kB / 0.6206 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.4908, allocations: 1.843 MB / 0.6224 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4908, allocations: 33.28 kB / 0.6225 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.886e-06/0.4908, allocations: 0 / 0.6225 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003766/0.4912, allocations: 145 kB / 0.6226 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.4912, allocations: 54.22 kB / 0.6226 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4914, allocations: 172.7 kB / 0.6228 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4914, allocations: 29.7 kB / 0.6228 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.4915, allocations: 144.5 kB / 0.623 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4916, allocations: 54.64 kB / 0.623 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.4916, allocations: 3.812 kB / 0.623 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.4917, allocations: 324.8 kB / 0.6233 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.4917, allocations: 36.34 kB / 0.6234 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4919, allocations: 144.5 kB / 0.6235 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.492, allocations: 54.69 kB / 0.6236 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.492, allocations: 0 / 0.6236 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003621/0.4924, allocations: 212 kB / 0.6238 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4924, allocations: 10.89 kB / 0.6238 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4924, allocations: 5.062 kB / 0.6238 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4925, allocations: 5.188 kB / 0.6238 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.4927, allocations: 50.41 kB / 0.6238 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.4927, allocations: 8.906 kB / 0.6238 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.4929, allocations: 39.03 kB / 0.6239 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4929, allocations: 11.03 kB / 0.6239 GB, free: 29.81 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 9.526e-05/0.493, allocations: 134.5 kB / 0.624 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.4931, allocations: 19.48 kB / 0.624 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.4934, allocations: 165.3 kB / 0.6242 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4935, allocations: 0 / 0.6242 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4935, allocations: 0 / 0.6242 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4935, allocations: 6.781 kB / 0.6242 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.4937, allocations: 208.3 kB / 0.6244 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4937, allocations: 3.406 kB / 0.6244 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4939, allocations: 27.72 kB / 0.6244 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4939, allocations: 2.812 kB / 0.6244 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4939, allocations: 7.203 kB / 0.6244 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4939, allocations: 3.375 kB / 0.6244 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4939, allocations: 0 / 0.6244 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.4941, allocations: 217.9 kB / 0.6247 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.4942, allocations: 116.6 kB / 0.6248 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.4943, allocations: 4.625 kB / 0.6248 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.4946, allocations: 28.28 kB / 0.6248 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.4946, allocations: 11.95 kB / 0.6248 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.4946, allocations: 12.41 kB / 0.6248 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.449e-05/0.4947, allocations: 124.6 kB / 0.6249 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4947, allocations: 0 / 0.6249 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005913/0.4953, allocations: 81.08 kB / 0.625 GB, free: 29.09 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.0006732/0.496, allocations: 0.8227 MB / 0.6258 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.4963, allocations: 119.1 kB / 0.6259 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4963, allocations: 0.9375 kB / 0.6259 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.4964, allocations: 43.06 kB / 0.626 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.497, allocations: 57.45 kB / 0.626 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.4987, allocations: 1.023 MB / 0.627 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4989, allocations: 0.7187 MB / 0.6277 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.4992, allocations: 55.97 kB / 0.6278 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.4992, allocations: 46.59 kB / 0.6278 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.4993, allocations: 0 / 0.6278 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.5185, allocations: 5.122 MB / 0.6328 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.5187, allocations: 204.6 kB / 0.633 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.301, allocations: 5.406 kB / 0.633 GB, free: 26.33 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: