Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001055/0.001055, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.345, allocations: 76.15 MB / 0.5576 GB, free: 36.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004211/0.3493, allocations: 4.034 MB / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3513, allocations: 2.432 MB / 0.5639 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.3514, allocations: 2 kB / 0.5639 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3517, allocations: 46.59 kB / 0.5639 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3519, allocations: 100.5 kB / 0.564 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3531, allocations: 0.5198 MB / 0.5645 GB, free: 32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3534, allocations: 260.3 kB / 0.5648 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.3535, allocations: 14.69 kB / 0.5648 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3536, allocations: 117.5 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.3538, allocations: 94.66 kB / 0.565 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3538, allocations: 8.5 kB / 0.565 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000761/0.3546, allocations: 455 kB / 0.5654 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.3547, allocations: 41.23 kB / 0.5655 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.3548, allocations: 79.91 kB / 0.5655 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.3553, allocations: 413.3 kB / 0.5659 GB, free: 31.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3554, allocations: 0 / 0.5659 GB, free: 31.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3554, allocations: 2.219 kB / 0.5659 GB, free: 31.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3554, allocations: 0 / 0.5659 GB, free: 31.45 MB / 446.1 MB 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.0005853/0.356, allocations: 0.5101 MB / 0.5664 GB, free: 30.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.356, allocations: 9.156 kB / 0.5664 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.3579, allocations: 174.8 kB / 0.5666 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3582, allocations: 209.1 kB / 0.5668 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3582, allocations: 15.45 kB / 0.5668 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.3582, allocations: 18.78 kB / 0.5668 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.3588, allocations: 308.4 kB / 0.5671 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3588, allocations: 4.469 kB / 0.5671 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.3589, allocations: 7.594 kB / 0.5672 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3589, allocations: 6.453 kB / 0.5672 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.3596, allocations: 261 kB / 0.5674 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.3609, allocations: 1.392 MB / 0.5688 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.3615, allocations: 195.3 kB / 0.569 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.3617, allocations: 79.34 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3617, allocations: 2.781 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3617, allocations: 38.58 kB / 0.5691 GB, free: 29.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.3617, allocations: 0 / 0.5691 GB, free: 29.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006917/0.3624, allocations: 248.2 kB / 0.5693 GB, free: 28.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3625, allocations: 54.59 kB / 0.5694 GB, free: 28.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3626, allocations: 162.1 kB / 0.5695 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3626, allocations: 32.33 kB / 0.5695 GB, free: 28.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.3627, allocations: 127.7 kB / 0.5697 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3627, allocations: 62.42 kB / 0.5697 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.3628, allocations: 49.55 kB / 0.5698 GB, free: 28.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.3629, allocations: 323.2 kB / 0.5701 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3631, allocations: 65.44 kB / 0.5701 GB, free: 28.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3633, allocations: 141.2 kB / 0.5703 GB, free: 28.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.3637, allocations: 219.2 kB / 0.5705 GB, free: 27.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3637, allocations: 2.5 kB / 0.5705 GB, free: 27.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005215/0.3642, allocations: 254 kB / 0.5707 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3642, allocations: 6.719 kB / 0.5707 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3643, allocations: 3.406 kB / 0.5707 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3643, allocations: 6.656 kB / 0.5707 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.3646, allocations: 67.44 kB / 0.5708 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3646, allocations: 5.438 kB / 0.5708 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.3649, allocations: 30.06 kB / 0.5708 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.3649, allocations: 15.42 kB / 0.5709 GB, free: 27.84 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.365, allocations: 133.9 kB / 0.571 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.3651, allocations: 16.12 kB / 0.571 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.3656, allocations: 226.3 kB / 0.5712 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3656, allocations: 3.359 kB / 0.5712 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3656, allocations: 0 / 0.5712 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3656, allocations: 8 kB / 0.5712 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3659, allocations: 242.7 kB / 0.5715 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3659, allocations: 0.5625 kB / 0.5715 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.3662, allocations: 47.78 kB / 0.5715 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3662, allocations: 7.734 kB / 0.5715 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3662, allocations: 6.609 kB / 0.5715 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3662, allocations: 0.6562 kB / 0.5715 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3662, allocations: 0.5156 kB / 0.5715 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.3667, allocations: 304 kB / 0.5718 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.3668, allocations: 106.3 kB / 0.5719 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.3668, allocations: 9.625 kB / 0.5719 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3671, allocations: 17.7 kB / 0.5719 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.3671, allocations: 9.766 kB / 0.5719 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3672, allocations: 7.141 kB / 0.572 GB, free: 27.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.773e-05/0.3672, allocations: 117.8 kB / 0.5721 GB, free: 26.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3672, allocations: 0 / 0.5721 GB, free: 26.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.3676, allocations: 64.17 kB / 0.5721 GB, free: 26.96 MB / 446.1 MB 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 (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.0001742/0.3678, allocations: 136.1 kB / 0.5723 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.3683, allocations: 194.5 kB / 0.5724 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3683, allocations: 0 / 0.5724 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.3685, allocations: 85.5 kB / 0.5725 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3689, allocations: 64.53 kB / 0.5726 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.3698, allocations: 405.3 kB / 0.573 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3699, allocations: 0.722 MB / 0.5737 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.3702, allocations: 48.45 kB / 0.5737 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.3702, allocations: 23.11 kB / 0.5737 GB, free: 25.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3703, allocations: 5.312 kB / 0.5738 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Templates: time 0.00676/0.377, allocations: 3.384 MB / 0.5771 GB, free: 25.56 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)