Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 293 MB / 309 MB, free: 4.797 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 168.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 0.6383 GB, free: 9.066 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007573, allocations: 94.05 kB / 0.7527 GB, free: 62.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 15.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 116.4 MB / 0.9904 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7712/0.9862, allocations: 382 MB / 1.364 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.9865, allocations: 72.56 kB / 1.364 GB, free: 7.145 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.457/1.443, allocations: 19.6 MB / 1.383 GB, free: 281 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.108e-06/1.444, allocations: 0.7812 kB / 1.383 GB, free: 281 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.988e-05/1.444, allocations: 3.281 kB / 1.383 GB, free: 281 MB / 0.9323 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.001097/1.445, allocations: 480.4 kB / 1.383 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/1.445, allocations: 9.156 kB / 1.383 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/1.445, allocations: 27.88 kB / 1.383 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/1.445, allocations: 219.7 kB / 1.383 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/1.445, allocations: 10.8 kB / 1.383 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/1.445, allocations: 14.91 kB / 1.383 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/1.446, allocations: 244.1 kB / 1.384 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.446, allocations: 0.8438 kB / 1.384 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/1.446, allocations: 13.69 kB / 1.384 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/1.446, allocations: 5.766 kB / 1.384 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/1.447, allocations: 427.7 kB / 1.384 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.448, allocations: 0.9451 MB / 1.385 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/1.449, allocations: 161.7 kB / 1.385 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/1.449, allocations: 58.05 kB / 1.385 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/1.451, allocations: 1.825 MB / 1.387 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/1.451, allocations: 36.28 kB / 1.387 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/1.451, allocations: 0.625 kB / 1.387 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0004567/1.451, allocations: 150.8 kB / 1.387 GB, free: 277.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/1.451, allocations: 57.64 kB / 1.387 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/1.451, allocations: 165.1 kB / 1.387 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/1.451, allocations: 31.33 kB / 1.387 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/1.451, allocations: 140.5 kB / 1.388 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/1.451, allocations: 54.06 kB / 1.388 GB, free: 277 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/1.452, allocations: 4.688 kB / 1.388 GB, free: 277 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/1.452, allocations: 325.1 kB / 1.388 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/1.452, allocations: 33.17 kB / 1.388 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/1.452, allocations: 141.9 kB / 1.388 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/1.452, allocations: 196.7 kB / 1.388 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.452, allocations: 1.656 kB / 1.388 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004166/1.453, allocations: 219.7 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.453, allocations: 7.25 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.453, allocations: 7.812 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.453, allocations: 9.125 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.453, allocations: 57.09 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/1.453, allocations: 11.16 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/1.453, allocations: 32.41 kB / 1.389 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.453, allocations: 16 kB / 1.389 GB, free: 276.4 MB / 0.9323 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.0001192/1.453, allocations: 133.6 kB / 1.389 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/1.453, allocations: 12.31 kB / 1.389 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/1.454, allocations: 156.8 kB / 1.389 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.454, allocations: 1.438 kB / 1.389 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.454, allocations: 5.406 kB / 1.389 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.454, allocations: 5.391 kB / 1.389 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/1.454, allocations: 214.2 kB / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.454, allocations: 5.156 kB / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.454, allocations: 36.38 kB / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.454, allocations: 0 / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.454, allocations: 6.5 kB / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.454, allocations: 1.062 kB / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.454, allocations: 0.75 kB / 1.389 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/1.455, allocations: 231.5 kB / 1.389 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.455, allocations: 106.1 kB / 1.39 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/1.455, allocations: 2.25 kB / 1.39 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.455, allocations: 11.11 kB / 1.39 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/1.455, allocations: 16.62 kB / 1.39 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/1.455, allocations: 8.938 kB / 1.39 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001196/1.455, allocations: 118.3 kB / 1.39 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.8e-07/1.455, allocations: 0 / 1.39 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005461/1.456, allocations: 82.22 kB / 1.39 GB, free: 275.6 MB / 0.9323 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.0003981/1.456, allocations: 189.8 kB / 1.39 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002738/1.456, allocations: 109.1 kB / 1.39 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.456, allocations: 0 / 1.39 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/1.456, allocations: 49.45 kB / 1.39 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/1.457, allocations: 57.11 kB / 1.39 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/1.458, allocations: 427.3 kB / 1.391 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/1.458, allocations: 0.7151 MB / 1.391 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002332/1.458, allocations: 49.47 kB / 1.391 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/1.458, allocations: 24.42 kB / 1.391 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.21e-07/1.458, allocations: 1.5 kB / 1.391 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.007983/1.466, allocations: 3.5 MB / 1.395 GB, free: 274.2 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)