Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00136/0.00136, 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.001215/0.001215, allocations: 190.5 kB / 16.14 MB, free: 6.656 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 68.94 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005532/0.3685, allocations: 4.118 MB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.3712, allocations: 2.461 MB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.3713, allocations: 4 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3715, allocations: 39.8 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.3718, allocations: 87.48 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3728, allocations: 469.5 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.3731, allocations: 343.7 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.3732, allocations: 13.55 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3733, allocations: 115.5 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3735, allocations: 95.59 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3735, allocations: 8 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.3742, allocations: 459.1 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.3743, allocations: 31.89 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.3744, allocations: 95.58 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.375, allocations: 411.3 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.375, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.82e-07/0.375, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.375, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 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.0007285/0.3758, allocations: 0.507 MB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3758, allocations: 8.031 kB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.3778, allocations: 188.5 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3781, allocations: 200.2 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3782, allocations: 12.7 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.3782, allocations: 16.38 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.3789, allocations: 304.3 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3789, allocations: 4 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.379, allocations: 11.94 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.379, allocations: 8 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.3797, allocations: 255.6 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3816, allocations: 1.392 MB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.3822, allocations: 201.9 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3824, allocations: 84.75 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3825, allocations: 3.984 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3825, allocations: 38.56 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3825, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.000774/0.3833, allocations: 239.2 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3834, allocations: 55.41 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3835, allocations: 157 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3835, allocations: 33.7 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.3836, allocations: 135.9 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3837, allocations: 59.11 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3838, allocations: 53.92 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3839, allocations: 322.8 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.3841, allocations: 60.42 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3844, allocations: 142.3 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.3849, allocations: 218.4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3849, allocations: 4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005598/0.3854, allocations: 254.8 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3855, allocations: 4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3855, allocations: 4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3855, allocations: 4 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.3859, allocations: 63.89 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.3859, allocations: 4 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.3861, allocations: 31.73 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3862, allocations: 20.08 kB / 1.081 GB, free: 12.73 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.3863, allocations: 129.7 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.3864, allocations: 15.91 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.387, allocations: 236.1 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.387, allocations: 0 / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.387, allocations: 0 / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.387, allocations: 0 / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3873, allocations: 257.3 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3873, allocations: 4 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.3876, allocations: 47.91 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3877, allocations: 0 / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3877, allocations: 7.984 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3877, allocations: 4 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3877, allocations: 0 / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.3882, allocations: 303.1 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.3883, allocations: 100.9 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.3884, allocations: 4 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.3887, allocations: 23.97 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.3887, allocations: 7.984 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3887, allocations: 8 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.3888, allocations: 119.2 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3888, allocations: 0 / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003776/0.3892, allocations: 63.94 kB / 1.082 GB, free: 11.32 MB / 0.8419 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 (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.0002395/0.3894, allocations: 143.3 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005178/0.39, allocations: 181.4 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.39, allocations: 0 / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.3902, allocations: 84.52 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3908, allocations: 60.45 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.3918, allocations: 468.7 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3921, allocations: 0.7176 MB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003677/0.3925, allocations: 53.92 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.3926, allocations: 23.42 kB / 1.084 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3926, allocations: 0 / 1.084 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of Templates: time 0.006814/0.3994, allocations: 3.263 MB / 1.087 GB, free: 6.336 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)