Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001584/0.001584, 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.002018/0.002018, allocations: 191.3 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 74.45 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3211, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01584/0.337, allocations: 13.1 MB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.3398, allocations: 2.668 MB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3399, allocations: 0 / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3403, allocations: 43.69 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3406, allocations: 95.47 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3418, allocations: 469.1 kB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.3421, allocations: 231.9 kB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.3421, allocations: 13.5 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00755/0.3497, allocations: 3.354 MB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3499, allocations: 95.59 kB / 1.087 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3499, allocations: 8 kB / 1.087 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.3525, allocations: 1.049 MB / 1.088 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.3525, allocations: 31.91 kB / 1.088 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.3526, allocations: 83.64 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007875/0.3534, allocations: 375 kB / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3535, allocations: 0 / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3535, allocations: 0 / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3535, allocations: 0 / 1.089 GB, free: 5.105 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.0007725/0.3542, allocations: 0.4992 MB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3543, allocations: 12.02 kB / 1.089 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.3545, allocations: 20.75 kB / 1.089 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3547, allocations: 220 kB / 1.089 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3547, allocations: 12.7 kB / 1.09 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3548, allocations: 20.31 kB / 1.09 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.3552, allocations: 252.2 kB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3552, allocations: 0 / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.3552, allocations: 12 kB / 1.09 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.3553, allocations: 7.984 kB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.3558, allocations: 439.4 kB / 1.09 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.357, allocations: 0.9527 MB / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.3572, allocations: 163 kB / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3574, allocations: 60.88 kB / 1.091 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.3587, allocations: 1.833 MB / 1.093 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3587, allocations: 34.56 kB / 1.093 GB, free: 20 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3587, allocations: 0 / 1.093 GB, free: 20 kB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0004363/0.3592, allocations: 151.1 kB / 1.093 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.3592, allocations: 55.34 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3594, allocations: 163.3 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3595, allocations: 29.7 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.3596, allocations: 147.8 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.3596, allocations: 55.14 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.3597, allocations: 61.61 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3599, allocations: 322.8 kB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.36, allocations: 39.91 kB / 1.094 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3602, allocations: 143.2 kB / 1.094 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.3604, allocations: 193.5 kB / 1.094 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3604, allocations: 4 kB / 1.094 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003705/0.3608, allocations: 211 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3608, allocations: 12 kB / 1.095 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3609, allocations: 4 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3609, allocations: 7.938 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3611, allocations: 59.84 kB / 1.095 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3611, allocations: 4 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3612, allocations: 27.69 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.3613, allocations: 16 kB / 1.095 GB, free: 14.19 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.0001326/0.3614, allocations: 130.4 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.3615, allocations: 23.81 kB / 1.095 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.3618, allocations: 156.7 kB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3618, allocations: 3.938 kB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3618, allocations: 0 / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3619, allocations: 0 / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.3621, allocations: 225.4 kB / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3621, allocations: 0 / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.3622, allocations: 27.92 kB / 1.095 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.3623, allocations: 4 kB / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3623, allocations: 0 / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3623, allocations: 7.938 kB / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3623, allocations: 0 / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3626, allocations: 227.2 kB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3627, allocations: 105 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.3627, allocations: 4 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3629, allocations: 15.92 kB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.363, allocations: 19.98 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.363, allocations: 8 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.909e-05/0.3631, allocations: 120.9 kB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3631, allocations: 0 / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004604/0.3636, allocations: 83.84 kB / 1.096 GB, free: 12.96 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.0003722/0.364, allocations: 191 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.3642, allocations: 126 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3643, allocations: 0.9375 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.3643, allocations: 47.91 kB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.3648, allocations: 57.84 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.3655, allocations: 394.9 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3658, allocations: 0.7089 MB / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.366, allocations: 57.67 kB / 1.097 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.3661, allocations: 19.44 kB / 1.097 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.3661, allocations: 0 / 1.097 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.007654/0.3737, allocations: 3.62 MB / 1.101 GB, free: 7.738 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)