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.001164/0.001164, allocations: 103.1 kB / 16.27 MB, free: 5.977 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.001138/0.001138, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.876/1.876, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.00169/0.00169, allocations: 72.45 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 114.5 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.512/0.7478, allocations: 62.63 MB / 0.8452 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.7685, allocations: 13.56 MB / 0.8584 GB, free: 14.35 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.7725, allocations: 66.78 kB / 0.8585 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.7766, allocations: 0.9452 MB / 0.8594 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009681/0.7863, allocations: 2.365 MB / 0.8617 GB, free: 12.35 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006013/0.7923, allocations: 1.633 MB / 0.8633 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008788/0.8011, allocations: 4.243 MB / 0.8675 GB, free: 9.406 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/0.8043, allocations: 1.416 MB / 0.8688 GB, free: 8.773 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/0.8096, allocations: 1.63 MB / 0.8704 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.8128, allocations: 1.286 MB / 0.8717 GB, free: 7.406 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004936/0.8133, allocations: 176.1 kB / 0.8719 GB, free: 7.406 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.818, allocations: 1.432 MB / 0.8733 GB, free: 6.668 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.8188, allocations: 0.499 MB / 0.8737 GB, free: 6.281 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.8208, allocations: 1.004 MB / 0.8747 GB, free: 5.586 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006739/0.8275, allocations: 3.132 MB / 0.8778 GB, free: 3.445 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.8276, allocations: 1.156 kB / 0.8778 GB, free: 3.445 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8276, allocations: 0 / 0.8778 GB, free: 3.445 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.583e-05/0.8277, allocations: 0 / 0.8778 GB, free: 3.445 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.006484/0.8342, allocations: 2.336 MB / 0.8801 GB, free: 1.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.8342, allocations: 9.406 kB / 0.8801 GB, free: 1.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.836, allocations: 318.9 kB / 0.8804 GB, free: 1.598 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.839, allocations: 1.402 MB / 0.8817 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.8393, allocations: 165.4 kB / 0.8819 GB, free: 396 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.8395, allocations: 107.9 kB / 0.882 GB, free: 360 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.8427, allocations: 1.44 MB / 0.8834 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.8427, allocations: 1.094 kB / 0.8834 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.8428, allocations: 43.94 kB / 0.8835 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.8429, allocations: 33.23 kB / 0.8835 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/0.8462, allocations: 1.34 MB / 0.8848 GB, free: 14.69 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.01061/0.8568, allocations: 6.663 MB / 0.8913 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.8592, allocations: 1.163 MB / 0.8924 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.8605, allocations: 0.5637 MB / 0.893 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009829/0.8615, allocations: 1.149 MB / 0.8941 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.8616, allocations: 44.36 kB / 0.8942 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.916e-06/0.8616, allocations: 0 / 0.8942 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of matching and sorting (n=77): time 0.004625/0.8663, allocations: 1.584 MB / 0.8957 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.8664, allocations: 115.4 kB / 0.8958 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.8688, allocations: 1.399 MB / 0.8972 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.869, allocations: 47.48 kB / 0.8972 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.8697, allocations: 0.7135 MB / 0.8979 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.87, allocations: 264.1 kB / 0.8982 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.8703, allocations: 177.3 kB / 0.8983 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8705, allocations: 339.9 kB / 0.8987 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.8719, allocations: 0.4929 MB / 0.8991 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8734, allocations: 0.727 MB / 0.8999 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.876, allocations: 1.124 MB / 0.901 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.876, allocations: 1.125 kB / 0.901 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003516/0.8796, allocations: 1.352 MB / 0.9023 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.8796, allocations: 8 kB / 0.9023 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8796, allocations: 4 kB / 0.9023 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.8797, allocations: 13.12 kB / 0.9023 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.8809, allocations: 272 kB / 0.9026 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.8809, allocations: 12 kB / 0.9026 GB, free: 416 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.8825, allocations: 162.4 kB / 0.9027 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.44e-05/0.8826, allocations: 39.98 kB / 0.9028 GB, free: 216 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001909/0.8845, allocations: 0.8001 MB / 0.9035 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001443/0.886, allocations: 0.7112 MB / 0.9042 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002569/0.8885, allocations: 1.129 MB / 0.9053 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.838e-06/0.8886, allocations: 4 kB / 0.9053 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00351/0.8921, allocations: 1.339 MB / 0.9067 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.8921, allocations: 4.562 kB / 0.9067 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8921, allocations: 8 kB / 0.9067 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8921, allocations: 19.92 kB / 0.9067 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.8933, allocations: 263.6 kB / 0.9069 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.8934, allocations: 11.98 kB / 0.9069 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.8949, allocations: 143.2 kB / 0.9071 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/0.8951, allocations: 43.92 kB / 0.9071 GB, free: 11.57 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.0004072/0.8955, allocations: 237.1 kB / 0.9073 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.8958, allocations: 146.2 kB / 0.9075 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.8992, allocations: 1.48 MB / 0.9089 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.8993, allocations: 12 kB / 0.9089 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8993, allocations: 0 / 0.9089 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/0.9018, allocations: 1.113 MB / 0.91 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/0.9081, allocations: 3.083 MB / 0.913 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.9082, allocations: 4 kB / 0.913 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/0.9092, allocations: 196.3 kB / 0.9132 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.9092, allocations: 15.92 kB / 0.9132 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.9093, allocations: 19.98 kB / 0.9133 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.9093, allocations: 8 kB / 0.9133 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.9093, allocations: 7.938 kB / 0.9133 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.9141, allocations: 2.071 MB / 0.9153 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9152, allocations: 378.8 kB / 0.9157 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.9155, allocations: 19.98 kB / 0.9157 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.9168, allocations: 103.9 kB / 0.9158 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.917, allocations: 87.03 kB / 0.9159 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/0.9171, allocations: 39.91 kB / 0.9159 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001676/0.9188, allocations: 1.079 MB / 0.917 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9188, allocations: 0 / 0.917 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002416/0.9212, allocations: 0.7954 MB / 0.9177 GB, free: 448 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.001201/0.9224, allocations: 483.2 kB / 0.9182 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005117/0.9275, allocations: 1.876 MB / 0.92 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.9276, allocations: 0 / 0.92 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.9292, allocations: 0.6171 MB / 0.9206 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/0.934, allocations: 0.8258 MB / 0.9214 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.9391, allocations: 2.858 MB / 0.9242 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/0.94, allocations: 1.262 MB / 0.9255 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.9406, allocations: 135.4 kB / 0.9256 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.9406, allocations: 7.938 kB / 0.9256 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.04619/0.9868, allocations: 28.69 MB / 0.9536 GB, free: 11.91 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)