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.0009907/0.0009906, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 192.5 kB / 16.13 MB, free: 6.699 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.477/1.477, allocations: 205.1 MB / 222 MB, free: 4.684 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.491/1.491, allocations: 251.6 MB / 0.5088 GB, free: 3.289 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.00124/0.00124, allocations: 63.91 kB / 0.6215 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5105, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005844/0.5164, allocations: 3.808 MB / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002091/0.5167, allocations: 155.5 kB / 0.7277 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.5167, allocations: 0 / 0.7277 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.5168, allocations: 7.984 kB / 0.7277 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.517, allocations: 11.92 kB / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.5173, allocations: 67.77 kB / 0.7277 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.5174, allocations: 63.81 kB / 0.7278 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.5174, allocations: 0 / 0.7278 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.5175, allocations: 8 kB / 0.7278 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.5176, allocations: 19.91 kB / 0.7278 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.5176, allocations: 0 / 0.7278 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.5181, allocations: 195.5 kB / 0.728 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.5182, allocations: 0 / 0.728 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.5182, allocations: 19.91 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.5184, allocations: 33.95 kB / 0.7281 GB, free: 8.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5184, allocations: 7.984 kB / 0.7281 GB, free: 8.781 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5184, allocations: 0 / 0.7281 GB, free: 8.781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5184, allocations: 0 / 0.7281 GB, free: 8.781 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.000432/0.5189, allocations: 339.5 kB / 0.7284 GB, free: 8.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.5189, allocations: 11.97 kB / 0.7284 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.519, allocations: 8.844 kB / 0.7284 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.5191, allocations: 160.4 kB / 0.7286 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.5192, allocations: 26.27 kB / 0.7286 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5192, allocations: 16.3 kB / 0.7286 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5193, allocations: 49.61 kB / 0.7287 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5194, allocations: 0 / 0.7287 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5194, allocations: 3.938 kB / 0.7287 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.5194, allocations: 0 / 0.7287 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.5195, allocations: 19.98 kB / 0.7287 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.5199, allocations: 326 kB / 0.729 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/0.52, allocations: 30.52 kB / 0.729 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.52, allocations: 4.859 kB / 0.729 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.5201, allocations: 85.17 kB / 0.7291 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5201, allocations: 30.56 kB / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.5201, allocations: 0 / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.5203, allocations: 33.69 kB / 0.7292 GB, free: 7.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5203, allocations: 63.53 kB / 0.7292 GB, free: 7.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.5204, allocations: 101.8 kB / 0.7293 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.5204, allocations: 25.7 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.5205, allocations: 92.05 kB / 0.7294 GB, free: 7.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.5205, allocations: 7.844 kB / 0.7294 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.5205, allocations: 13.72 kB / 0.7295 GB, free: 7.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5207, allocations: 318.8 kB / 0.7298 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.5207, allocations: 7.984 kB / 0.7298 GB, free: 6.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.5207, allocations: 17.72 kB / 0.7298 GB, free: 6.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.5208, allocations: 17.72 kB / 0.7298 GB, free: 6.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5208, allocations: 0 / 0.7298 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001517/0.5209, allocations: 49.62 kB / 0.7298 GB, free: 6.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5209, allocations: 8 kB / 0.7299 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.521, allocations: 0 / 0.7299 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.521, allocations: 64 / 0.7299 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.521, allocations: 11.98 kB / 0.7299 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.521, allocations: 4 kB / 0.7299 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.5211, allocations: 0 / 0.7299 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5211, allocations: 0 / 0.7299 GB, free: 6.66 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 7.568e-05/0.5212, allocations: 113.8 kB / 0.73 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.5212, allocations: 3.938 kB / 0.73 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.5213, allocations: 121 kB / 0.7301 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-05/0.5214, allocations: 184.3 kB / 0.7303 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/0.5215, allocations: 184.2 kB / 0.7304 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.657e-05/0.5216, allocations: 180.3 kB / 0.7306 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.5219, allocations: 413 kB / 0.731 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/0.5219, allocations: 108.9 kB / 0.7311 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.522, allocations: 105 kB / 0.7312 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.5221, allocations: 184.2 kB / 0.7314 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.5221, allocations: 176.3 kB / 0.7316 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.537e-05/0.5222, allocations: 188.2 kB / 0.7317 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.708e-05/0.5223, allocations: 176.3 kB / 0.7319 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.5225, allocations: 315.6 kB / 0.7322 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.5226, allocations: 182.1 kB / 0.7324 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5227, allocations: 184.2 kB / 0.7326 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5229, allocations: 105 kB / 0.7327 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.523, allocations: 184.5 kB / 0.7328 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.523, allocations: 109 kB / 0.7329 GB, free: 3.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.5231, allocations: 87.27 kB / 0.733 GB, free: 3.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5231, allocations: 0 / 0.733 GB, free: 3.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002696/0.5233, allocations: 12 kB / 0.733 GB, free: 3.195 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.0002903/0.5236, allocations: 206.4 kB / 0.7332 GB, free: 2.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.5237, allocations: 11.94 kB / 0.7332 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5237, allocations: 4 kB / 0.7332 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.5237, allocations: 4 kB / 0.7332 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.5242, allocations: 0.5185 MB / 0.7338 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.5244, allocations: 187.8 kB / 0.7339 GB, free: 2.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.5247, allocations: 0.677 MB / 0.7346 GB, free: 1.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.5248, allocations: 8.734 kB / 0.7346 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.5248, allocations: 7.438 kB / 0.7346 GB, free: 1.516 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5248, allocations: 0 / 0.7346 GB, free: 1.516 MB / 0.545 GB Notification: Performance of Templates: time 0.002647/0.5275, allocations: 0.5812 MB / 0.7352 GB, free: 0.9492 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)