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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9877/0.9877, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1593, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.01053/0.1699, allocations: 4.707 MB / 0.599 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.1754, allocations: 2.702 MB / 0.6016 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1756, allocations: 0 / 0.6016 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.1761, allocations: 43.69 kB / 0.6017 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1764, allocations: 99.34 kB / 0.6018 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1774, allocations: 0.5029 MB / 0.6022 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1777, allocations: 235.9 kB / 0.6025 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1778, allocations: 13.55 kB / 0.6025 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.178, allocations: 115.5 kB / 0.6026 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1782, allocations: 95.59 kB / 0.6027 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1782, allocations: 12 kB / 0.6027 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000661/0.1789, allocations: 355.4 kB / 0.603 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.179, allocations: 39.83 kB / 0.6031 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.1791, allocations: 83.64 kB / 0.6032 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.1797, allocations: 363.3 kB / 0.6035 GB, free: 100 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1797, allocations: 4 kB / 0.6035 GB, free: 96 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.624e-06/0.1797, allocations: 0 / 0.6035 GB, free: 96 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1797, allocations: 0 / 0.6035 GB, free: 96 kB / 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.2451/0.4248, allocations: 0.4918 MB / 0.604 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4248, allocations: 10.5 kB / 0.604 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.4249, allocations: 53.33 kB / 0.604 GB, free: 44.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.4251, allocations: 22.83 kB / 0.6041 GB, free: 44.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4253, allocations: 210 kB / 0.6043 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4253, allocations: 13.36 kB / 0.6043 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.4254, allocations: 15.47 kB / 0.6043 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.4257, allocations: 254.8 kB / 0.6045 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4257, allocations: 5.25 kB / 0.6045 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.4258, allocations: 9.625 kB / 0.6046 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.4258, allocations: 7 kB / 0.6046 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.4262, allocations: 427.8 kB / 0.605 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.427, allocations: 0.9533 MB / 0.6059 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.4272, allocations: 162.3 kB / 0.6061 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.4273, allocations: 67.2 kB / 0.6061 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008752/0.4282, allocations: 1.831 MB / 0.6079 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.4282, allocations: 36.88 kB / 0.6079 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.4282, allocations: 0 / 0.6079 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002906/0.4285, allocations: 145.3 kB / 0.6081 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.4286, allocations: 51.41 kB / 0.6081 GB, free: 41.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4287, allocations: 180.4 kB / 0.6083 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4287, allocations: 25.7 kB / 0.6083 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.4288, allocations: 148.7 kB / 0.6085 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.4288, allocations: 54.12 kB / 0.6085 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.4289, allocations: 55.34 kB / 0.6086 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.4289, allocations: 324.2 kB / 0.6089 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.429, allocations: 33.67 kB / 0.6089 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.4291, allocations: 145.5 kB / 0.6091 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4292, allocations: 196.5 kB / 0.6092 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4293, allocations: 0 / 0.6092 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002669/0.4295, allocations: 228.1 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4296, allocations: 6.438 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4296, allocations: 3.062 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4296, allocations: 5.812 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4297, allocations: 56.83 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4298, allocations: 11.91 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.4299, allocations: 23.25 kB / 0.6096 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4299, allocations: 13.91 kB / 0.6096 GB, free: 40.41 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.544e-05/0.43, allocations: 136.5 kB / 0.6097 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.43, allocations: 18.16 kB / 0.6097 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4303, allocations: 163.2 kB / 0.6099 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4303, allocations: 2.531 kB / 0.6099 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4303, allocations: 4.438 kB / 0.6099 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4303, allocations: 0 / 0.6099 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.4305, allocations: 216 kB / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4305, allocations: 0.6875 kB / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.4306, allocations: 28.23 kB / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4306, allocations: 2.844 kB / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4306, allocations: 0 / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4306, allocations: 3.562 kB / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4306, allocations: 4.875 kB / 0.6101 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.4308, allocations: 220.7 kB / 0.6103 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.4309, allocations: 114.6 kB / 0.6104 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.4309, allocations: 0 / 0.6104 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4311, allocations: 16.81 kB / 0.6105 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.4311, allocations: 13.31 kB / 0.6105 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4312, allocations: 14.73 kB / 0.6105 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.4312, allocations: 118.4 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4312, allocations: 3.844 kB / 0.6106 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003652/0.4316, allocations: 81.94 kB / 0.6107 GB, free: 39.73 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.0005457/0.4322, allocations: 0.8272 MB / 0.6115 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4324, allocations: 130.3 kB / 0.6116 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4324, allocations: 0.9375 kB / 0.6116 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.4325, allocations: 47.27 kB / 0.6117 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.4329, allocations: 61.08 kB / 0.6117 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.4344, allocations: 2.029 MB / 0.6137 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.4346, allocations: 0.7168 MB / 0.6144 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000153/0.4347, allocations: 46.78 kB / 0.6144 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.4348, allocations: 48.28 kB / 0.6145 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.4348, allocations: 0 / 0.6145 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.395/1.829, allocations: 5.303 MB / 0.6197 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/10.39, allocations: 7.922 kB / 0.6197 GB, free: 36.21 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)