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.001372/0.001372, allocations: 99.36 kB / 15.33 MB, free: 0.5039 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.001311/0.001311, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.9079/0.9079, allocations: 143 MB / 433.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 82.04 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2235/0.3544, allocations: 13.08 MB / 0.6067 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3563, allocations: 2.668 MB / 0.6093 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.3564, allocations: 2.812 kB / 0.6093 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.3567, allocations: 38.38 kB / 0.6093 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.3569, allocations: 84.84 kB / 0.6094 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.3578, allocations: 474.5 kB / 0.6099 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.358, allocations: 235.4 kB / 0.6101 GB, free: 36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.358, allocations: 16.84 kB / 0.6101 GB, free: 36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.3638, allocations: 3.362 MB / 0.6134 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.364, allocations: 91.56 kB / 0.6135 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.364, allocations: 8.562 kB / 0.6135 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.3659, allocations: 1.052 MB / 0.6145 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.366, allocations: 37.42 kB / 0.6145 GB, free: 35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.3661, allocations: 78.34 kB / 0.6146 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.3666, allocations: 370.8 kB / 0.615 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3666, allocations: 0 / 0.615 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3666, allocations: 6.938 kB / 0.615 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3666, allocations: 0 / 0.615 GB, free: 34.89 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.0005392/0.3672, allocations: 0.5006 MB / 0.6155 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3672, allocations: 8.219 kB / 0.6155 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.3672, allocations: 57.25 kB / 0.6155 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3674, allocations: 23.47 kB / 0.6156 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3675, allocations: 218.9 kB / 0.6158 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3676, allocations: 13.36 kB / 0.6158 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3676, allocations: 12.88 kB / 0.6158 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.3679, allocations: 255.7 kB / 0.616 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3679, allocations: 0 / 0.616 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.3679, allocations: 7.375 kB / 0.616 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3679, allocations: 6.547 kB / 0.616 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.3683, allocations: 428.9 kB / 0.6165 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.3692, allocations: 0.9719 MB / 0.6174 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3694, allocations: 162.7 kB / 0.6176 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.3695, allocations: 62.14 kB / 0.6176 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/0.3703, allocations: 1.836 MB / 0.6194 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3703, allocations: 38.91 kB / 0.6194 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3703, allocations: 4 kB / 0.6194 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002709/0.3706, allocations: 151.5 kB / 0.6196 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.3706, allocations: 58.12 kB / 0.6196 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.3707, allocations: 167.5 kB / 0.6198 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3707, allocations: 32.45 kB / 0.6198 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.3708, allocations: 140.1 kB / 0.62 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3708, allocations: 43.88 kB / 0.62 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.3709, allocations: 57.38 kB / 0.6201 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.826e-05/0.3709, allocations: 324.9 kB / 0.6204 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.371, allocations: 36.22 kB / 0.6204 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.3711, allocations: 143.9 kB / 0.6206 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3712, allocations: 204.9 kB / 0.6207 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3712, allocations: 0 / 0.6207 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002523/0.3715, allocations: 216.5 kB / 0.621 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3715, allocations: 9.094 kB / 0.621 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3715, allocations: 10.78 kB / 0.621 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3716, allocations: 9.656 kB / 0.621 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3717, allocations: 58.3 kB / 0.621 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3717, allocations: 9.5 kB / 0.621 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3718, allocations: 24.44 kB / 0.6211 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3718, allocations: 15.19 kB / 0.6211 GB, free: 30.18 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.894e-05/0.3719, allocations: 138.7 kB / 0.6212 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.372, allocations: 11.25 kB / 0.6212 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.3722, allocations: 160.4 kB / 0.6214 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3722, allocations: 6.719 kB / 0.6214 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3723, allocations: 0 / 0.6214 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3723, allocations: 2.844 kB / 0.6214 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3724, allocations: 210.6 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3724, allocations: 2.844 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.3725, allocations: 24.38 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3725, allocations: 2.938 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3725, allocations: 0.8125 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3726, allocations: 4.484 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3726, allocations: 6.875 kB / 0.6216 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.3727, allocations: 222.6 kB / 0.6218 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.3728, allocations: 115.5 kB / 0.622 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3728, allocations: 3.062 kB / 0.622 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.373, allocations: 24.2 kB / 0.622 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.3731, allocations: 6.047 kB / 0.622 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3731, allocations: 16.72 kB / 0.622 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.3731, allocations: 121.3 kB / 0.6221 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3731, allocations: 0 / 0.6221 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003417/0.3735, allocations: 69.62 kB / 0.6222 GB, free: 29.46 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.0005074/0.374, allocations: 0.8468 MB / 0.623 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3742, allocations: 132 kB / 0.6231 GB, free: 28.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3742, allocations: 0 / 0.6231 GB, free: 28.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.3743, allocations: 43.88 kB / 0.6232 GB, free: 28.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3747, allocations: 63.97 kB / 0.6232 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3762, allocations: 2.086 MB / 0.6253 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3763, allocations: 0.7147 MB / 0.626 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.3765, allocations: 52.58 kB / 0.626 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.3765, allocations: 45.25 kB / 0.6261 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.3765, allocations: 4 kB / 0.6261 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/1.932, allocations: 5.454 MB / 0.6314 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.932, allocations: 222 kB / 0.6316 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/3.69, allocations: 4 kB / 0.6316 GB, free: 25.58 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)