Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001139/0.00114, allocations: 191.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 251.6 MB / 0.5089 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.89 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4553, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004991/0.4604, allocations: 3.789 MB / 0.7277 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.4605, allocations: 151.5 kB / 0.7278 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.4606, allocations: 0 / 0.7278 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.484e-05/0.4607, allocations: 3.984 kB / 0.7278 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.4607, allocations: 15.92 kB / 0.7278 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.461, allocations: 63.78 kB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.4611, allocations: 31.84 kB / 0.7279 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.4611, allocations: 3.984 kB / 0.7279 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.4612, allocations: 12 kB / 0.7279 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.4612, allocations: 19.91 kB / 0.728 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.4613, allocations: 0 / 0.728 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.4618, allocations: 187.5 kB / 0.7281 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.4618, allocations: 4 kB / 0.7281 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.4618, allocations: 7.938 kB / 0.7281 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.4619, allocations: 45.92 kB / 0.7282 GB, free: 8.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.462, allocations: 0 / 0.7282 GB, free: 8.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.462, allocations: 0 / 0.7282 GB, free: 8.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.462, allocations: 4 kB / 0.7282 GB, free: 8.746 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003754/0.4624, allocations: 335.5 kB / 0.7285 GB, free: 8.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4624, allocations: 8.031 kB / 0.7285 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4624, allocations: 4.844 kB / 0.7285 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.4625, allocations: 168.4 kB / 0.7287 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.4626, allocations: 26.27 kB / 0.7287 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4626, allocations: 384 / 0.7287 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4628, allocations: 61.55 kB / 0.7288 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.4628, allocations: 0 / 0.7288 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4628, allocations: 0 / 0.7288 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4628, allocations: 3.938 kB / 0.7288 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.4629, allocations: 15.98 kB / 0.7288 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.4632, allocations: 330 kB / 0.7291 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.4633, allocations: 26.55 kB / 0.7291 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.4633, allocations: 8.859 kB / 0.7291 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.4634, allocations: 81.17 kB / 0.7292 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.4634, allocations: 38.5 kB / 0.7293 GB, free: 7.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.865e-06/0.4634, allocations: 7.984 kB / 0.7293 GB, free: 7.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.4636, allocations: 33.69 kB / 0.7293 GB, free: 7.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4636, allocations: 51.41 kB / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.4637, allocations: 101.9 kB / 0.7294 GB, free: 7.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4637, allocations: 29.64 kB / 0.7295 GB, free: 7.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.4638, allocations: 91.97 kB / 0.7296 GB, free: 7.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.4638, allocations: 11.91 kB / 0.7296 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.4638, allocations: 13.72 kB / 0.7296 GB, free: 7.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4639, allocations: 318.9 kB / 0.7299 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.4639, allocations: 3.984 kB / 0.7299 GB, free: 6.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.464, allocations: 17.72 kB / 0.7299 GB, free: 6.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.464, allocations: 21.72 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.464, allocations: 0 / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.679e-05/0.4641, allocations: 45.69 kB / 0.73 GB, free: 6.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4641, allocations: 12 kB / 0.73 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4641, allocations: 0 / 0.73 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.4641, allocations: 0 / 0.73 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.79e-05/0.4642, allocations: 4 kB / 0.73 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.4642, allocations: 3.984 kB / 0.73 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.4642, allocations: 8 kB / 0.73 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4642, allocations: 0 / 0.73 GB, free: 6.625 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 6.551e-05/0.4643, allocations: 113.8 kB / 0.7301 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4643, allocations: 0 / 0.7301 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.4644, allocations: 124.9 kB / 0.7302 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/0.4645, allocations: 180.3 kB / 0.7304 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-05/0.4645, allocations: 184.2 kB / 0.7306 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/0.4646, allocations: 180.3 kB / 0.7307 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.4648, allocations: 413.1 kB / 0.7311 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.4649, allocations: 105 kB / 0.7312 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.4649, allocations: 104.9 kB / 0.7313 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-05/0.465, allocations: 184.2 kB / 0.7315 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.465, allocations: 176.3 kB / 0.7317 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.194e-05/0.4651, allocations: 184.2 kB / 0.7319 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.748e-05/0.4651, allocations: 180.3 kB / 0.732 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.4653, allocations: 315.6 kB / 0.7323 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.4653, allocations: 178.1 kB / 0.7325 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.4654, allocations: 188.2 kB / 0.7327 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4656, allocations: 113 kB / 0.7328 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.4656, allocations: 184.2 kB / 0.733 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.4657, allocations: 101 kB / 0.7331 GB, free: 3.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.4657, allocations: 83.28 kB / 0.7331 GB, free: 3.184 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4657, allocations: 3.938 kB / 0.7331 GB, free: 3.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000231/0.466, allocations: 19.98 kB / 0.7332 GB, free: 3.16 MB / 0.545 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002475/0.4662, allocations: 206.4 kB / 0.7334 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.4663, allocations: 15.92 kB / 0.7334 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4663, allocations: 0 / 0.7334 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4663, allocations: 4 kB / 0.7334 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.4667, allocations: 462.9 kB / 0.7338 GB, free: 2.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.4669, allocations: 182.1 kB / 0.734 GB, free: 2.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.4671, allocations: 0.6729 MB / 0.7347 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.4672, allocations: 11.23 kB / 0.7347 GB, free: 1.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.4672, allocations: 7.438 kB / 0.7347 GB, free: 1.559 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4672, allocations: 0 / 0.7347 GB, free: 1.559 MB / 0.545 GB Notification: Performance of Templates: time 0.002345/0.4695, allocations: 0.6012 MB / 0.7353 GB, free: 0.9688 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)