Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001035, 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.00119/0.00119, allocations: 194.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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 66.42 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01749/0.3457, allocations: 12.98 MB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3488, allocations: 2.663 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.349, allocations: 4 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.3494, allocations: 47.67 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.3498, allocations: 95.34 kB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.3512, allocations: 0.4939 MB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.3515, allocations: 235.9 kB / 1.084 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.3516, allocations: 17.5 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.3621, allocations: 3.58 MB / 1.088 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3623, allocations: 91.61 kB / 1.088 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.3624, allocations: 8 kB / 1.088 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.3657, allocations: 1.067 MB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.3658, allocations: 31.91 kB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3659, allocations: 87.64 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3671, allocations: 371 kB / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3671, allocations: 0 / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3671, allocations: 0 / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3671, allocations: 0 / 1.089 GB, free: 4.664 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.0008941/0.368, allocations: 0.4992 MB / 1.09 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3681, allocations: 8.031 kB / 1.09 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.3683, allocations: 28.73 kB / 1.09 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.3686, allocations: 216 kB / 1.09 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3686, allocations: 16.7 kB / 1.09 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3686, allocations: 12.38 kB / 1.09 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.3691, allocations: 252.2 kB / 1.09 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3691, allocations: 0 / 1.09 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3691, allocations: 7.938 kB / 1.09 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.3691, allocations: 11.98 kB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.3697, allocations: 435.5 kB / 1.091 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3709, allocations: 0.9527 MB / 1.092 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3712, allocations: 167.3 kB / 1.092 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3713, allocations: 64.88 kB / 1.092 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.3727, allocations: 1.829 MB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.3728, allocations: 42.55 kB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.3728, allocations: 0 / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003711/0.3732, allocations: 147.3 kB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3732, allocations: 59.34 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3734, allocations: 161.2 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.3734, allocations: 33.7 kB / 1.094 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.3735, allocations: 143.8 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.3735, allocations: 59.2 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.3736, allocations: 49.61 kB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3738, allocations: 326.8 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.3738, allocations: 39.97 kB / 1.095 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.374, allocations: 138.7 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.3742, allocations: 203.2 kB / 1.095 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3742, allocations: 0 / 1.095 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003501/0.3746, allocations: 213.5 kB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3746, allocations: 8 kB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3746, allocations: 4 kB / 1.095 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3747, allocations: 11.88 kB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3748, allocations: 55.86 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3749, allocations: 7.984 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.375, allocations: 27.69 kB / 1.095 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.375, allocations: 16 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001161/0.3751, allocations: 130.4 kB / 1.096 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.3752, allocations: 19.81 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.3755, allocations: 157.2 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3755, allocations: 7.938 kB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3755, allocations: 0 / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3756, allocations: 0 / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3758, allocations: 221.4 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3758, allocations: 0 / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/0.3759, allocations: 23.94 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3759, allocations: 0 / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3759, allocations: 11.98 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.3759, allocations: 7.938 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.376, allocations: 0 / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3762, allocations: 219.2 kB / 1.096 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.3763, allocations: 105 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3764, allocations: 8 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3766, allocations: 15.92 kB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3766, allocations: 15.98 kB / 1.096 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3766, allocations: 8 kB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.3767, allocations: 117.8 kB / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3767, allocations: 0 / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004252/0.3772, allocations: 91.81 kB / 1.097 GB, free: 12.53 MB / 0.8575 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003794/0.3776, allocations: 191 kB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3779, allocations: 130 kB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3779, allocations: 0.9375 kB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.3779, allocations: 43.92 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3784, allocations: 53.67 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007359/0.3792, allocations: 350.4 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3794, allocations: 0.7128 MB / 1.098 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.3796, allocations: 45.75 kB / 1.098 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.3797, allocations: 27.42 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3797, allocations: 0 / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.007821/0.3875, allocations: 3.633 MB / 1.102 GB, free: 7.336 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)