Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002188, allocations: 181.6 kB / 15.76 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5602/0.5602, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.742/1.742, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 99.27 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003307, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 72.31 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.26, allocations: 344.7 MB / 0.9055 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.26, allocations: 75.47 kB / 0.9056 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04327/1.303, allocations: 20.22 MB / 0.9253 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.292e-06/1.303, allocations: 0 / 0.9253 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.207e-05/1.303, allocations: 0 / 0.9253 GB, free: 104.8 MB / 0.5886 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.0008209/1.304, allocations: 496.5 kB / 0.9258 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.304, allocations: 8.031 kB / 0.9258 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/1.304, allocations: 51.8 kB / 0.9259 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/1.304, allocations: 19.81 kB / 0.9259 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/1.305, allocations: 211.6 kB / 0.9261 GB, free: 104 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/1.305, allocations: 9.641 kB / 0.9261 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/1.305, allocations: 17.31 kB / 0.9261 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/1.305, allocations: 243.2 kB / 0.9263 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.305, allocations: 7.984 kB / 0.9264 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.305, allocations: 12.94 kB / 0.9264 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/1.305, allocations: 8 kB / 0.9264 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/1.306, allocations: 424.1 kB / 0.9268 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/1.307, allocations: 0.9968 MB / 0.9278 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/1.307, allocations: 170.8 kB / 0.9279 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.308, allocations: 1.84 MB / 0.9297 GB, free: 100 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.308, allocations: 38.56 kB / 0.9297 GB, free: 99.96 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/1.308, allocations: 3.938 kB / 0.9298 GB, free: 99.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003086/1.308, allocations: 142.6 kB / 0.9299 GB, free: 99.81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/1.308, allocations: 55.34 kB / 0.9299 GB, free: 99.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.309, allocations: 158.4 kB / 0.9301 GB, free: 99.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/1.309, allocations: 29.7 kB / 0.9301 GB, free: 99.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/1.309, allocations: 139.8 kB / 0.9303 GB, free: 99.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/1.309, allocations: 55.28 kB / 0.9303 GB, free: 99.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/1.309, allocations: 4 kB / 0.9303 GB, free: 99.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.212e-05/1.309, allocations: 326.8 kB / 0.9306 GB, free: 99.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/1.309, allocations: 31.98 kB / 0.9307 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/1.309, allocations: 141.6 kB / 0.9308 GB, free: 98.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/1.309, allocations: 59.17 kB / 0.9308 GB, free: 98.74 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.309, allocations: 0 / 0.9308 GB, free: 98.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002736/1.309, allocations: 221 kB / 0.9311 GB, free: 98.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.309, allocations: 8 kB / 0.9311 GB, free: 98.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.309, allocations: 4 kB / 0.9311 GB, free: 98.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.309, allocations: 4 kB / 0.9311 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/1.31, allocations: 64.38 kB / 0.9311 GB, free: 98.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.31, allocations: 11.94 kB / 0.9311 GB, free: 98.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.31, allocations: 23.75 kB / 0.9312 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.31, allocations: 15.98 kB / 0.9312 GB, free: 98.39 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.31, allocations: 129.7 kB / 0.9313 GB, free: 98.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/1.31, allocations: 23.77 kB / 0.9313 GB, free: 98.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/1.31, allocations: 155 kB / 0.9315 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.31, allocations: 3.938 kB / 0.9315 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.31, allocations: 0 / 0.9315 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.31, allocations: 11.98 kB / 0.9315 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/1.31, allocations: 209.5 kB / 0.9317 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.31, allocations: 0 / 0.9317 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/1.311, allocations: 39.91 kB / 0.9317 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.311, allocations: 3.953 kB / 0.9317 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.311, allocations: 0 / 0.9317 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.311, allocations: 0 / 0.9317 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.311, allocations: 4 kB / 0.9317 GB, free: 97.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/1.311, allocations: 217.9 kB / 0.9319 GB, free: 97.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/1.311, allocations: 116.8 kB / 0.9321 GB, free: 97.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/1.311, allocations: 7.953 kB / 0.9321 GB, free: 97.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.311, allocations: 19.98 kB / 0.9321 GB, free: 97.37 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/1.311, allocations: 11.98 kB / 0.9321 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/1.311, allocations: 11.98 kB / 0.9321 GB, free: 97.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.681e-05/1.311, allocations: 120.8 kB / 0.9322 GB, free: 97.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.311, allocations: 4 kB / 0.9322 GB, free: 97.22 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004164/1.312, allocations: 83.92 kB / 0.9323 GB, free: 97.14 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005846/1.312, allocations: 0.8438 MB / 0.9331 GB, free: 96.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001982/1.313, allocations: 116.5 kB / 0.9332 GB, free: 96.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.313, allocations: 0 / 0.9332 GB, free: 96.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/1.313, allocations: 45.75 kB / 0.9333 GB, free: 96.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/1.313, allocations: 47.89 kB / 0.9333 GB, free: 96.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/1.315, allocations: 3.275 MB / 0.9365 GB, free: 92.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/1.315, allocations: 0.7211 MB / 0.9372 GB, free: 91.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000187/1.315, allocations: 49.83 kB / 0.9373 GB, free: 91.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/1.315, allocations: 47.36 kB / 0.9373 GB, free: 91.84 MB / 0.5886 GB Notification: Performance of SimCode: time 5.52e-07/1.315, allocations: 0 / 0.9373 GB, free: 91.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/1.332, allocations: 5.112 MB / 0.9423 GB, free: 86.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/1.333, allocations: 161.7 kB / 0.9425 GB, free: 86.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/3.091, allocations: 3.938 kB / 0.9425 GB, free: 86.61 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)