Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001266/0.001266, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 197.6 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 68.02 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3589, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005967/0.365, allocations: 4.05 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.368, allocations: 2.426 MB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3681, allocations: 4 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.3685, allocations: 47.67 kB / 1.075 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.3688, allocations: 99.36 kB / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.3702, allocations: 0.5207 MB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.3706, allocations: 259.9 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.3706, allocations: 21.53 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.3709, allocations: 111.6 kB / 1.076 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.371, allocations: 99.58 kB / 1.076 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.371, allocations: 8 kB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.372, allocations: 451.3 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.3721, allocations: 43.83 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3722, allocations: 79.66 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.3729, allocations: 411.2 kB / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.373, allocations: 0 / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.373, allocations: 0 / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.373, allocations: 4 kB / 1.077 GB, free: 1.848 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.0007725/0.3738, allocations: 0.5015 MB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3738, allocations: 8.031 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.3759, allocations: 188.5 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3762, allocations: 204.2 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.3763, allocations: 12.7 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.3763, allocations: 16.38 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.3771, allocations: 308.3 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3771, allocations: 0 / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.3772, allocations: 19.97 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.3772, allocations: 4 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.378, allocations: 263.6 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.3799, allocations: 1.392 MB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.3806, allocations: 194.4 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3808, allocations: 80.8 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3808, allocations: 3.984 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3809, allocations: 42.5 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3809, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008192/0.3817, allocations: 242.9 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3818, allocations: 51.41 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3819, allocations: 165 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.382, allocations: 29.7 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.3821, allocations: 128 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.3821, allocations: 63.11 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3823, allocations: 49.92 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3824, allocations: 326.8 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.3826, allocations: 64.42 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.383, allocations: 147.4 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.3835, allocations: 218.4 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3835, allocations: 0 / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006258/0.3841, allocations: 250.6 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3842, allocations: 4 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3842, allocations: 4.312 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3842, allocations: 11.94 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3846, allocations: 67.88 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.3846, allocations: 4 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.3849, allocations: 23.75 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.3849, allocations: 15.98 kB / 1.081 GB, free: 12.43 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.0001162/0.385, allocations: 133.7 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.3851, allocations: 15.91 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006727/0.3858, allocations: 230.6 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3858, allocations: 0 / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3858, allocations: 0 / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3858, allocations: 0 / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.3861, allocations: 257.3 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3861, allocations: 0 / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.3864, allocations: 47.97 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3865, allocations: 3.984 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3865, allocations: 4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3865, allocations: 4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3865, allocations: 0 / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.3871, allocations: 300.8 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3872, allocations: 108.9 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.3873, allocations: 7.984 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.3876, allocations: 15.98 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.3876, allocations: 11.98 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3876, allocations: 8 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.25e-05/0.3877, allocations: 111.2 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 0 / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003825/0.3881, allocations: 64.12 kB / 1.083 GB, free: 11.04 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.0002248/0.3884, allocations: 139.6 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.389, allocations: 196 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.389, allocations: 0 / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.3892, allocations: 83.89 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.3898, allocations: 66.16 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.3908, allocations: 407.1 kB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.391, allocations: 0.7134 MB / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003617/0.3914, allocations: 57.92 kB / 1.084 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.3915, allocations: 23.42 kB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3915, allocations: 0 / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of Templates: time 0.006936/0.3984, allocations: 3.402 MB / 1.088 GB, free: 5.988 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)