Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.001082/0.001082, allocations: 178.6 kB / 372 MB, free: 10.26 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.385/1.385, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007408/0.0007408, allocations: 90.36 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005525/0.0005525, allocations: 19.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05345/0.2665, allocations: 57.75 MB / 1.036 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.292, allocations: 13 MB / 1.049 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.2954, allocations: 47.69 kB / 1.049 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.2995, allocations: 0.7961 MB / 1.049 GB, free: 3.887 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.007915/0.3075, allocations: 1.848 MB / 1.051 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.3122, allocations: 1.216 MB / 1.052 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008704/0.3209, allocations: 4.668 MB / 1.057 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.324, allocations: 1.051 MB / 1.058 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004285/0.3283, allocations: 1.334 MB / 1.059 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/0.3313, allocations: 1.171 MB / 1.061 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.3318, allocations: 72 kB / 1.061 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.3354, allocations: 0.9589 MB / 1.062 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.336, allocations: 390.5 kB / 1.062 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008254/0.3369, allocations: 380.8 kB / 1.062 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.3409, allocations: 2.314 MB / 1.065 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.341, allocations: 0 / 1.065 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.993e-06/0.341, allocations: 0 / 1.065 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.321e-05/0.341, allocations: 0 / 1.065 GB, free: 4.441 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.005808/0.3468, allocations: 2.037 MB / 1.067 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.3469, allocations: 11.97 kB / 1.067 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.349, allocations: 353.4 kB / 1.067 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.353, allocations: 1.377 MB / 1.068 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.3533, allocations: 157.5 kB / 1.068 GB, free: 404 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.3536, allocations: 104 kB / 1.068 GB, free: 300 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4604/0.8141, allocations: 1.478 MB / 1.07 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.8142, allocations: 4.125 kB / 1.07 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.8143, allocations: 44.78 kB / 1.07 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.8144, allocations: 40.58 kB / 1.07 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.8177, allocations: 1.428 MB / 1.071 GB, free: 89.85 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.008777/0.8265, allocations: 6.645 MB / 1.078 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.8289, allocations: 1.208 MB / 1.079 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.8305, allocations: 0.6076 MB / 1.08 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/0.8313, allocations: 1.152 MB / 1.081 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.8314, allocations: 40.75 kB / 1.081 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.296e-06/0.8314, allocations: 0 / 1.081 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.005151/0.8365, allocations: 1.732 MB / 1.082 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.8366, allocations: 116.8 kB / 1.083 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.8393, allocations: 1.377 MB / 1.084 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.8395, allocations: 46.64 kB / 1.084 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006221/0.8401, allocations: 0.705 MB / 1.085 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.8404, allocations: 266.3 kB / 1.085 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.8405, allocations: 19.81 kB / 1.085 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.8406, allocations: 339.6 kB / 1.085 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.8421, allocations: 0.5293 MB / 1.086 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.8439, allocations: 0.7653 MB / 1.087 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.8454, allocations: 0.5806 MB / 1.087 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.8454, allocations: 4.938 kB / 1.087 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00396/0.8494, allocations: 1.44 MB / 1.089 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.8495, allocations: 231.2 kB / 1.089 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.8496, allocations: 5.188 kB / 1.089 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.8496, allocations: 17.42 kB / 1.089 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.8509, allocations: 298 kB / 1.089 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.8509, allocations: 13.25 kB / 1.089 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.8525, allocations: 223.7 kB / 1.089 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.8526, allocations: 38.88 kB / 1.089 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.8527, allocations: 4.188 kB / 1.089 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/0.8557, allocations: 1.277 MB / 1.091 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8557, allocations: 5.688 kB / 1.091 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8557, allocations: 8.875 kB / 1.091 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.857, allocations: 301.5 kB / 1.091 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.857, allocations: 10.58 kB / 1.091 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.8586, allocations: 209.3 kB / 1.091 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.8587, allocations: 39.39 kB / 1.091 GB, free: 78.27 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.0008937/0.8596, allocations: 466.5 kB / 1.092 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.8599, allocations: 150.8 kB / 1.092 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.8635, allocations: 1.573 MB / 1.093 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.8635, allocations: 8.906 kB / 1.093 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.8635, allocations: 0 / 1.093 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002699/0.8662, allocations: 1.212 MB / 1.094 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.8727, allocations: 3.153 MB / 1.098 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.8727, allocations: 5.516 kB / 1.098 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.8738, allocations: 214.1 kB / 1.098 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.8738, allocations: 13.17 kB / 1.098 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.8739, allocations: 24.41 kB / 1.098 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.8739, allocations: 12.22 kB / 1.098 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.8739, allocations: 4.875 kB / 1.098 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.8786, allocations: 2.208 MB / 1.1 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007931/0.8794, allocations: 394 kB / 1.1 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.8797, allocations: 16.38 kB / 1.1 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.8811, allocations: 172.3 kB / 1.1 GB, free: 73.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.8812, allocations: 89.17 kB / 1.101 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/0.8813, allocations: 41.94 kB / 1.101 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00132/0.8827, allocations: 0.971 MB / 1.102 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8827, allocations: 0 / 1.102 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002018/0.8847, allocations: 0.8075 MB / 1.102 GB, free: 73.24 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.0008534/0.8856, allocations: 442.7 kB / 1.103 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.89, allocations: 1.941 MB / 1.105 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.89, allocations: 1.594 kB / 1.105 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.8917, allocations: 0.6844 MB / 1.105 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/0.8952, allocations: 0.6867 MB / 1.106 GB, free: 71.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.8999, allocations: 3.257 MB / 1.109 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008836/0.9008, allocations: 1.281 MB / 1.11 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001905/0.9027, allocations: 380 kB / 1.111 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.9031, allocations: 122.6 kB / 1.111 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/0.9032, allocations: 0 / 1.111 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.03858/0.9417, allocations: 28.01 MB / 1.138 GB, free: 46.5 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)