Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.72 kB / 16.29 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 184 kB / 17.22 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2013, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.3889/0.5902, allocations: 62.63 MB / 0.8452 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.6084, allocations: 13.57 MB / 0.8585 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.6111, allocations: 58.47 kB / 0.8585 GB, free: 14.36 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.6141, allocations: 0.9517 MB / 0.8595 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007643/0.6218, allocations: 2.363 MB / 0.8618 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005078/0.6269, allocations: 1.642 MB / 0.8634 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006868/0.6338, allocations: 4.249 MB / 0.8675 GB, free: 9.434 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.6364, allocations: 1.419 MB / 0.8689 GB, free: 8.793 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.6405, allocations: 1.642 MB / 0.8705 GB, free: 8.02 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.6431, allocations: 1.294 MB / 0.8718 GB, free: 7.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.6436, allocations: 180.4 kB / 0.8719 GB, free: 7.301 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.6481, allocations: 1.421 MB / 0.8733 GB, free: 6.559 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000826/0.649, allocations: 0.5107 MB / 0.8738 GB, free: 6.16 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.651, allocations: 0.9995 MB / 0.8748 GB, free: 5.469 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007499/0.6585, allocations: 3.172 MB / 0.8779 GB, free: 3.309 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6585, allocations: 0 / 0.8779 GB, free: 3.309 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6586, allocations: 0 / 0.8779 GB, free: 3.309 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.173e-05/0.6586, allocations: 3.984 kB / 0.8779 GB, free: 3.305 MB / 0.67 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.005616/0.6643, allocations: 2.327 MB / 0.8802 GB, free: 1.617 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.6643, allocations: 9.406 kB / 0.8802 GB, free: 1.617 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.6659, allocations: 319.8 kB / 0.8805 GB, free: 1.465 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.6689, allocations: 1.395 MB / 0.8819 GB, free: 388 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.6691, allocations: 160.5 kB / 0.882 GB, free: 272 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.6693, allocations: 107.8 kB / 0.8821 GB, free: 236 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.6724, allocations: 1.442 MB / 0.8835 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.6725, allocations: 6.156 kB / 0.8835 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.6726, allocations: 44.28 kB / 0.8836 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.6727, allocations: 28.72 kB / 0.8836 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.676, allocations: 1.344 MB / 0.8849 GB, free: 14.56 MB / 0.6856 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.009676/0.6857, allocations: 6.616 MB / 0.8914 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.6881, allocations: 1.175 MB / 0.8925 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.6895, allocations: 0.5671 MB / 0.8931 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.6906, allocations: 1.145 MB / 0.8942 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.6906, allocations: 40.09 kB / 0.8942 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 3.387e-06/0.6906, allocations: 3.938 kB / 0.8942 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of matching and sorting (n=77): time 0.004344/0.695, allocations: 1.587 MB / 0.8958 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.6951, allocations: 111.8 kB / 0.8959 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.6976, allocations: 1.408 MB / 0.8973 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.6978, allocations: 41.89 kB / 0.8973 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006536/0.6985, allocations: 0.7115 MB / 0.898 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.6988, allocations: 261 kB / 0.8982 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.6992, allocations: 178.2 kB / 0.8984 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6993, allocations: 337.7 kB / 0.8987 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.7006, allocations: 0.4904 MB / 0.8992 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.7021, allocations: 0.7304 MB / 0.8999 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.7047, allocations: 1.121 MB / 0.901 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7047, allocations: 5.141 kB / 0.901 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003461/0.7082, allocations: 1.346 MB / 0.9023 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7082, allocations: 4 kB / 0.9024 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7083, allocations: 8.562 kB / 0.9024 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.7083, allocations: 15.98 kB / 0.9024 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7095, allocations: 267.6 kB / 0.9026 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.7095, allocations: 15.92 kB / 0.9026 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7108, allocations: 158.9 kB / 0.9028 GB, free: 116 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.7109, allocations: 35.98 kB / 0.9028 GB, free: 80 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0017/0.7126, allocations: 0.7946 MB / 0.9036 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001345/0.714, allocations: 0.7229 MB / 0.9043 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002387/0.7164, allocations: 1.121 MB / 0.9054 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.7164, allocations: 3.938 kB / 0.9054 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003493/0.7199, allocations: 1.343 MB / 0.9067 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.72, allocations: 9.719 kB / 0.9067 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.72, allocations: 4 kB / 0.9067 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.72, allocations: 8 kB / 0.9067 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.7212, allocations: 275.8 kB / 0.907 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.7212, allocations: 10.28 kB / 0.907 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.7226, allocations: 147.1 kB / 0.9072 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.7227, allocations: 43.92 kB / 0.9072 GB, free: 11.44 MB / 0.7012 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 (intGreThr.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.723, allocations: 237.1 kB / 0.9074 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.7234, allocations: 146.2 kB / 0.9076 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.7268, allocations: 1.476 MB / 0.909 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.7268, allocations: 11.98 kB / 0.909 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.7268, allocations: 0 / 0.909 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002439/0.7293, allocations: 1.113 MB / 0.9101 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.7355, allocations: 3.083 MB / 0.9131 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.7356, allocations: 5.031 kB / 0.9131 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.7366, allocations: 196.3 kB / 0.9133 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.7366, allocations: 8 kB / 0.9133 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.086e-05/0.7367, allocations: 20 kB / 0.9133 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.7367, allocations: 16.14 kB / 0.9133 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.7367, allocations: 11.94 kB / 0.9134 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/0.7414, allocations: 2.071 MB / 0.9154 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009274/0.7423, allocations: 378.8 kB / 0.9157 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.7426, allocations: 19.98 kB / 0.9158 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.7437, allocations: 107.9 kB / 0.9159 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.744, allocations: 84.34 kB / 0.9159 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.7441, allocations: 43.91 kB / 0.916 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0016/0.7457, allocations: 1.075 MB / 0.917 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7457, allocations: 0 / 0.917 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002213/0.7479, allocations: 0.7993 MB / 0.9178 GB, free: 304 kB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009183/0.7488, allocations: 478.3 kB / 0.9183 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004295/0.7531, allocations: 1.81 MB / 0.92 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7532, allocations: 0 / 0.92 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.7547, allocations: 0.6443 MB / 0.9207 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/0.7586, allocations: 0.8201 MB / 0.9215 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.7631, allocations: 2.751 MB / 0.9242 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/0.764, allocations: 1.277 MB / 0.9254 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001617/0.7656, allocations: 407.9 kB / 0.9258 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.766, allocations: 127.4 kB / 0.9259 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.766, allocations: 0 / 0.9259 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.05505/0.8211, allocations: 33.52 MB / 0.9587 GB, free: 6.914 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)