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.0008161/0.0008161, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005864/0.005865, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.441/1.441, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6/1.6, allocations: 252 MB / 0.5105 GB, free: 4.684 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.0005844/0.0005845, allocations: 20 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4992, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005327/0.5046, allocations: 3.431 MB / 0.7321 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.5048, allocations: 159.5 kB / 0.7322 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.5049, allocations: 0 / 0.7322 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.505, allocations: 7.938 kB / 0.7322 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.5051, allocations: 11.91 kB / 0.7322 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.5054, allocations: 62.59 kB / 0.7323 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.5055, allocations: 59.81 kB / 0.7323 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.5056, allocations: 4 kB / 0.7323 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.5056, allocations: 11.98 kB / 0.7324 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.5057, allocations: 19.92 kB / 0.7324 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.5057, allocations: 0 / 0.7324 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.5063, allocations: 191.5 kB / 0.7326 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.5063, allocations: 11.97 kB / 0.7326 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.5064, allocations: 37.64 kB / 0.7326 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.5065, allocations: 41.92 kB / 0.7326 GB, free: 7.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5065, allocations: 0 / 0.7326 GB, free: 7.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5065, allocations: 4 kB / 0.7326 GB, free: 7.234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.5065, allocations: 3.938 kB / 0.7327 GB, free: 7.23 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.0003684/0.5069, allocations: 327.5 kB / 0.733 GB, free: 6.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.507, allocations: 12.03 kB / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.507, allocations: 0.9375 kB / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5071, allocations: 164.3 kB / 0.7331 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.5072, allocations: 34.25 kB / 0.7332 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.5072, allocations: 384 / 0.7332 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.5075, allocations: 49.62 kB / 0.7332 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5075, allocations: 0 / 0.7332 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5075, allocations: 3.938 kB / 0.7332 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.5075, allocations: 4 kB / 0.7332 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.5076, allocations: 19.92 kB / 0.7332 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.508, allocations: 334 kB / 0.7336 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.5081, allocations: 14.58 kB / 0.7336 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.5081, allocations: 12.92 kB / 0.7336 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.224e-05/0.5082, allocations: 85.05 kB / 0.7337 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5082, allocations: 30.56 kB / 0.7337 GB, free: 5.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5083, allocations: 0 / 0.7337 GB, free: 5.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.5084, allocations: 45.62 kB / 0.7337 GB, free: 5.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5085, allocations: 51.41 kB / 0.7338 GB, free: 5.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.5086, allocations: 102 kB / 0.7339 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.5086, allocations: 29.7 kB / 0.7339 GB, free: 5.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.5086, allocations: 88.05 kB / 0.734 GB, free: 5.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.5087, allocations: 7.844 kB / 0.734 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.5087, allocations: 9.719 kB / 0.734 GB, free: 5.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5088, allocations: 318.8 kB / 0.7343 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.5088, allocations: 7.984 kB / 0.7343 GB, free: 5.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.5089, allocations: 13.72 kB / 0.7343 GB, free: 5.238 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.5089, allocations: 29.66 kB / 0.7344 GB, free: 5.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5089, allocations: 0 / 0.7344 GB, free: 5.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.975e-05/0.509, allocations: 45.69 kB / 0.7344 GB, free: 5.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.509, allocations: 6.031 kB / 0.7344 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.509, allocations: 4 kB / 0.7344 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.509, allocations: 0 / 0.7344 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.5091, allocations: 7.938 kB / 0.7344 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.5091, allocations: 4.047 kB / 0.7344 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.5092, allocations: 8 kB / 0.7344 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5092, allocations: 0 / 0.7344 GB, free: 5.125 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.277e-05/0.5092, allocations: 109.8 kB / 0.7345 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.5093, allocations: 4 kB / 0.7345 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5094, allocations: 121 kB / 0.7347 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-05/0.5094, allocations: 180.5 kB / 0.7348 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-05/0.5095, allocations: 184.3 kB / 0.735 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.5096, allocations: 180.2 kB / 0.7352 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.5098, allocations: 417.1 kB / 0.7356 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.454e-05/0.5099, allocations: 104.9 kB / 0.7357 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.5099, allocations: 108.9 kB / 0.7358 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-05/0.51, allocations: 184.2 kB / 0.736 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.5102, allocations: 180.2 kB / 0.7361 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.415e-05/0.5103, allocations: 176.3 kB / 0.7363 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002104/0.5105, allocations: 184.3 kB / 0.7365 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.5106, allocations: 311.7 kB / 0.7368 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.5107, allocations: 189.9 kB / 0.737 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5109, allocations: 176.3 kB / 0.7371 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5111, allocations: 109 kB / 0.7372 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5112, allocations: 184.2 kB / 0.7374 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5112, allocations: 101 kB / 0.7375 GB, free: 1.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.5113, allocations: 95.2 kB / 0.7376 GB, free: 1.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5113, allocations: 0 / 0.7376 GB, free: 1.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000264/0.5116, allocations: 12 kB / 0.7376 GB, free: 1.664 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.0002572/0.5118, allocations: 206.4 kB / 0.7378 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.5119, allocations: 7.938 kB / 0.7378 GB, free: 1.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5119, allocations: 8.125 kB / 0.7378 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5119, allocations: 4 kB / 0.7378 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.5125, allocations: 0.5252 MB / 0.7383 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.5127, allocations: 191.8 kB / 0.7385 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.513, allocations: 0.6809 MB / 0.7392 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.5131, allocations: 4 kB / 0.7392 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.5131, allocations: 11.38 kB / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5131, allocations: 0 / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.003067/0.5162, allocations: 0.5826 MB / 0.7398 GB, free: 15.4 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: