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.001497/0.001497, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001209/0.001209, allocations: 190.4 kB / 16.25 MB, free: 6.629 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 61.45 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005797/0.3541, allocations: 4.1 MB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.3569, allocations: 2.426 MB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.357, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.3573, allocations: 39.8 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.3577, allocations: 87.48 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3592, allocations: 0.49 MB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.3596, allocations: 259.9 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.3597, allocations: 13.55 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.36, allocations: 119.6 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3602, allocations: 95.59 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.3602, allocations: 12 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3612, allocations: 459.2 kB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.3613, allocations: 35.89 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3614, allocations: 95.52 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.362, allocations: 411.3 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.362, allocations: 0 / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3621, allocations: 0 / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3621, allocations: 0 / 1.076 GB, free: 2.191 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.0008057/0.3629, allocations: 0.5031 MB / 1.077 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3629, allocations: 16.02 kB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.365, allocations: 180.5 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3653, allocations: 204.2 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.3653, allocations: 12.64 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.3654, allocations: 20.38 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.3661, allocations: 308.3 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3661, allocations: 4 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.3662, allocations: 8 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.3662, allocations: 8 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.3669, allocations: 255.6 kB / 1.078 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.3685, allocations: 1.392 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.3692, allocations: 194.5 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3695, allocations: 82.16 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.3695, allocations: 3.984 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3696, allocations: 38.56 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.3696, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008167/0.3704, allocations: 242.8 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3704, allocations: 51.41 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3706, allocations: 169 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3706, allocations: 29.7 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3707, allocations: 128 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.3708, allocations: 59.11 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3709, allocations: 49.92 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.371, allocations: 326.8 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.3712, allocations: 64.36 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.3715, allocations: 142.3 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.372, allocations: 226.5 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.372, allocations: 0 / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005923/0.3726, allocations: 245.2 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3726, allocations: 5.562 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3726, allocations: 4 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3727, allocations: 4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.373, allocations: 63.89 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3731, allocations: 7.984 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.3733, allocations: 40.05 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3734, allocations: 15.88 kB / 1.081 GB, free: 12.78 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.0001148/0.3735, allocations: 133.7 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.3735, allocations: 15.91 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.3742, allocations: 232.7 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3742, allocations: 0 / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3742, allocations: 0 / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3742, allocations: 8 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.3746, allocations: 249.3 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3746, allocations: 4 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.3749, allocations: 51.95 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3749, allocations: 0 / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3749, allocations: 4 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3749, allocations: 3.938 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3749, allocations: 0 / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.3755, allocations: 300.9 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3756, allocations: 104.9 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.3757, allocations: 3.984 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.376, allocations: 19.98 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.376, allocations: 11.98 kB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.376, allocations: 12 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.3761, allocations: 111.2 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3761, allocations: 0 / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003684/0.3765, allocations: 67.92 kB / 1.082 GB, free: 11.38 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.0002323/0.3767, allocations: 135.3 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005695/0.3773, allocations: 187.7 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3773, allocations: 0.625 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.3776, allocations: 95.81 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.3781, allocations: 75.69 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/0.3791, allocations: 456.7 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3794, allocations: 0.7134 MB / 1.084 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003704/0.3798, allocations: 53.92 kB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.3799, allocations: 27.42 kB / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3799, allocations: 0 / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of Templates: time 0.00685/0.3867, allocations: 3.388 MB / 1.087 GB, free: 6.254 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)