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.0008523/0.0008523, 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.006591/0.006591, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 10.06 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3674, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01936/0.3868, allocations: 13.36 MB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.3901, allocations: 2.652 MB / 1.09 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.3903, allocations: 3.938 kB / 1.09 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.3906, allocations: 39.81 kB / 1.09 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.391, allocations: 95.41 kB / 1.09 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.3924, allocations: 460.7 kB / 1.09 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.3928, allocations: 303.8 kB / 1.091 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.3929, allocations: 17.5 kB / 1.091 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009619/0.4025, allocations: 3.144 MB / 1.094 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.4028, allocations: 99.58 kB / 1.094 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.4028, allocations: 7.938 kB / 1.094 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.4064, allocations: 0.9751 MB / 1.095 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4065, allocations: 35.89 kB / 1.095 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.4067, allocations: 105.3 kB / 1.095 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.4082, allocations: 371 kB / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4083, allocations: 0 / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4083, allocations: 0 / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4083, allocations: 0 / 1.095 GB, free: 1.82 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.001013/0.4093, allocations: 475.2 kB / 1.096 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4094, allocations: 12.02 kB / 1.096 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.4096, allocations: 24.75 kB / 1.096 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.4098, allocations: 208.2 kB / 1.096 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.4099, allocations: 12.7 kB / 1.096 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.4099, allocations: 16.38 kB / 1.096 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.4103, allocations: 256.1 kB / 1.096 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4104, allocations: 0 / 1.096 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.4104, allocations: 15.98 kB / 1.096 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.4104, allocations: 4 kB / 1.096 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.411, allocations: 427.5 kB / 1.097 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4123, allocations: 0.9643 MB / 1.098 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.4126, allocations: 165.9 kB / 1.098 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4127, allocations: 60.88 kB / 1.098 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.4143, allocations: 1.837 MB / 1.1 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.4143, allocations: 38.5 kB / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.4143, allocations: 0 / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003758/0.4147, allocations: 147.7 kB / 1.1 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4148, allocations: 59.34 kB / 1.1 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.415, allocations: 175.2 kB / 1.1 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.415, allocations: 29.7 kB / 1.1 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4151, allocations: 143.8 kB / 1.1 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.4152, allocations: 47.27 kB / 1.1 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.4152, allocations: 25.7 kB / 1.1 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4154, allocations: 326.8 kB / 1.101 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.4155, allocations: 35.97 kB / 1.101 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.4157, allocations: 146.8 kB / 1.101 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.4159, allocations: 193.5 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4159, allocations: 0 / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003499/0.4163, allocations: 226.5 kB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4163, allocations: 5.406 kB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4163, allocations: 4 kB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4163, allocations: 4 kB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.4165, allocations: 55.86 kB / 1.101 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.4165, allocations: 8.453 kB / 1.101 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4167, allocations: 31.73 kB / 1.101 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.4167, allocations: 19.94 kB / 1.101 GB, free: 10.96 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.000122/0.4168, allocations: 130.4 kB / 1.101 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.4169, allocations: 15.81 kB / 1.101 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.4172, allocations: 154.9 kB / 1.102 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4172, allocations: 7.922 kB / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4172, allocations: 0 / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4172, allocations: 4 kB / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.4175, allocations: 217.5 kB / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4175, allocations: 3.984 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.4176, allocations: 24 kB / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4176, allocations: 0 / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4176, allocations: 3.984 kB / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4176, allocations: 7.875 kB / 1.102 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4176, allocations: 4 kB / 1.102 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.4179, allocations: 217.1 kB / 1.102 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.418, allocations: 112.9 kB / 1.102 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.418, allocations: 4 kB / 1.102 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4183, allocations: 31.83 kB / 1.102 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.4183, allocations: 15.92 kB / 1.102 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4183, allocations: 12 kB / 1.102 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.914e-05/0.4184, allocations: 112.9 kB / 1.102 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4184, allocations: 0 / 1.102 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004347/0.4189, allocations: 83.98 kB / 1.102 GB, free: 9.734 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.0004007/0.4193, allocations: 183.1 kB / 1.103 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.4195, allocations: 121.5 kB / 1.103 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.4196, allocations: 4 kB / 1.103 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.4196, allocations: 43.92 kB / 1.103 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.4201, allocations: 56.88 kB / 1.103 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.421, allocations: 433.4 kB / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.4213, allocations: 0.717 MB / 1.104 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000193/0.4215, allocations: 45.69 kB / 1.104 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.4215, allocations: 31.42 kB / 1.104 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/0.4215, allocations: 0 / 1.104 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.008071/0.4296, allocations: 3.504 MB / 1.107 GB, free: 4.586 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)