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.713/1.713, allocations: 288.3 MB / 303.2 MB, free: 8.223 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.001072/0.001072, allocations: 179.2 kB / 371.8 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.447/1.447, allocations: 205.4 MB / 0.6306 GB, free: 9.953 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.0008847/0.0008847, allocations: 97.11 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 16.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04652/0.292, allocations: 52.39 MB / 1.031 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.3125, allocations: 11.86 MB / 1.042 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.3155, allocations: 47.69 kB / 1.042 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.3192, allocations: 0.937 MB / 1.043 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008982/0.3282, allocations: 2.134 MB / 1.045 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.3337, allocations: 1.628 MB / 1.047 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006073/0.3397, allocations: 2.529 MB / 1.049 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.342, allocations: 1.07 MB / 1.05 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.345, allocations: 1.207 MB / 1.051 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.3465, allocations: 0.8713 MB / 1.052 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.3467, allocations: 64 kB / 1.052 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3495, allocations: 0.866 MB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.3499, allocations: 350.7 kB / 1.054 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.3505, allocations: 388.8 kB / 1.054 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.3534, allocations: 2.159 MB / 1.056 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3534, allocations: 3.938 kB / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3535, allocations: 0 / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.3535, allocations: 0 / 1.056 GB, free: 13 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.004484/0.358, allocations: 2.01 MB / 1.058 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.358, allocations: 8.031 kB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3594, allocations: 353.4 kB / 1.058 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.3621, allocations: 1.403 MB / 1.06 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.3623, allocations: 157.5 kB / 1.06 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3625, allocations: 108 kB / 1.06 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.3654, allocations: 1.419 MB / 1.061 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.3654, allocations: 0 / 1.061 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.3655, allocations: 48 kB / 1.061 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.3656, allocations: 31.98 kB / 1.061 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.3686, allocations: 1.331 MB / 1.063 GB, free: 5.938 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.4978/0.8664, allocations: 6.402 MB / 1.069 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.8689, allocations: 1.15 MB / 1.07 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.8696, allocations: 1.141 MB / 1.071 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.8697, allocations: 44.67 kB / 1.071 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.918e-06/0.8697, allocations: 1.125 kB / 1.071 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004564/0.8743, allocations: 1.581 MB / 1.073 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.8744, allocations: 116.6 kB / 1.073 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.8766, allocations: 1.301 MB / 1.074 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.8767, allocations: 44.77 kB / 1.074 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.8774, allocations: 0.7144 MB / 1.075 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.8776, allocations: 268.9 kB / 1.075 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.8777, allocations: 18.88 kB / 1.075 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.8778, allocations: 337.5 kB / 1.076 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.8792, allocations: 488.1 kB / 1.076 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.8807, allocations: 0.7074 MB / 1.077 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.8821, allocations: 0.5235 MB / 1.077 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.8822, allocations: 1.969 kB / 1.077 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003846/0.886, allocations: 1.333 MB / 1.079 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004845/0.8865, allocations: 1.886 MB / 1.08 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.8865, allocations: 5.75 kB / 1.08 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/0.8866, allocations: 9.281 kB / 1.08 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.888, allocations: 298.2 kB / 1.081 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.888, allocations: 10.38 kB / 1.081 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.8896, allocations: 218.3 kB / 1.081 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.8897, allocations: 39.39 kB / 1.081 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.8898, allocations: 4.5 kB / 1.081 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003118/0.8929, allocations: 1.177 MB / 1.082 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8929, allocations: 6.641 kB / 1.082 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.8929, allocations: 14.14 kB / 1.082 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.8942, allocations: 289.4 kB / 1.082 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.8942, allocations: 17.44 kB / 1.082 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8957, allocations: 207.9 kB / 1.083 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.8958, allocations: 43.36 kB / 1.083 GB, free: 80.25 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.0008775/0.8967, allocations: 459.3 kB / 1.083 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.897, allocations: 153.5 kB / 1.083 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/0.9003, allocations: 1.468 MB / 1.085 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.9004, allocations: 8.703 kB / 1.085 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9004, allocations: 4.469 kB / 1.085 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002528/0.9029, allocations: 1.098 MB / 1.086 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/0.9088, allocations: 2.904 MB / 1.089 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.9088, allocations: 8.781 kB / 1.089 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.9098, allocations: 219.2 kB / 1.089 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.9098, allocations: 9.359 kB / 1.089 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.9099, allocations: 20.17 kB / 1.089 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.9099, allocations: 8.266 kB / 1.089 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.9099, allocations: 13.55 kB / 1.089 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/0.9144, allocations: 2.292 MB / 1.091 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/0.9153, allocations: 377.9 kB / 1.091 GB, free: 75.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.9155, allocations: 22.53 kB / 1.091 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.9167, allocations: 166.6 kB / 1.092 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.917, allocations: 84.48 kB / 1.092 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-05/0.9171, allocations: 37.95 kB / 1.092 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001589/0.9186, allocations: 0.9368 MB / 1.093 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9187, allocations: 0 / 1.093 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002483/0.9211, allocations: 0.7998 MB / 1.093 GB, free: 75.23 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.001001/0.9222, allocations: 462.8 kB / 1.094 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005074/0.9272, allocations: 1.787 MB / 1.096 GB, free: 74.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.9273, allocations: 5.594 kB / 1.096 GB, free: 74.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.9292, allocations: 0.6356 MB / 1.096 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/0.9338, allocations: 0.6653 MB / 1.097 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.9402, allocations: 3.23 MB / 1.1 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.9413, allocations: 1.31 MB / 1.101 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002218/0.9435, allocations: 390.7 kB / 1.102 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.9439, allocations: 107.4 kB / 1.102 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.9439, allocations: 1.094 kB / 1.102 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.04754/0.9914, allocations: 27.29 MB / 1.128 GB, free: 54.59 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)