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.893/1.893, allocations: 288.4 MB / 303.7 MB, free: 8.133 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.0009584/0.0009584, allocations: 186.8 kB / 372.3 MB, free: 10.1 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.331/1.331, allocations: 205.4 MB / 0.631 GB, free: 9.797 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.0007888/0.0007887, allocations: 88.72 kB / 0.7444 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004276, allocations: 12.59 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1938, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.0474/0.2412, allocations: 57.77 MB / 1.037 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2593, allocations: 13.01 MB / 1.049 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.2614, allocations: 51.69 kB / 1.049 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.2641, allocations: 0.7844 MB / 1.05 GB, free: 3.539 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.005965/0.2701, allocations: 2.006 MB / 1.052 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.2739, allocations: 1.233 MB / 1.053 GB, free: 316 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005607/0.2795, allocations: 4.731 MB / 1.058 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.2816, allocations: 1.157 MB / 1.059 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.2844, allocations: 1.361 MB / 1.06 GB, free: 9 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.2863, allocations: 1.171 MB / 1.061 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.2868, allocations: 75.94 kB / 1.062 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.2897, allocations: 1.239 MB / 1.063 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.2903, allocations: 378.5 kB / 1.063 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2917, allocations: 0.8686 MB / 1.064 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.2947, allocations: 2.388 MB / 1.066 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2948, allocations: 0 / 1.066 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2948, allocations: 0 / 1.066 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.473e-05/0.2948, allocations: 0 / 1.066 GB, free: 2.867 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.004028/0.2988, allocations: 2.022 MB / 1.068 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2989, allocations: 12.03 kB / 1.068 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.3002, allocations: 354.3 kB / 1.069 GB, free: 444 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.429/0.7292, allocations: 1.42 MB / 1.07 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.7295, allocations: 160.6 kB / 1.07 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.7297, allocations: 108.2 kB / 1.07 GB, free: 90.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.7327, allocations: 1.479 MB / 1.072 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.7327, allocations: 1.375 kB / 1.072 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.7329, allocations: 46.41 kB / 1.072 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.7329, allocations: 41.95 kB / 1.072 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.7363, allocations: 1.427 MB / 1.073 GB, free: 89.09 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.008374/0.7446, allocations: 6.653 MB / 1.08 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.747, allocations: 1.207 MB / 1.081 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.7484, allocations: 0.6071 MB / 1.081 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/0.749, allocations: 1.149 MB / 1.083 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.7491, allocations: 42.3 kB / 1.083 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 2.765e-06/0.7491, allocations: 0.6875 kB / 1.083 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.00506/0.7542, allocations: 1.732 MB / 1.084 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.7542, allocations: 119.7 kB / 1.084 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.7564, allocations: 1.374 MB / 1.086 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.7565, allocations: 42.92 kB / 1.086 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/0.7571, allocations: 0.7048 MB / 1.086 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.7573, allocations: 262.4 kB / 1.087 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.7573, allocations: 19.41 kB / 1.087 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7575, allocations: 340.8 kB / 1.087 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.7588, allocations: 0.5279 MB / 1.088 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.7603, allocations: 0.7675 MB / 1.088 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.7629, allocations: 1.219 MB / 1.09 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.7629, allocations: 1.156 kB / 1.09 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003344/0.7663, allocations: 1.444 MB / 1.091 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/0.7664, allocations: 235.3 kB / 1.091 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7664, allocations: 4.281 kB / 1.091 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.7664, allocations: 9.906 kB / 1.091 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7677, allocations: 302.1 kB / 1.091 GB, free: 77.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.7678, allocations: 14.34 kB / 1.091 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7692, allocations: 219.3 kB / 1.092 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.7693, allocations: 38.8 kB / 1.092 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.7693, allocations: 7.719 kB / 1.092 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002985/0.7723, allocations: 1.278 MB / 1.093 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7723, allocations: 5.906 kB / 1.093 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7723, allocations: 8.656 kB / 1.093 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.7736, allocations: 304.9 kB / 1.093 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.7736, allocations: 17.34 kB / 1.093 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.775, allocations: 204.9 kB / 1.093 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.7751, allocations: 35.84 kB / 1.094 GB, free: 77.05 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.0008075/0.7759, allocations: 469.2 kB / 1.094 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.7762, allocations: 153.7 kB / 1.094 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.7795, allocations: 1.57 MB / 1.096 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.7795, allocations: 13.69 kB / 1.096 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7795, allocations: 0 / 1.096 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002788/0.7823, allocations: 1.204 MB / 1.097 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.7887, allocations: 3.154 MB / 1.1 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7888, allocations: 4.219 kB / 1.1 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.7898, allocations: 218.9 kB / 1.1 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.7898, allocations: 7.375 kB / 1.1 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.7899, allocations: 30.16 kB / 1.1 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.7899, allocations: 10.84 kB / 1.1 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7899, allocations: 5.562 kB / 1.1 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.7939, allocations: 2.209 MB / 1.102 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/0.7946, allocations: 391.2 kB / 1.103 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7948, allocations: 21.19 kB / 1.103 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.796, allocations: 168.4 kB / 1.103 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.7962, allocations: 88.23 kB / 1.103 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.7963, allocations: 46.7 kB / 1.103 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001325/0.7976, allocations: 0.9723 MB / 1.104 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.282e-06/0.7976, allocations: 0 / 1.104 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00201/0.7997, allocations: 0.8087 MB / 1.105 GB, free: 71.7 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.0008115/0.8005, allocations: 463.2 kB / 1.105 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004245/0.8047, allocations: 1.948 MB / 1.107 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.8048, allocations: 1.031 kB / 1.107 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.8063, allocations: 0.6865 MB / 1.108 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/0.8103, allocations: 0.7117 MB / 1.108 GB, free: 69.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.8145, allocations: 3.247 MB / 1.112 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.8152, allocations: 1.278 MB / 1.113 GB, free: 66.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001613/0.8168, allocations: 387 kB / 1.113 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.8172, allocations: 134.1 kB / 1.113 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/0.8172, allocations: 0 / 1.113 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.0408/0.858, allocations: 30.25 MB / 1.143 GB, free: 41.76 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)