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.0008574/0.0008573, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005568/0.005568, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.463/1.463, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 6.719 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4047, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004843/0.4096, allocations: 3.729 MB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.4129, allocations: 2.419 MB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.4131, allocations: 4 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.4135, allocations: 47.72 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.4138, allocations: 87.48 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.4155, allocations: 483.3 kB / 1.081 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.416, allocations: 339.7 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.416, allocations: 21.55 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.4163, allocations: 111.5 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.4165, allocations: 95.66 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.4165, allocations: 8 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.4173, allocations: 463.1 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.4174, allocations: 35.89 kB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.4175, allocations: 109.3 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.4181, allocations: 419.1 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4182, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4182, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.4182, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 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.0007635/0.4189, allocations: 475.3 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.419, allocations: 8.031 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.421, allocations: 184.5 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.4213, allocations: 208.1 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.4213, allocations: 16.69 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.4214, allocations: 16.38 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.422, allocations: 308.3 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4221, allocations: 7.984 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.4221, allocations: 8 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.4221, allocations: 12 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007094/0.4228, allocations: 255.6 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.4245, allocations: 1.385 MB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.4252, allocations: 198.5 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.4255, allocations: 76.81 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4255, allocations: 7.938 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4256, allocations: 46.48 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.4256, allocations: 4 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008049/0.4264, allocations: 238.5 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4264, allocations: 55.41 kB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.4266, allocations: 153.3 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.4266, allocations: 33.7 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.4268, allocations: 128 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.4268, allocations: 67.09 kB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.4269, allocations: 25.7 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.427, allocations: 326.8 kB / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4273, allocations: 60.42 kB / 1.086 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.4275, allocations: 146.2 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.428, allocations: 226.5 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4281, allocations: 0 / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006217/0.4287, allocations: 247.8 kB / 1.087 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4287, allocations: 12.05 kB / 1.087 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4287, allocations: 4 kB / 1.087 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4287, allocations: 4 kB / 1.087 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.4291, allocations: 59.89 kB / 1.087 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4291, allocations: 4 kB / 1.087 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4294, allocations: 39.73 kB / 1.087 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.4294, allocations: 8 kB / 1.087 GB, free: 9.801 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.00014/0.4295, allocations: 145.6 kB / 1.087 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.4296, allocations: 19.8 kB / 1.087 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.4303, allocations: 228.5 kB / 1.087 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4303, allocations: 0 / 1.087 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4303, allocations: 0 / 1.087 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4303, allocations: 3.984 kB / 1.087 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.4306, allocations: 249.3 kB / 1.088 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4306, allocations: 0 / 1.088 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.431, allocations: 51.95 kB / 1.088 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.431, allocations: 0 / 1.088 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.431, allocations: 4 kB / 1.088 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.431, allocations: 0 / 1.088 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.431, allocations: 0 / 1.088 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.4316, allocations: 299.2 kB / 1.088 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4317, allocations: 108.9 kB / 1.088 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.4318, allocations: 0 / 1.088 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.4321, allocations: 19.98 kB / 1.088 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.4321, allocations: 15.98 kB / 1.088 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.4321, allocations: 11.97 kB / 1.088 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.105e-05/0.4322, allocations: 113.3 kB / 1.088 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4322, allocations: 4 kB / 1.088 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003626/0.4326, allocations: 63.92 kB / 1.088 GB, free: 8.395 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.0002489/0.4329, allocations: 142.5 kB / 1.089 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.4334, allocations: 185.3 kB / 1.089 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4334, allocations: 0 / 1.089 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.4337, allocations: 92.5 kB / 1.089 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.4342, allocations: 59.89 kB / 1.089 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4353, allocations: 495.4 kB / 1.089 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.4356, allocations: 0.7253 MB / 1.09 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.436, allocations: 49.92 kB / 1.09 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.4361, allocations: 23.44 kB / 1.09 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4361, allocations: 0 / 1.09 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of Templates: time 0.007025/0.4431, allocations: 3.241 MB / 1.093 GB, free: 3.391 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)