Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.732/2.732, allocations: 287.5 MB / 302.4 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 190.3 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 85.17 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007316/0.0007318, allocations: 11.94 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2492, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.08458/0.3339, allocations: 57.76 MB / 1.035 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.3622, allocations: 13 MB / 1.047 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.365, allocations: 55.62 kB / 1.048 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.3692, allocations: 0.7844 MB / 1.048 GB, free: 4.559 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00882/0.3781, allocations: 1.846 MB / 1.05 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006257/0.3844, allocations: 1.218 MB / 1.051 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00932/0.3937, allocations: 4.67 MB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.3969, allocations: 1.051 MB / 1.057 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/0.4015, allocations: 1.334 MB / 1.058 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003233/0.4047, allocations: 1.167 MB / 1.059 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006822/0.4055, allocations: 80 kB / 1.059 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.4101, allocations: 0.9628 MB / 1.06 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.4112, allocations: 382.5 kB / 1.061 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.4122, allocations: 380.8 kB / 1.061 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005293/0.4175, allocations: 2.307 MB / 1.063 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.088e-06/0.4176, allocations: 4 kB / 1.063 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4176, allocations: 4 kB / 1.063 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.451e-05/0.4177, allocations: 0 / 1.063 GB, free: 5.113 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.007096/0.4248, allocations: 2.037 MB / 1.065 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4249, allocations: 16.03 kB / 1.065 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.4276, allocations: 349.4 kB / 1.066 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004247/0.4319, allocations: 1.377 MB / 1.067 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.4322, allocations: 157.5 kB / 1.067 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.4325, allocations: 104 kB / 1.067 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6197/1.052, allocations: 1.48 MB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/1.052, allocations: 1.719 kB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/1.053, allocations: 44.59 kB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-05/1.053, allocations: 34.03 kB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006554/1.059, allocations: 1.433 MB / 1.07 GB, free: 89.82 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/1.073, allocations: 6.641 MB / 1.077 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/1.077, allocations: 1.217 MB / 1.078 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/1.08, allocations: 0.607 MB / 1.078 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009714/1.081, allocations: 1.15 MB / 1.08 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/1.081, allocations: 41.33 kB / 1.08 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 4.238e-06/1.081, allocations: 6.281 kB / 1.08 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.008246/1.089, allocations: 1.728 MB / 1.081 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/1.089, allocations: 116.7 kB / 1.081 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/1.093, allocations: 1.375 MB / 1.083 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/1.093, allocations: 43.8 kB / 1.083 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008356/1.094, allocations: 0.706 MB / 1.083 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/1.094, allocations: 266.2 kB / 1.084 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/1.095, allocations: 19.5 kB / 1.084 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.095, allocations: 337.6 kB / 1.084 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/1.097, allocations: 0.5288 MB / 1.085 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/1.1, allocations: 0.7683 MB / 1.085 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/1.103, allocations: 0.577 MB / 1.086 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.103, allocations: 1.812 kB / 1.086 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006177/1.109, allocations: 1.44 MB / 1.087 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/1.11, allocations: 232.8 kB / 1.088 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.11, allocations: 9.453 kB / 1.088 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/1.11, allocations: 19.16 kB / 1.088 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/1.112, allocations: 294.2 kB / 1.088 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.949e-05/1.112, allocations: 12.84 kB / 1.088 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.115, allocations: 223.8 kB / 1.088 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/1.115, allocations: 40.45 kB / 1.088 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.115, allocations: 3.594 kB / 1.088 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005539/1.121, allocations: 1.281 MB / 1.089 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.121, allocations: 9.281 kB / 1.089 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.121, allocations: 9.219 kB / 1.089 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.124, allocations: 297.2 kB / 1.09 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/1.124, allocations: 9.516 kB / 1.09 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.126, allocations: 213.2 kB / 1.09 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.126, allocations: 39.14 kB / 1.09 GB, free: 78.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001227/1.128, allocations: 462.6 kB / 1.09 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/1.128, allocations: 147.2 kB / 1.09 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005882/1.134, allocations: 1.575 MB / 1.092 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.134, allocations: 8.234 kB / 1.092 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.134, allocations: 0 / 1.092 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004682/1.139, allocations: 1.203 MB / 1.093 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.149, allocations: 3.162 MB / 1.096 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.149, allocations: 4 kB / 1.096 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.151, allocations: 214.7 kB / 1.096 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/1.151, allocations: 8.047 kB / 1.096 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.151, allocations: 28.67 kB / 1.097 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.151, allocations: 8.281 kB / 1.097 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.151, allocations: 5.484 kB / 1.097 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007887/1.159, allocations: 2.201 MB / 1.099 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.16, allocations: 397.3 kB / 1.099 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/1.161, allocations: 18.22 kB / 1.099 GB, free: 73.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.163, allocations: 170.2 kB / 1.099 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/1.164, allocations: 83.64 kB / 1.099 GB, free: 73.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.164, allocations: 47.58 kB / 1.099 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002113/1.166, allocations: 0.9757 MB / 1.1 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.6e-07/1.166, allocations: 0 / 1.1 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003478/1.169, allocations: 0.8078 MB / 1.101 GB, free: 73.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/1.171, allocations: 439 kB / 1.102 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00797/1.179, allocations: 1.943 MB / 1.103 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.532e-05/1.179, allocations: 2.219 kB / 1.103 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002877/1.182, allocations: 0.6921 MB / 1.104 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006211/1.188, allocations: 0.6835 MB / 1.105 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.2, allocations: 3.251 MB / 1.108 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/1.202, allocations: 1.277 MB / 1.109 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00327/1.206, allocations: 398.9 kB / 1.11 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/1.206, allocations: 111.5 kB / 1.11 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/1.206, allocations: 0 / 1.11 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.0699/1.276, allocations: 28.01 MB / 1.137 GB, free: 47.73 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)