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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001053/0.001053, allocations: 193.3 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9116/0.9116, allocations: 143 MB / 433 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.91 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 82.03 MB / 0.5937 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2571/0.387, allocations: 13.85 MB / 0.6073 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3889, allocations: 2.703 MB / 0.6099 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.389, allocations: 4 kB / 0.6099 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3893, allocations: 38.67 kB / 0.6099 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.3895, allocations: 86.08 kB / 0.61 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.3903, allocations: 466 kB / 0.6105 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3905, allocations: 305.5 kB / 0.6107 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.3905, allocations: 13.03 kB / 0.6108 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.3967, allocations: 3.156 MB / 0.6138 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3968, allocations: 92.75 kB / 0.6139 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3968, allocations: 5.531 kB / 0.6139 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.3987, allocations: 0.9718 MB / 0.6149 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.3988, allocations: 34.33 kB / 0.6149 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.3988, allocations: 83.52 kB / 0.615 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.3993, allocations: 379.4 kB / 0.6154 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3993, allocations: 0 / 0.6154 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3993, allocations: 0 / 0.6154 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3993, allocations: 2.719 kB / 0.6154 GB, free: 34.78 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.0005877/0.3999, allocations: 0.4963 MB / 0.6158 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4, allocations: 8.562 kB / 0.6159 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.4, allocations: 50.98 kB / 0.6159 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.4002, allocations: 23.16 kB / 0.6159 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.4003, allocations: 223 kB / 0.6161 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4004, allocations: 10.02 kB / 0.6161 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4004, allocations: 20.77 kB / 0.6162 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.4007, allocations: 248.7 kB / 0.6164 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4007, allocations: 0.8906 kB / 0.6164 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.4007, allocations: 9.219 kB / 0.6164 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.4008, allocations: 9.391 kB / 0.6164 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.4011, allocations: 422 kB / 0.6168 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.4019, allocations: 0.9767 MB / 0.6178 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4022, allocations: 154.9 kB / 0.6179 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.4023, allocations: 65.28 kB / 0.618 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/0.4031, allocations: 1.835 MB / 0.6198 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.4031, allocations: 41.72 kB / 0.6198 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.4031, allocations: 0 / 0.6198 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000278/0.4034, allocations: 141.6 kB / 0.62 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.4034, allocations: 62.28 kB / 0.62 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.4035, allocations: 171.6 kB / 0.6202 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4036, allocations: 29.27 kB / 0.6202 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.4036, allocations: 137.1 kB / 0.6203 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.4036, allocations: 56.09 kB / 0.6204 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.4037, allocations: 51.78 kB / 0.6204 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.4037, allocations: 328.2 kB / 0.6208 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.4038, allocations: 34.92 kB / 0.6208 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-05/0.4039, allocations: 141.7 kB / 0.6209 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.404, allocations: 199.9 kB / 0.6211 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4041, allocations: 0 / 0.6211 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002622/0.4043, allocations: 226 kB / 0.6213 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4043, allocations: 5.438 kB / 0.6213 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4044, allocations: 6.562 kB / 0.6213 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4044, allocations: 5.062 kB / 0.6213 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4045, allocations: 58.81 kB / 0.6214 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4045, allocations: 8.344 kB / 0.6214 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.4047, allocations: 28.28 kB / 0.6214 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4047, allocations: 18.84 kB / 0.6215 GB, free: 30.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.4047, allocations: 128.8 kB / 0.6216 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.4048, allocations: 18.22 kB / 0.6216 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4051, allocations: 159.8 kB / 0.6217 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4051, allocations: 6.75 kB / 0.6218 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4051, allocations: 4 kB / 0.6218 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4051, allocations: 3.375 kB / 0.6218 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4053, allocations: 213.5 kB / 0.622 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4053, allocations: 3.406 kB / 0.622 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.4054, allocations: 24.78 kB / 0.622 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4054, allocations: 2.906 kB / 0.622 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4054, allocations: 3.625 kB / 0.622 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4054, allocations: 7.875 kB / 0.622 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4054, allocations: 2.906 kB / 0.622 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.4056, allocations: 222.1 kB / 0.6222 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.4057, allocations: 107.5 kB / 0.6223 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4057, allocations: 7.625 kB / 0.6223 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.4059, allocations: 18.77 kB / 0.6223 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4059, allocations: 8.969 kB / 0.6224 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.406, allocations: 15.27 kB / 0.6224 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.406, allocations: 119.5 kB / 0.6225 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.406, allocations: 7.938 kB / 0.6225 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003749/0.4064, allocations: 80.47 kB / 0.6226 GB, free: 29.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005321/0.4069, allocations: 0.8487 MB / 0.6234 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.4071, allocations: 116.5 kB / 0.6235 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4071, allocations: 3.375 kB / 0.6235 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.4072, allocations: 45.62 kB / 0.6236 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.4076, allocations: 59.02 kB / 0.6236 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.4092, allocations: 2.075 MB / 0.6256 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4093, allocations: 0.7219 MB / 0.6263 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.4095, allocations: 52.84 kB / 0.6264 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.4096, allocations: 43.97 kB / 0.6264 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4096, allocations: 2.906 kB / 0.6264 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/0.5278, allocations: 5.339 MB / 0.6317 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.528, allocations: 218.1 kB / 0.6319 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.246, allocations: 0 / 0.6319 GB, free: 25.39 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/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)