Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.704/1.704, allocations: 287.4 MB / 303.2 MB, free: 8.184 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.0009824/0.0009824, allocations: 186.5 kB / 371.8 MB, free: 10.84 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.299/1.299, allocations: 205.4 MB / 0.6304 GB, free: 10.62 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.0006957/0.0006958, allocations: 93.53 kB / 0.7438 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12.08 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.07028/0.2344, allocations: 83.01 MB / 1.06 GB, free: 9 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.4029/0.6374, allocations: 23.85 MB / 1.084 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.6408, allocations: 90.22 kB / 1.084 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.6448, allocations: 1.274 MB / 1.085 GB, free: 25.89 MB / 0.6823 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. Notification: Performance of NFTyping.typeBindings: time 0.008048/0.6529, allocations: 2.853 MB / 1.088 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009373/0.6623, allocations: 3.365 MB / 1.091 GB, free: 25.65 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009826/0.6721, allocations: 7.7 MB / 1.099 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.6754, allocations: 1.924 MB / 1.1 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005169/0.6806, allocations: 2.22 MB / 1.103 GB, free: 23.95 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.685, allocations: 1.872 MB / 1.104 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.6861, allocations: 124.7 kB / 1.105 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006769/0.6929, allocations: 1.82 MB / 1.106 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.6945, allocations: 0.6281 MB / 1.107 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.6963, allocations: 0.5886 MB / 1.108 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007379/0.7037, allocations: 3.965 MB / 1.111 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.7037, allocations: 1.188 kB / 1.111 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7037, allocations: 0 / 1.111 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.06e-05/0.7038, allocations: 4 kB / 1.111 GB, free: 22.86 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.005283/0.7091, allocations: 3.061 MB / 1.114 GB, free: 21.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7092, allocations: 9.688 kB / 1.114 GB, free: 21.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.712, allocations: 0.7199 MB / 1.115 GB, free: 21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/0.7159, allocations: 2.37 MB / 1.117 GB, free: 20.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007185/0.7166, allocations: 337.1 kB / 1.118 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.7169, allocations: 178.8 kB / 1.118 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.7206, allocations: 2.065 MB / 1.12 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.7206, allocations: 11.14 kB / 1.12 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.7208, allocations: 62.25 kB / 1.12 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.7208, allocations: 42.47 kB / 1.12 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.725, allocations: 1.879 MB / 1.122 GB, free: 19.18 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.01209/0.7371, allocations: 9.516 MB / 1.131 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.7394, allocations: 1.21 MB / 1.132 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.7409, allocations: 0.7343 MB / 1.133 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005244/0.7462, allocations: 3.873 MB / 1.137 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/0.7479, allocations: 0.8617 MB / 1.138 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009246/0.7488, allocations: 181.9 kB / 1.138 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.709e-06/0.7488, allocations: 0 / 1.138 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.004605/0.7534, allocations: 2.098 MB / 1.14 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.7535, allocations: 167.8 kB / 1.14 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.7567, allocations: 2.342 MB / 1.142 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.7569, allocations: 63.14 kB / 1.142 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009165/0.7578, allocations: 1.172 MB / 1.144 GB, free: 5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.7581, allocations: 336.4 kB / 1.144 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.7582, allocations: 38.31 kB / 1.144 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.7583, allocations: 362.8 kB / 1.144 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.7601, allocations: 0.7985 MB / 1.145 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.762, allocations: 1.293 MB / 1.146 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.7651, allocations: 1.924 MB / 1.148 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.7651, allocations: 3.469 kB / 1.148 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004722/0.7698, allocations: 2.425 MB / 1.151 GB, free: 336 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002733/0.7701, allocations: 0.5761 MB / 1.151 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.7702, allocations: 13.55 kB / 1.151 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.7702, allocations: 25.97 kB / 1.151 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.7717, allocations: 364.8 kB / 1.151 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/0.7718, allocations: 33.14 kB / 1.152 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.7746, allocations: 364.7 kB / 1.152 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.7748, allocations: 88.58 kB / 1.152 GB, free: 15.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.7748, allocations: 8.125 kB / 1.152 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004566/0.7794, allocations: 2.223 MB / 1.154 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.7794, allocations: 17.25 kB / 1.154 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7795, allocations: 18.28 kB / 1.154 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.7809, allocations: 367.2 kB / 1.155 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.781, allocations: 28.67 kB / 1.155 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.7839, allocations: 352 kB / 1.155 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.7841, allocations: 88.23 kB / 1.155 GB, free: 13.92 MB / 0.698 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.00139/0.7855, allocations: 0.6301 MB / 1.156 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/0.7859, allocations: 245.3 kB / 1.156 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.7898, allocations: 1.896 MB / 1.158 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002885/0.7927, allocations: 1.454 MB / 1.159 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.7928, allocations: 0 / 1.159 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.7939, allocations: 0.5171 MB / 1.16 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.7942, allocations: 19.94 kB / 1.16 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.7958, allocations: 183.5 kB / 1.16 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.796, allocations: 84.81 kB / 1.16 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003936/0.7999, allocations: 1.661 MB / 1.161 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005118/0.805, allocations: 2.718 MB / 1.164 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001432/0.8065, allocations: 0.7365 MB / 1.165 GB, free: 5.355 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002574/0.8091, allocations: 1.6 MB / 1.166 GB, free: 3.75 MB / 0.698 GB Notification: Performance of Backend: time 4.71e-07/0.8091, allocations: 0 / 1.166 GB, free: 3.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00814/0.8172, allocations: 3.642 MB / 1.17 GB, free: 84 kB / 0.698 GB Notification: Performance of SimCode: time 0.009921/0.8272, allocations: 5.845 MB / 1.176 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.09162/0.9188, allocations: 60.05 MB / 1.234 GB, free: 14.65 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)