Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001668/0.001668, 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.001839/0.001839, allocations: 193 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 58.28 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3751, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007083/0.3822, allocations: 4.739 MB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.3853, allocations: 2.726 MB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.3854, allocations: 0 / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3857, allocations: 39.8 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.386, allocations: 87.48 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3871, allocations: 457.9 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3874, allocations: 311.8 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3874, allocations: 17.55 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3876, allocations: 103.6 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3877, allocations: 95.59 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.3878, allocations: 7.938 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.3885, allocations: 375.1 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.3885, allocations: 35.89 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.3886, allocations: 79.66 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.3892, allocations: 371.3 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3892, allocations: 4 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.91e-07/0.3892, allocations: 0 / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3892, allocations: 0 / 1.077 GB, free: 1.441 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.0007734/0.39, allocations: 0.4915 MB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3901, allocations: 8.031 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3902, allocations: 24.73 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3905, allocations: 208.1 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3905, allocations: 16.7 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3905, allocations: 20.38 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.3909, allocations: 256.1 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3909, allocations: 3.984 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.391, allocations: 8 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.391, allocations: 4 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.3915, allocations: 427.5 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3926, allocations: 0.9565 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.3929, allocations: 158.9 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.393, allocations: 68.81 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.3944, allocations: 1.821 MB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3944, allocations: 38.5 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3944, allocations: 4 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003582/0.3948, allocations: 147.5 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3949, allocations: 55.34 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.395, allocations: 171.3 kB / 1.081 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.395, allocations: 29.7 kB / 1.081 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.3951, allocations: 135.8 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.3952, allocations: 55.2 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.3953, allocations: 53.69 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3954, allocations: 334.8 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.3955, allocations: 35.98 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3957, allocations: 138.2 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3959, allocations: 193.5 kB / 1.082 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3959, allocations: 4 kB / 1.082 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003278/0.3963, allocations: 215 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.3963, allocations: 8.469 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3963, allocations: 8 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3964, allocations: 4 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.3965, allocations: 63.78 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3966, allocations: 8 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3967, allocations: 27.69 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3967, allocations: 16 kB / 1.083 GB, free: 10.55 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.0001257/0.3969, allocations: 131.3 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.3969, allocations: 19.75 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.3973, allocations: 155 kB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3973, allocations: 7.938 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3973, allocations: 0 / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3973, allocations: 0 / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.3975, allocations: 221.4 kB / 1.083 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3976, allocations: 0 / 1.083 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.3976, allocations: 23.98 kB / 1.083 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3977, allocations: 3.938 kB / 1.083 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3977, allocations: 8 kB / 1.083 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3977, allocations: 7.938 kB / 1.083 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3977, allocations: 4 kB / 1.083 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3979, allocations: 217.2 kB / 1.083 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.398, allocations: 109 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3981, allocations: 3.938 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3983, allocations: 19.92 kB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3983, allocations: 11.97 kB / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3983, allocations: 16 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.196e-05/0.3984, allocations: 124.9 kB / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3984, allocations: 0 / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004081/0.3988, allocations: 79.94 kB / 1.084 GB, free: 9.316 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.0003767/0.3992, allocations: 171.1 kB / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3994, allocations: 123.7 kB / 1.084 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3995, allocations: 0 / 1.084 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.3995, allocations: 39.98 kB / 1.084 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.4, allocations: 72.19 kB / 1.084 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.4008, allocations: 388.4 kB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4011, allocations: 0.717 MB / 1.085 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.4013, allocations: 45.75 kB / 1.085 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.4013, allocations: 23.44 kB / 1.085 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4013, allocations: 4 kB / 1.085 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.007573/0.4089, allocations: 3.309 MB / 1.089 GB, free: 4.422 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)