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.001367/0.001367, 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.001266/0.001266, allocations: 196.2 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 58.62 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01635/0.3667, allocations: 12.98 MB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.3695, allocations: 2.667 MB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3696, allocations: 3.938 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.37, allocations: 51.67 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.3703, allocations: 91.34 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3715, allocations: 0.4933 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3718, allocations: 232 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.3718, allocations: 9.5 kB / 1.084 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008331/0.3802, allocations: 3.588 MB / 1.088 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3804, allocations: 87.66 kB / 1.088 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.3804, allocations: 8 kB / 1.088 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.3834, allocations: 1.068 MB / 1.089 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.3835, allocations: 35.89 kB / 1.089 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3836, allocations: 83.64 kB / 1.089 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008952/0.3845, allocations: 367 kB / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3846, allocations: 0 / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3846, allocations: 0 / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.3846, allocations: 0 / 1.089 GB, free: 4.645 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.0009519/0.3855, allocations: 0.5048 MB / 1.09 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.3856, allocations: 8.031 kB / 1.09 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3858, allocations: 24.73 kB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3861, allocations: 228 kB / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3861, allocations: 8.703 kB / 1.09 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.3861, allocations: 16.38 kB / 1.09 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.3866, allocations: 248.2 kB / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3866, allocations: 3.938 kB / 1.09 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.3866, allocations: 8 kB / 1.09 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.3867, allocations: 7.984 kB / 1.09 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.3872, allocations: 431.5 kB / 1.091 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.3885, allocations: 0.9566 MB / 1.092 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.3888, allocations: 165.8 kB / 1.092 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3889, allocations: 60.88 kB / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.3904, allocations: 1.837 MB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3905, allocations: 34.56 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.3905, allocations: 4 kB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003759/0.3909, allocations: 144.5 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3909, allocations: 63.34 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3911, allocations: 165.2 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3911, allocations: 33.64 kB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.3912, allocations: 139.7 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3913, allocations: 59.19 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.3914, allocations: 53.61 kB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3915, allocations: 326.8 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.3916, allocations: 35.97 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3917, allocations: 138.7 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.3919, allocations: 201.5 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.392, allocations: 0 / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003112/0.3923, allocations: 214.7 kB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3923, allocations: 5.562 kB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3923, allocations: 8 kB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3923, allocations: 4 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3925, allocations: 68.25 kB / 1.095 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3925, allocations: 11.94 kB / 1.095 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3927, allocations: 27.69 kB / 1.095 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3927, allocations: 16 kB / 1.095 GB, free: 13.72 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.0001176/0.3928, allocations: 127 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.3929, allocations: 15.81 kB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.3932, allocations: 155 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3932, allocations: 3.938 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3932, allocations: 0 / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3932, allocations: 4 kB / 1.096 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3935, allocations: 221.4 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3935, allocations: 0 / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.3936, allocations: 27.92 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3936, allocations: 4 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3936, allocations: 4 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3936, allocations: 3.938 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3936, allocations: 0 / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3939, allocations: 224.8 kB / 1.096 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.394, allocations: 105 kB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.394, allocations: 4 kB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3942, allocations: 15.92 kB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3943, allocations: 15.92 kB / 1.096 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3943, allocations: 8 kB / 1.096 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3944, allocations: 125.8 kB / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3944, allocations: 0 / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003949/0.3948, allocations: 83.78 kB / 1.097 GB, free: 12.51 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.0004342/0.3953, allocations: 195 kB / 1.097 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.3955, allocations: 133.9 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3955, allocations: 0 / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.3956, allocations: 43.92 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.3961, allocations: 48.7 kB / 1.097 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.3968, allocations: 342.9 kB / 1.097 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.397, allocations: 0.7128 MB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.3972, allocations: 53.73 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.3973, allocations: 23.44 kB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of SimCode: time 1.944e-06/0.3973, allocations: 4 kB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.007357/0.4046, allocations: 3.627 MB / 1.102 GB, free: 7.316 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)