Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.701/1.701, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 184.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.0008544, allocations: 108.2 kB / 0.7808 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 15.94 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8477, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/1.223, allocations: 349.5 MB / 1.368 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.224, allocations: 77.69 kB / 1.368 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.6143/1.838, allocations: 16.78 MB / 1.384 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.036e-06/1.838, allocations: 0 / 1.384 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.33e-05/1.838, allocations: 2.656 kB / 1.384 GB, free: 257.2 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.001182/1.839, allocations: 491.3 kB / 1.385 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/1.839, allocations: 8.812 kB / 1.385 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.841, allocations: 186.2 kB / 1.385 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/1.842, allocations: 213.2 kB / 1.385 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/1.842, allocations: 15.2 kB / 1.385 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/1.842, allocations: 18.67 kB / 1.385 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/1.843, allocations: 293.8 kB / 1.385 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.843, allocations: 192 / 1.385 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/1.843, allocations: 14.27 kB / 1.385 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/1.843, allocations: 5.875 kB / 1.385 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/1.843, allocations: 261.1 kB / 1.385 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.845, allocations: 1.385 MB / 1.387 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/1.845, allocations: 196.6 kB / 1.387 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/1.846, allocations: 83.02 kB / 1.387 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/1.846, allocations: 4.688 kB / 1.387 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/1.846, allocations: 35.56 kB / 1.387 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/1.846, allocations: 2.875 kB / 1.387 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=18): time 0.0007052/1.846, allocations: 245.4 kB / 1.387 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/1.846, allocations: 54.38 kB / 1.387 GB, free: 255 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.847, allocations: 156.2 kB / 1.388 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.847, allocations: 29.64 kB / 1.388 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/1.847, allocations: 129.1 kB / 1.388 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/1.847, allocations: 61.69 kB / 1.388 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/1.847, allocations: 7.875 kB / 1.388 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/1.847, allocations: 335.5 kB / 1.388 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/1.847, allocations: 62.55 kB / 1.388 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/1.847, allocations: 140 kB / 1.388 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/1.848, allocations: 215.7 kB / 1.389 GB, free: 254.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.848, allocations: 0 / 1.389 GB, free: 254.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006862/1.849, allocations: 256.5 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/1.849, allocations: 5.344 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.849, allocations: 2.344 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/1.849, allocations: 3.781 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/1.849, allocations: 77.12 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.849, allocations: 6.172 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/1.849, allocations: 31 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.849, allocations: 8.469 kB / 1.389 GB, free: 254.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001511/1.85, allocations: 133 kB / 1.389 GB, free: 254 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/1.85, allocations: 16.39 kB / 1.389 GB, free: 254 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/1.85, allocations: 238.9 kB / 1.389 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/1.85, allocations: 4.719 kB / 1.389 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.85, allocations: 0 / 1.389 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.85, allocations: 0 / 1.389 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/1.851, allocations: 247.8 kB / 1.389 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.851, allocations: 0 / 1.389 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/1.851, allocations: 47.23 kB / 1.39 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.851, allocations: 3.938 kB / 1.39 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.851, allocations: 11.66 kB / 1.39 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.851, allocations: 0.5625 kB / 1.39 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.851, allocations: 0.9375 kB / 1.39 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/1.852, allocations: 303.4 kB / 1.39 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/1.852, allocations: 101.8 kB / 1.39 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/1.852, allocations: 5.062 kB / 1.39 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/1.852, allocations: 27.06 kB / 1.39 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/1.852, allocations: 9.156 kB / 1.39 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/1.852, allocations: 11.41 kB / 1.39 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.039e-05/1.852, allocations: 120.4 kB / 1.39 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.21e-07/1.852, allocations: 0 / 1.39 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004577/1.853, allocations: 67.19 kB / 1.39 GB, free: 253.4 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002771/1.853, allocations: 135 kB / 1.39 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005336/1.854, allocations: 185 kB / 1.39 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.854, allocations: 0.5469 kB / 1.39 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.854, allocations: 91.16 kB / 1.391 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/1.854, allocations: 60.5 kB / 1.391 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/1.855, allocations: 498.1 kB / 1.391 GB, free: 253 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/1.856, allocations: 0.7132 MB / 1.392 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004006/1.856, allocations: 53.69 kB / 1.392 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/1.856, allocations: 23.39 kB / 1.392 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.6e-07/1.856, allocations: 4 kB / 1.392 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.008218/1.864, allocations: 3.201 MB / 1.395 GB, free: 252.1 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)