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.001258/0.001258, 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.001272/0.001272, allocations: 193.6 kB / 16.13 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.9003/0.9003, allocations: 143 MB / 433 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 0.5136 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 82.03 MB / 0.5937 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.004748/0.1357, allocations: 4.749 MB / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.138, allocations: 2.726 MB / 0.601 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.1381, allocations: 8 kB / 0.601 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1383, allocations: 35.81 kB / 0.601 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1384, allocations: 83.48 kB / 0.6011 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.1392, allocations: 458.3 kB / 0.6016 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1395, allocations: 307.8 kB / 0.6019 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.1395, allocations: 17.53 kB / 0.6019 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1397, allocations: 119.6 kB / 0.602 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1398, allocations: 91.64 kB / 0.6021 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1398, allocations: 8 kB / 0.6021 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.1404, allocations: 367.2 kB / 0.6024 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1404, allocations: 35.88 kB / 0.6025 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.1405, allocations: 83.59 kB / 0.6025 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.141, allocations: 367.3 kB / 0.6029 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.141, allocations: 0 / 0.6029 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.141, allocations: 7.938 kB / 0.6029 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.141, allocations: 0 / 0.6029 GB, free: 0.5664 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.0005757/0.1416, allocations: 0.4915 MB / 0.6034 GB, free: 28 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1416, allocations: 12.03 kB / 0.6034 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2116/0.3532, allocations: 47.83 kB / 0.6034 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.3535, allocations: 20.31 kB / 0.6035 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3536, allocations: 215.8 kB / 0.6037 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3537, allocations: 12.55 kB / 0.6037 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3537, allocations: 19.69 kB / 0.6037 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.354, allocations: 240.4 kB / 0.6039 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.354, allocations: 10.5 kB / 0.6039 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.3541, allocations: 7.719 kB / 0.6039 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.3541, allocations: 6.844 kB / 0.604 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.3544, allocations: 428.8 kB / 0.6044 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.3552, allocations: 0.9563 MB / 0.6053 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3555, allocations: 160.4 kB / 0.6054 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.3556, allocations: 63.95 kB / 0.6055 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007629/0.3563, allocations: 1.823 MB / 0.6073 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3564, allocations: 41.7 kB / 0.6073 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.3564, allocations: 0 / 0.6073 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002615/0.3566, allocations: 146.9 kB / 0.6075 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.3567, allocations: 55.56 kB / 0.6075 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.3568, allocations: 173.2 kB / 0.6077 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3568, allocations: 32.08 kB / 0.6077 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.3568, allocations: 140.9 kB / 0.6079 GB, free: 41.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3569, allocations: 56.12 kB / 0.6079 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.3569, allocations: 52.91 kB / 0.608 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.357, allocations: 324.6 kB / 0.6083 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.357, allocations: 34.97 kB / 0.6083 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.3571, allocations: 140.4 kB / 0.6084 GB, free: 41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3573, allocations: 206.9 kB / 0.6086 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3573, allocations: 0 / 0.6086 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000248/0.3575, allocations: 213.7 kB / 0.6088 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3575, allocations: 11.41 kB / 0.6088 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3576, allocations: 2.719 kB / 0.6088 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3576, allocations: 5.5 kB / 0.6089 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3577, allocations: 57.08 kB / 0.6089 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3577, allocations: 16.91 kB / 0.6089 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3578, allocations: 26.12 kB / 0.6089 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3579, allocations: 15.11 kB / 0.609 GB, free: 40.81 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.677e-05/0.3579, allocations: 141.7 kB / 0.6091 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.358, allocations: 14.53 kB / 0.6091 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.3582, allocations: 159.1 kB / 0.6093 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3582, allocations: 2.625 kB / 0.6093 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3583, allocations: 3.938 kB / 0.6093 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3583, allocations: 8.781 kB / 0.6093 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.3584, allocations: 211.8 kB / 0.6095 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3584, allocations: 1.125 kB / 0.6095 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.3585, allocations: 29.25 kB / 0.6095 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3585, allocations: 0 / 0.6095 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3585, allocations: 3.766 kB / 0.6095 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3585, allocations: 0.9062 kB / 0.6095 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3585, allocations: 3.938 kB / 0.6095 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3587, allocations: 222.3 kB / 0.6097 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3588, allocations: 107.5 kB / 0.6098 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3588, allocations: 2.719 kB / 0.6098 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.359, allocations: 21.88 kB / 0.6099 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.359, allocations: 15.61 kB / 0.6099 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3591, allocations: 12.11 kB / 0.6099 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.3591, allocations: 124.6 kB / 0.61 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3591, allocations: 0 / 0.61 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003487/0.3595, allocations: 77.28 kB / 0.6101 GB, free: 40.12 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.0004882/0.36, allocations: 0.8347 MB / 0.6109 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.3602, allocations: 116.7 kB / 0.611 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3602, allocations: 4.766 kB / 0.611 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.3602, allocations: 48.58 kB / 0.6111 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3606, allocations: 54.41 kB / 0.6111 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3621, allocations: 2.068 MB / 0.6131 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/0.3622, allocations: 0.7113 MB / 0.6138 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000149/0.3623, allocations: 52.64 kB / 0.6139 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.3624, allocations: 48.3 kB / 0.6139 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.3624, allocations: 3.281 kB / 0.6139 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/0.4883, allocations: 5.099 MB / 0.6189 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.4885, allocations: 195.8 kB / 0.6191 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.109, allocations: 4 kB / 0.6191 GB, free: 36.43 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)