Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",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.0006856/0.0006856, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.004019/0.004019, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.159/1.159, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.8607/0.8607, allocations: 143.2 MB / 434.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 8 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 83.41 MB / 0.5979 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.004301/0.1335, allocations: 4.367 MB / 0.6022 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.1361, allocations: 2.683 MB / 0.6048 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.1362, allocations: 4 kB / 0.6048 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1364, allocations: 39.8 kB / 0.6049 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1366, allocations: 83.48 kB / 0.605 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.2342/0.3708, allocations: 459.7 kB / 0.6054 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.3712, allocations: 309 kB / 0.6057 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.3712, allocations: 15.44 kB / 0.6057 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.3714, allocations: 108.9 kB / 0.6058 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3716, allocations: 94.03 kB / 0.6059 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3716, allocations: 8.906 kB / 0.6059 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.3724, allocations: 370.1 kB / 0.6063 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.3724, allocations: 39.98 kB / 0.6063 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.613e-05/0.3725, allocations: 104 kB / 0.6064 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.373, allocations: 368.7 kB / 0.6067 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.373, allocations: 2.938 kB / 0.6067 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.373, allocations: 0.5625 kB / 0.6067 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.373, allocations: 1.469 kB / 0.6067 GB, free: 35.93 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.000571/0.3736, allocations: 472.4 kB / 0.6072 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3737, allocations: 11.12 kB / 0.6072 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3737, allocations: 53.8 kB / 0.6073 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.3739, allocations: 23.56 kB / 0.6073 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.374, allocations: 218.1 kB / 0.6075 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3741, allocations: 11.64 kB / 0.6075 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3741, allocations: 15.41 kB / 0.6075 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3744, allocations: 246.7 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3744, allocations: 3.375 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3744, allocations: 10.97 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.3744, allocations: 5.406 kB / 0.6078 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.3748, allocations: 429.6 kB / 0.6082 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.3756, allocations: 0.9577 MB / 0.6091 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3759, allocations: 161 kB / 0.6093 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.376, allocations: 66.62 kB / 0.6093 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/0.3768, allocations: 1.825 MB / 0.6111 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.3768, allocations: 39.66 kB / 0.6112 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.522e-06/0.3768, allocations: 0 / 0.6112 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002615/0.3771, allocations: 141.8 kB / 0.6113 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3771, allocations: 61.66 kB / 0.6113 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3772, allocations: 174.5 kB / 0.6115 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3772, allocations: 32.83 kB / 0.6115 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.3773, allocations: 141.3 kB / 0.6117 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3773, allocations: 50.73 kB / 0.6117 GB, free: 32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.3773, allocations: 25.16 kB / 0.6118 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.3774, allocations: 327.4 kB / 0.6121 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.3775, allocations: 39.89 kB / 0.6121 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.3775, allocations: 140.3 kB / 0.6122 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3777, allocations: 199.8 kB / 0.6124 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3777, allocations: 2.844 kB / 0.6124 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002467/0.378, allocations: 209.5 kB / 0.6126 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.378, allocations: 8.188 kB / 0.6126 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.378, allocations: 9.844 kB / 0.6126 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.378, allocations: 6.375 kB / 0.6127 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3782, allocations: 61.55 kB / 0.6127 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3782, allocations: 5.844 kB / 0.6127 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.3783, allocations: 23.78 kB / 0.6127 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3783, allocations: 18.97 kB / 0.6128 GB, free: 31.35 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 7.156e-05/0.3784, allocations: 132.9 kB / 0.6129 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.3784, allocations: 20.72 kB / 0.6129 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.3787, allocations: 159.4 kB / 0.6131 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3787, allocations: 3.938 kB / 0.6131 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3787, allocations: 2.719 kB / 0.6131 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3787, allocations: 1.172 kB / 0.6131 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3789, allocations: 218.3 kB / 0.6133 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3789, allocations: 0 / 0.6133 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.379, allocations: 25.88 kB / 0.6133 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.379, allocations: 2.969 kB / 0.6133 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.379, allocations: 5.797 kB / 0.6133 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.379, allocations: 10.81 kB / 0.6133 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.379, allocations: 3 kB / 0.6133 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.3792, allocations: 219.2 kB / 0.6135 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.3792, allocations: 112 kB / 0.6136 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3793, allocations: 3.375 kB / 0.6136 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3795, allocations: 29.42 kB / 0.6137 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3795, allocations: 6.172 kB / 0.6137 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3795, allocations: 13.69 kB / 0.6137 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.3796, allocations: 116.4 kB / 0.6138 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3796, allocations: 2.906 kB / 0.6138 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00034/0.3799, allocations: 72.59 kB / 0.6139 GB, free: 30.64 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.0004952/0.3804, allocations: 0.8377 MB / 0.6147 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3806, allocations: 121.8 kB / 0.6148 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3806, allocations: 0 / 0.6148 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.234e-05/0.3807, allocations: 47.72 kB / 0.6148 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3811, allocations: 51.55 kB / 0.6149 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3826, allocations: 2.111 MB / 0.617 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3827, allocations: 0.7168 MB / 0.6177 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.3829, allocations: 48.44 kB / 0.6177 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.383, allocations: 45.55 kB / 0.6177 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.383, allocations: 0 / 0.6177 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.08/2.463, allocations: 5.017 MB / 0.6226 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/2.464, allocations: 204.3 kB / 0.6228 GB, free: 27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/4.331, allocations: 0 / 0.6228 GB, free: 27 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)