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.00125/0.00125, allocations: 91.14 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.01115/0.01115, allocations: 172.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.52/1.52, allocations: 223.2 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 3.056/3.056, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004397, allocations: 12.84 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3596, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01793/0.3776, allocations: 13.36 MB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.3806, allocations: 2.66 MB / 1.09 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.3808, allocations: 0 / 1.09 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.381, allocations: 39.75 kB / 1.09 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.3813, allocations: 95.41 kB / 1.09 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3824, allocations: 461.6 kB / 1.09 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000317/0.3827, allocations: 299.9 kB / 1.091 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.3828, allocations: 13.5 kB / 1.091 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007866/0.3907, allocations: 3.15 MB / 1.094 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3909, allocations: 95.59 kB / 1.094 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3909, allocations: 4 kB / 1.094 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3934, allocations: 0.974 MB / 1.095 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.3935, allocations: 39.88 kB / 1.095 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3937, allocations: 101.4 kB / 1.095 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.3945, allocations: 371 kB / 1.095 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3945, allocations: 0 / 1.095 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3945, allocations: 0 / 1.095 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3945, allocations: 4 kB / 1.095 GB, free: 1.844 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.0007391/0.3953, allocations: 475.2 kB / 1.096 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3953, allocations: 8.031 kB / 1.096 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3955, allocations: 20.75 kB / 1.096 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3957, allocations: 216.2 kB / 1.096 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3958, allocations: 12.7 kB / 1.096 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3958, allocations: 16.38 kB / 1.096 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.3962, allocations: 252.2 kB / 1.096 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3962, allocations: 0 / 1.096 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.3963, allocations: 8 kB / 1.096 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.3963, allocations: 4 kB / 1.096 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.3968, allocations: 431.5 kB / 1.097 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.398, allocations: 0.9644 MB / 1.098 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.3983, allocations: 159.7 kB / 1.098 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3984, allocations: 72.86 kB / 1.098 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.3999, allocations: 1.829 MB / 1.1 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3999, allocations: 42.5 kB / 1.1 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3999, allocations: 0 / 1.1 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003348/0.4003, allocations: 141.5 kB / 1.1 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4003, allocations: 63.28 kB / 1.1 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4005, allocations: 175.2 kB / 1.1 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4005, allocations: 29.7 kB / 1.1 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4006, allocations: 143.8 kB / 1.1 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.4007, allocations: 51.25 kB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.4008, allocations: 25.72 kB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4009, allocations: 322.8 kB / 1.101 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.401, allocations: 39.97 kB / 1.101 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4011, allocations: 142.8 kB / 1.101 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.4014, allocations: 199.6 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4014, allocations: 0 / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003565/0.4018, allocations: 218.5 kB / 1.101 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4018, allocations: 4 kB / 1.101 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4018, allocations: 4 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4018, allocations: 8.469 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.402, allocations: 59.84 kB / 1.101 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4021, allocations: 11.92 kB / 1.101 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4022, allocations: 27.75 kB / 1.101 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4022, allocations: 12 kB / 1.101 GB, free: 11 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.0001269/0.4024, allocations: 131 kB / 1.101 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.4024, allocations: 19.81 kB / 1.101 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.4027, allocations: 158.9 kB / 1.102 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4028, allocations: 11.94 kB / 1.102 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4028, allocations: 0 / 1.102 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4028, allocations: 0 / 1.102 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.403, allocations: 213.5 kB / 1.102 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.403, allocations: 0 / 1.102 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.4032, allocations: 27.98 kB / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4032, allocations: 0 / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4032, allocations: 0 / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4032, allocations: 7.938 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4032, allocations: 3.938 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4034, allocations: 221.1 kB / 1.102 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4036, allocations: 116.9 kB / 1.102 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.4036, allocations: 4 kB / 1.102 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.4039, allocations: 27.83 kB / 1.102 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.4039, allocations: 7.984 kB / 1.102 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.4039, allocations: 15.94 kB / 1.102 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001049/0.404, allocations: 124.9 kB / 1.102 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.404, allocations: 0 / 1.102 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004297/0.4045, allocations: 79.98 kB / 1.102 GB, free: 9.758 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.0004234/0.4049, allocations: 191.1 kB / 1.103 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.4052, allocations: 115.8 kB / 1.103 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4052, allocations: 3.938 kB / 1.103 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/0.4053, allocations: 41.81 kB / 1.103 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.4057, allocations: 48.91 kB / 1.103 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.4065, allocations: 437.4 kB / 1.103 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4068, allocations: 0.7131 MB / 1.104 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.407, allocations: 57.67 kB / 1.104 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.407, allocations: 19.44 kB / 1.104 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.407, allocations: 0 / 1.104 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of Templates: time 0.008175/0.4152, allocations: 3.514 MB / 1.107 GB, free: 4.609 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)