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 1.695/1.695, allocations: 287.5 MB / 302.6 MB, free: 8.289 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.0009609/0.0009609, allocations: 178 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 0.6299 GB, free: 10.56 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.000861/0.0008612, allocations: 93.39 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 15.89 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05336/0.2905, allocations: 57.76 MB / 1.035 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02044/0.311, allocations: 13.01 MB / 1.048 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.3141, allocations: 51.69 kB / 1.048 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.3169, allocations: 0.7844 MB / 1.049 GB, free: 4.414 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.006409/0.3234, allocations: 1.85 MB / 1.05 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.3275, allocations: 1.218 MB / 1.052 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006753/0.3343, allocations: 4.716 MB / 1.056 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.3364, allocations: 1.146 MB / 1.057 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.3395, allocations: 1.342 MB / 1.059 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.3413, allocations: 1.167 MB / 1.06 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.3416, allocations: 75.98 kB / 1.06 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.3449, allocations: 0.9589 MB / 1.061 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.3454, allocations: 390.5 kB / 1.061 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.3463, allocations: 380.8 kB / 1.062 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.3501, allocations: 2.307 MB / 1.064 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.3501, allocations: 0 / 1.064 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3501, allocations: 0 / 1.064 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.455e-05/0.3502, allocations: 4 kB / 1.064 GB, free: 4.812 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.004465/0.3547, allocations: 2.018 MB / 1.066 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3547, allocations: 12.03 kB / 1.066 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3561, allocations: 350.3 kB / 1.066 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.3587, allocations: 1.436 MB / 1.067 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.3589, allocations: 153.5 kB / 1.068 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.359, allocations: 111.9 kB / 1.068 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5249/0.884, allocations: 1.478 MB / 1.069 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.8841, allocations: 3.844 kB / 1.069 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.8843, allocations: 45.84 kB / 1.069 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-05/0.8843, allocations: 31.25 kB / 1.069 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/0.888, allocations: 1.438 MB / 1.071 GB, free: 89.78 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.009038/0.8971, allocations: 6.645 MB / 1.077 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.8994, allocations: 1.219 MB / 1.078 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.9008, allocations: 0.6041 MB / 1.079 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.9015, allocations: 1.143 MB / 1.08 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.9015, allocations: 48.27 kB / 1.08 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 4.358e-06/0.9016, allocations: 0 / 1.08 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004663/0.9062, allocations: 1.73 MB / 1.082 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.9063, allocations: 119.5 kB / 1.082 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.909, allocations: 1.373 MB / 1.083 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.9091, allocations: 44.52 kB / 1.083 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/0.9099, allocations: 0.7065 MB / 1.084 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.9102, allocations: 267.1 kB / 1.084 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.9103, allocations: 16.38 kB / 1.084 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9104, allocations: 346.8 kB / 1.085 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.912, allocations: 0.5307 MB / 1.085 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.9137, allocations: 0.7681 MB / 1.086 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.9165, allocations: 1.213 MB / 1.087 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.9165, allocations: 2.281 kB / 1.087 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003726/0.9202, allocations: 1.435 MB / 1.088 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.9204, allocations: 240 kB / 1.089 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.9204, allocations: 4.625 kB / 1.089 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.9204, allocations: 8.312 kB / 1.089 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.9217, allocations: 297.9 kB / 1.089 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.9217, allocations: 11.36 kB / 1.089 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.9234, allocations: 230.8 kB / 1.089 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.9235, allocations: 35.89 kB / 1.089 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.9235, allocations: 3.656 kB / 1.089 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003037/0.9266, allocations: 1.281 MB / 1.09 GB, free: 78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9266, allocations: 8.469 kB / 1.09 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9266, allocations: 9.625 kB / 1.09 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.9278, allocations: 293.1 kB / 1.091 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.855e-05/0.9278, allocations: 13.16 kB / 1.091 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.9294, allocations: 213.6 kB / 1.091 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.9296, allocations: 39.28 kB / 1.091 GB, free: 77.89 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.0009863/0.9305, allocations: 462.9 kB / 1.091 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.9308, allocations: 146.1 kB / 1.092 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.9344, allocations: 1.583 MB / 1.093 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.9344, allocations: 8.375 kB / 1.093 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.9344, allocations: 0 / 1.093 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002718/0.9372, allocations: 1.199 MB / 1.094 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007228/0.9444, allocations: 3.166 MB / 1.097 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.9445, allocations: 4.531 kB / 1.097 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.9455, allocations: 218 kB / 1.098 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.9455, allocations: 6.938 kB / 1.098 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.9456, allocations: 26.34 kB / 1.098 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/0.9456, allocations: 14.36 kB / 1.098 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.9456, allocations: 4.516 kB / 1.098 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.9502, allocations: 2.207 MB / 1.1 GB, free: 73.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.9513, allocations: 390.8 kB / 1.1 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.9515, allocations: 21.34 kB / 1.1 GB, free: 73.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9528, allocations: 165.7 kB / 1.1 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.953, allocations: 84.09 kB / 1.1 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.95e-05/0.9531, allocations: 41.33 kB / 1.101 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001781/0.9549, allocations: 0.9773 MB / 1.101 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9549, allocations: 0 / 1.101 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002817/0.9577, allocations: 0.8041 MB / 1.102 GB, free: 72.97 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.001005/0.9587, allocations: 447.3 kB / 1.103 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004878/0.9636, allocations: 1.939 MB / 1.105 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.9637, allocations: 1.062 kB / 1.105 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.9654, allocations: 0.6931 MB / 1.105 GB, free: 72 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/0.9702, allocations: 0.7183 MB / 1.106 GB, free: 71.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.9754, allocations: 3.248 MB / 1.109 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.9763, allocations: 1.278 MB / 1.11 GB, free: 68.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002276/0.9785, allocations: 396.6 kB / 1.111 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.979, allocations: 129.3 kB / 1.111 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/0.9791, allocations: 1 kB / 1.111 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.04703/1.026, allocations: 29.87 MB / 1.14 GB, free: 44.82 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)