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.001275/0.001275, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001567/0.001567, allocations: 190.1 kB / 16.14 MB, free: 6.707 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.44 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01598/0.3501, allocations: 13.87 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3528, allocations: 2.699 MB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.3529, allocations: 0 / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.3532, allocations: 43.73 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.3534, allocations: 91.48 kB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009343/0.3544, allocations: 456.3 kB / 1.084 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.3546, allocations: 311.8 kB / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.3547, allocations: 17.5 kB / 1.085 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007702/0.3624, allocations: 3.145 MB / 1.088 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3626, allocations: 95.59 kB / 1.088 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3626, allocations: 4 kB / 1.088 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.3649, allocations: 0.9779 MB / 1.089 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.3649, allocations: 43.83 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.365, allocations: 83.58 kB / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.3656, allocations: 359.2 kB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3656, allocations: 3.938 kB / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3657, allocations: 0 / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3657, allocations: 0 / 1.089 GB, free: 4.695 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.000741/0.3664, allocations: 0.5031 MB / 1.09 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3665, allocations: 12.02 kB / 1.09 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.3666, allocations: 28.75 kB / 1.09 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3668, allocations: 212.1 kB / 1.09 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3669, allocations: 12.7 kB / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3669, allocations: 12.38 kB / 1.09 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.3673, allocations: 248.2 kB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3673, allocations: 3.938 kB / 1.09 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3673, allocations: 15.97 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.3674, allocations: 8 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.3679, allocations: 427.5 kB / 1.091 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3691, allocations: 0.9566 MB / 1.092 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.3694, allocations: 159 kB / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3696, allocations: 64.81 kB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/0.3712, allocations: 1.833 MB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3713, allocations: 38.56 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3713, allocations: 0 / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004402/0.3718, allocations: 147.5 kB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3718, allocations: 63.28 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.372, allocations: 167.3 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3721, allocations: 41.62 kB / 1.094 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3722, allocations: 143.8 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.3723, allocations: 47.27 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.3724, allocations: 53.61 kB / 1.094 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3725, allocations: 326.8 kB / 1.094 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.3726, allocations: 35.97 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3728, allocations: 138.9 kB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.373, allocations: 201.5 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.373, allocations: 0 / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003345/0.3734, allocations: 214.8 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3734, allocations: 4 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3734, allocations: 4 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3735, allocations: 8 kB / 1.095 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3736, allocations: 59.84 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3737, allocations: 7.938 kB / 1.095 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3738, allocations: 24.12 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3738, allocations: 20 kB / 1.095 GB, free: 13.79 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.0001225/0.3739, allocations: 134.4 kB / 1.095 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.374, allocations: 19.81 kB / 1.095 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.3743, allocations: 151 kB / 1.095 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3743, allocations: 7.938 kB / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3743, allocations: 0 / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3743, allocations: 0 / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3746, allocations: 217.5 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3746, allocations: 4 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.3747, allocations: 27.92 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3747, allocations: 0 / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3747, allocations: 4 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.3747, allocations: 7.938 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3748, allocations: 0 / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.375, allocations: 217.4 kB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.3751, allocations: 112.8 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3751, allocations: 11.94 kB / 1.096 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3753, allocations: 23.92 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3754, allocations: 11.98 kB / 1.096 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3754, allocations: 11.98 kB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001094/0.3755, allocations: 124.8 kB / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 0 / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004038/0.3759, allocations: 75.91 kB / 1.096 GB, free: 12.55 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.0004772/0.3764, allocations: 187.1 kB / 1.096 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3767, allocations: 112.6 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3767, allocations: 4.062 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.3768, allocations: 45.89 kB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.3773, allocations: 55.88 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.378, allocations: 396.4 kB / 1.097 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3783, allocations: 0.7053 MB / 1.098 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000183/0.3785, allocations: 57.67 kB / 1.098 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3786, allocations: 23.44 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3786, allocations: 0 / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.007695/0.3863, allocations: 3.525 MB / 1.101 GB, free: 7.438 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)