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.00132/0.00132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001028/0.001028, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.8902/0.8902, allocations: 143 MB / 433.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 63.91 kB / 0.5138 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 82.04 MB / 0.5939 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.004949/0.1348, allocations: 4.74 MB / 0.5985 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1372, allocations: 2.691 MB / 0.6011 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.1372, allocations: 0 / 0.6011 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.1375, allocations: 39.8 kB / 0.6012 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1377, allocations: 91.42 kB / 0.6013 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009826/0.1387, allocations: 478.4 kB / 0.6017 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1389, allocations: 231.9 kB / 0.6019 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.139, allocations: 17.55 kB / 0.602 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1391, allocations: 115.6 kB / 0.6021 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1392, allocations: 95.59 kB / 0.6022 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1393, allocations: 8 kB / 0.6022 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.1398, allocations: 371.2 kB / 0.6025 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1399, allocations: 43.88 kB / 0.6026 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1399, allocations: 79.66 kB / 0.6026 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.1404, allocations: 367.3 kB / 0.603 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1404, allocations: 0 / 0.603 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1404, allocations: 0 / 0.603 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.1404, allocations: 4 kB / 0.603 GB, free: 0.5391 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.2282/0.3686, allocations: 0.4976 MB / 0.6035 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3687, allocations: 8.938 kB / 0.6035 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.298e-05/0.3687, allocations: 51.92 kB / 0.6035 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.3691, allocations: 20.88 kB / 0.6036 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3693, allocations: 215.3 kB / 0.6038 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3693, allocations: 9.328 kB / 0.6038 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3694, allocations: 15.17 kB / 0.6038 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.3698, allocations: 253.6 kB / 0.604 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3699, allocations: 3.938 kB / 0.604 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3699, allocations: 6.625 kB / 0.604 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.3699, allocations: 10.28 kB / 0.6041 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.3705, allocations: 421.8 kB / 0.6045 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3716, allocations: 0.9557 MB / 0.6054 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.3719, allocations: 163.2 kB / 0.6055 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3721, allocations: 61.48 kB / 0.6056 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.3732, allocations: 1.831 MB / 0.6074 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3732, allocations: 34.53 kB / 0.6074 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.3733, allocations: 0.7188 kB / 0.6074 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.00039/0.3737, allocations: 145.1 kB / 0.6076 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3737, allocations: 56.59 kB / 0.6076 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3738, allocations: 189.2 kB / 0.6078 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3739, allocations: 28.52 kB / 0.6078 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.3739, allocations: 139.8 kB / 0.608 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.374, allocations: 48.17 kB / 0.608 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.3741, allocations: 57.19 kB / 0.6081 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.3741, allocations: 327.5 kB / 0.6084 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.3742, allocations: 33.16 kB / 0.6084 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3744, allocations: 146.7 kB / 0.6085 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3746, allocations: 201.2 kB / 0.6087 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3746, allocations: 0 / 0.6087 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004065/0.375, allocations: 216.1 kB / 0.6089 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3751, allocations: 8.25 kB / 0.6089 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3751, allocations: 3.438 kB / 0.609 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3751, allocations: 5.844 kB / 0.609 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.3753, allocations: 59.16 kB / 0.609 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3754, allocations: 12.72 kB / 0.609 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3755, allocations: 25.78 kB / 0.6091 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3756, allocations: 15.67 kB / 0.6091 GB, free: 40.59 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 9.338e-05/0.3757, allocations: 139.9 kB / 0.6092 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.3758, allocations: 16.34 kB / 0.6092 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.3761, allocations: 150.8 kB / 0.6094 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3762, allocations: 4.75 kB / 0.6094 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3762, allocations: 7.781 kB / 0.6094 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3762, allocations: 3.141 kB / 0.6094 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3765, allocations: 209.6 kB / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3765, allocations: 0 / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3766, allocations: 27.55 kB / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3766, allocations: 2.844 kB / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3766, allocations: 9.828 kB / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3767, allocations: 0 / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3767, allocations: 4.625 kB / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3769, allocations: 224 kB / 0.6098 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.377, allocations: 115.4 kB / 0.6099 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.3771, allocations: 0 / 0.6099 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.3774, allocations: 15.08 kB / 0.61 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.3774, allocations: 15.97 kB / 0.61 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.3775, allocations: 13.03 kB / 0.61 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.3776, allocations: 118.7 kB / 0.6101 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3776, allocations: 0.8438 kB / 0.6101 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006081/0.3782, allocations: 77.88 kB / 0.6102 GB, free: 39.91 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.0006866/0.3789, allocations: 0.8358 MB / 0.611 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.3792, allocations: 131.1 kB / 0.6111 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3792, allocations: 0 / 0.6111 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.3793, allocations: 48.59 kB / 0.6112 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.38, allocations: 56.8 kB / 0.6112 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3823, allocations: 2.081 MB / 0.6132 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3824, allocations: 0.7143 MB / 0.6139 GB, free: 37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.3827, allocations: 46.7 kB / 0.614 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.3828, allocations: 43.02 kB / 0.614 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.3828, allocations: 2.75 kB / 0.614 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5569/0.9397, allocations: 5.228 MB / 0.6191 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001164/0.9399, allocations: 190.4 kB / 0.6193 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.961, allocations: 0.75 kB / 0.6193 GB, free: 36.2 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)