Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001048/0.001048, allocations: 179.4 kB / 371.8 MB, free: 10.3 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.431/1.431, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001047/0.001047, allocations: 101.2 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 14.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2663, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.06704/0.3334, allocations: 75.32 MB / 1.053 GB, free: 228 kB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5399/0.8734, allocations: 22.11 MB / 1.075 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.8781, allocations: 83.09 kB / 1.075 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006617/0.8848, allocations: 1.545 MB / 1.076 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01461/0.8994, allocations: 3.563 MB / 1.08 GB, free: 25.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01674/0.9162, allocations: 3.936 MB / 1.083 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01167/0.9279, allocations: 4.115 MB / 1.087 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005338/0.9332, allocations: 1.751 MB / 1.089 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.9397, allocations: 1.962 MB / 1.091 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.9437, allocations: 1.386 MB / 1.092 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.9451, allocations: 116.1 kB / 1.093 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007468/0.9526, allocations: 1.728 MB / 1.094 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.9543, allocations: 0.5671 MB / 1.095 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.9566, allocations: 0.59 MB / 1.095 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0086/0.9652, allocations: 3.824 MB / 1.099 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9653, allocations: 0 / 1.099 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9653, allocations: 0 / 1.099 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002255/0.9655, allocations: 0 / 1.099 GB, free: 24.8 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.00951/0.975, allocations: 3.052 MB / 1.102 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9751, allocations: 10.25 kB / 1.102 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.9793, allocations: 0.7163 MB / 1.103 GB, free: 22.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006738/0.9861, allocations: 2.258 MB / 1.105 GB, free: 22.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/0.9871, allocations: 344.5 kB / 1.105 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008819/0.988, allocations: 176.6 kB / 1.106 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006113/0.9942, allocations: 1.993 MB / 1.107 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.9943, allocations: 2.906 kB / 1.107 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/0.9947, allocations: 63.16 kB / 1.108 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.9948, allocations: 48.61 kB / 1.108 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.9993, allocations: 1.761 MB / 1.109 GB, free: 22.04 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.01571/1.015, allocations: 9.27 MB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/1.017, allocations: 1.131 MB / 1.119 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007101/1.024, allocations: 4.175 MB / 1.124 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/1.026, allocations: 0.7788 MB / 1.124 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001488/1.028, allocations: 201.7 kB / 1.124 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 7.915e-06/1.028, allocations: 0 / 1.124 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.005309/1.033, allocations: 1.914 MB / 1.126 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/1.033, allocations: 175.6 kB / 1.127 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/1.038, allocations: 2.3 MB / 1.129 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003924/1.039, allocations: 63.45 kB / 1.129 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.04, allocations: 1.174 MB / 1.13 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/1.04, allocations: 338 kB / 1.13 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.041, allocations: 34.03 kB / 1.13 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.041, allocations: 364.1 kB / 1.131 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.043, allocations: 0.7407 MB / 1.131 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/1.045, allocations: 1.23 MB / 1.133 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/1.047, allocations: 0.9222 MB / 1.134 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.047, allocations: 3.625 kB / 1.134 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005625/1.053, allocations: 2.306 MB / 1.136 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001024/1.054, allocations: 5.206 MB / 1.141 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/1.054, allocations: 14.12 kB / 1.141 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.843e-05/1.054, allocations: 20.66 kB / 1.141 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.056, allocations: 374.6 kB / 1.141 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.523e-05/1.056, allocations: 21.16 kB / 1.141 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/1.059, allocations: 364.5 kB / 1.142 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/1.059, allocations: 94.64 kB / 1.142 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.059, allocations: 4.156 kB / 1.142 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005007/1.065, allocations: 2.108 MB / 1.144 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/1.065, allocations: 16.41 kB / 1.144 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/1.065, allocations: 20.5 kB / 1.144 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.066, allocations: 364.3 kB / 1.144 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.762e-05/1.066, allocations: 34.69 kB / 1.144 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.069, allocations: 354.3 kB / 1.145 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/1.07, allocations: 85.73 kB / 1.145 GB, free: 2.926 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * 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.001625/1.071, allocations: 0.6407 MB / 1.145 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/1.072, allocations: 241.5 kB / 1.145 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/1.076, allocations: 1.801 MB / 1.147 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.076, allocations: 13.86 kB / 1.147 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.076, allocations: 0 / 1.147 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002678/1.079, allocations: 1.337 MB / 1.149 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008504/1.087, allocations: 3.719 MB / 1.152 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.088, allocations: 3.688 kB / 1.152 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.089, allocations: 239.6 kB / 1.152 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.089, allocations: 3.438 kB / 1.152 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.089, allocations: 32.66 kB / 1.152 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/1.089, allocations: 11.53 kB / 1.152 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.089, allocations: 2.906 kB / 1.152 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005548/1.094, allocations: 2.607 MB / 1.155 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/1.096, allocations: 0.5013 MB / 1.155 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007842/1.097, allocations: 19.56 kB / 1.155 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.099, allocations: 182.7 kB / 1.156 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.099, allocations: 86.95 kB / 1.156 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.1, allocations: 56.98 kB / 1.156 GB, free: 13.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003401/1.103, allocations: 1.58 MB / 1.157 GB, free: 12.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.103, allocations: 4 kB / 1.157 GB, free: 12.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00617/1.109, allocations: 1.372 MB / 1.159 GB, free: 11.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * 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.002184/1.111, allocations: 0.6914 MB / 1.159 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007632/1.119, allocations: 3.309 MB / 1.163 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.119, allocations: 1.625 kB / 1.163 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/1.121, allocations: 0.7102 MB / 1.163 GB, free: 7.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006712/1.128, allocations: 1.102 MB / 1.164 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.139, allocations: 5.015 MB / 1.169 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/1.141, allocations: 1.705 MB / 1.171 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004024/1.145, allocations: 0.6094 MB / 1.172 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/1.146, allocations: 187.4 kB / 1.172 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/1.146, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.09002/1.236, allocations: 50.03 MB / 1.221 GB, free: 13.34 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)