Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 111.3 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.002206/0.002206, allocations: 193.3 kB / 16.14 MB, free: 6.695 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.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 57.81 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3857, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00644/0.3922, allocations: 4.747 MB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003067/0.3953, allocations: 2.722 MB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3954, allocations: 8 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3957, allocations: 35.8 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.3961, allocations: 83.48 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3975, allocations: 468.2 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.3979, allocations: 307.8 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.398, allocations: 13.55 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.3983, allocations: 111.6 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3985, allocations: 87.66 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3985, allocations: 8 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.3995, allocations: 375.1 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.3996, allocations: 35.89 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3997, allocations: 83.66 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.4004, allocations: 367.3 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.4004, allocations: 4 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4004, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.4005, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 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.0007853/0.4012, allocations: 0.4914 MB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4013, allocations: 12.03 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.4015, allocations: 24.73 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.4017, allocations: 212.1 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4018, allocations: 16.7 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4018, allocations: 12.38 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.4022, allocations: 252.2 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4022, allocations: 3.938 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.4023, allocations: 8 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.4023, allocations: 4 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.4028, allocations: 427.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.4042, allocations: 0.9565 MB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.4045, allocations: 158.4 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4046, allocations: 70.12 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/0.4062, allocations: 1.825 MB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.4063, allocations: 38.56 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.4063, allocations: 3.938 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003698/0.4067, allocations: 145.4 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.4067, allocations: 59.34 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.4069, allocations: 167.3 kB / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.407, allocations: 33.7 kB / 1.081 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4071, allocations: 143.7 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.4071, allocations: 51.2 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.4072, allocations: 53.69 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4073, allocations: 334.8 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.4074, allocations: 35.98 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.4076, allocations: 135.8 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.4078, allocations: 201.5 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4078, allocations: 0 / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003392/0.4082, allocations: 215.5 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4082, allocations: 8 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4082, allocations: 4 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4083, allocations: 4 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.4084, allocations: 59.84 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4085, allocations: 7.938 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4086, allocations: 31.69 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.4086, allocations: 16 kB / 1.083 GB, free: 10.62 MB / 0.8419 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.0001278/0.4087, allocations: 133.8 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.4088, allocations: 23.75 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.4091, allocations: 147 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.4091, allocations: 7.938 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4091, allocations: 0 / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4092, allocations: 0 / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.4094, allocations: 221.4 kB / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4094, allocations: 0 / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.4095, allocations: 31.92 kB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4095, allocations: 0 / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4096, allocations: 8 kB / 1.083 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4096, allocations: 3.938 kB / 1.083 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4096, allocations: 0 / 1.083 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.4098, allocations: 217.2 kB / 1.083 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.4099, allocations: 109 kB / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.41, allocations: 0 / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4102, allocations: 19.92 kB / 1.084 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.4102, allocations: 11.98 kB / 1.084 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.4102, allocations: 15.94 kB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.467e-05/0.4103, allocations: 124.9 kB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4103, allocations: 0 / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004166/0.4108, allocations: 75.94 kB / 1.084 GB, free: 9.395 MB / 0.8419 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.0004311/0.4112, allocations: 179.2 kB / 1.084 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4115, allocations: 115.7 kB / 1.084 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4115, allocations: 0 / 1.084 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.4115, allocations: 45.89 kB / 1.084 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.412, allocations: 60.73 kB / 1.084 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.4128, allocations: 392.4 kB / 1.085 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.4131, allocations: 0.7131 MB / 1.085 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000182/0.4133, allocations: 53.78 kB / 1.085 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.4134, allocations: 23.44 kB / 1.085 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4134, allocations: 0 / 1.085 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.007764/0.4211, allocations: 3.313 MB / 1.089 GB, free: 4.496 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_1.6_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.WaterProperties.pipe 2>&1)