Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 109.8 kB / 16.37 MB, free: 5.547 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.00107/0.00107, allocations: 188.2 kB / 17.31 MB, free: 5.188 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.31/1.31, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.00223/0.00223, allocations: 72.42 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1944, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.3775/0.572, allocations: 89.99 MB / 0.8727 GB, free: 4.324 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03608/0.6081, allocations: 25.03 MB / 0.8971 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004652/0.6128, allocations: 109 kB / 0.8972 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004652/0.6175, allocations: 1.688 MB / 0.8989 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009688/0.6272, allocations: 3.621 MB / 0.9024 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.6381, allocations: 4.477 MB / 0.9068 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.6483, allocations: 7.029 MB / 0.9136 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.6517, allocations: 2.351 MB / 0.9159 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/0.6571, allocations: 2.774 MB / 0.9186 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.6597, allocations: 2.061 MB / 0.9207 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.6602, allocations: 300 kB / 0.9209 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/0.6654, allocations: 2.574 MB / 0.9235 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00084/0.6662, allocations: 0.8137 MB / 0.9243 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.6683, allocations: 1.637 MB / 0.9259 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007755/0.6761, allocations: 5.395 MB / 0.9311 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6761, allocations: 0 / 0.9311 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6761, allocations: 0 / 0.9311 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.635e-05/0.6762, allocations: 4 kB / 0.9311 GB, free: 4.527 MB / 0.7169 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.006162/0.6823, allocations: 3.618 MB / 0.9347 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6824, allocations: 16.67 kB / 0.9347 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.6855, allocations: 0.6568 MB / 0.9353 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.6895, allocations: 2.372 MB / 0.9376 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.6897, allocations: 202.4 kB / 0.9378 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.69, allocations: 180 kB / 0.938 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.6938, allocations: 2.028 MB / 0.94 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.6939, allocations: 3.938 kB / 0.94 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.6941, allocations: 64 kB / 0.94 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.6941, allocations: 43.98 kB / 0.9401 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/0.6983, allocations: 1.803 MB / 0.9418 GB, free: 9.27 MB / 0.7325 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.01289/0.7112, allocations: 9.446 MB / 0.9511 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.714, allocations: 1.263 MB / 0.9523 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.7156, allocations: 0.7065 MB / 0.953 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005274/0.7209, allocations: 3.848 MB / 0.9567 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.7227, allocations: 0.8248 MB / 0.9576 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005177/0.7232, allocations: 110.8 kB / 0.9577 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=99): time 4.408e-06/0.7232, allocations: 0 / 0.9577 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of matching and sorting (n=99): time 0.004914/0.7281, allocations: 2.032 MB / 0.9596 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.7282, allocations: 141.5 kB / 0.9598 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.7315, allocations: 2.372 MB / 0.9621 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.7317, allocations: 61.69 kB / 0.9622 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.7327, allocations: 1.166 MB / 0.9633 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.733, allocations: 335.2 kB / 0.9636 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006005/0.7336, allocations: 347.2 kB / 0.9639 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.7337, allocations: 301.1 kB / 0.9642 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.7357, allocations: 0.7933 MB / 0.965 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.738, allocations: 1.265 MB / 0.9662 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/0.7419, allocations: 1.887 MB / 0.9681 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.7419, allocations: 11.94 kB / 0.9681 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005686/0.7476, allocations: 2.404 MB / 0.9704 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/0.7477, allocations: 138.8 kB / 0.9706 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.7477, allocations: 16.84 kB / 0.9706 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/0.7478, allocations: 20 kB / 0.9706 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.7494, allocations: 349.6 kB / 0.9709 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.7494, allocations: 29.28 kB / 0.971 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.7518, allocations: 240.4 kB / 0.9712 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.752, allocations: 91.89 kB / 0.9713 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002688/0.7547, allocations: 1.226 MB / 0.9725 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002223/0.7569, allocations: 1.242 MB / 0.9737 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003568/0.7605, allocations: 1.856 MB / 0.9755 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/0.7605, allocations: 4 kB / 0.9755 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005248/0.7658, allocations: 2.369 MB / 0.9778 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.7659, allocations: 145.1 kB / 0.978 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.7659, allocations: 15.94 kB / 0.978 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.766, allocations: 20.81 kB / 0.978 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.7675, allocations: 343.5 kB / 0.9783 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.7675, allocations: 27.92 kB / 0.9784 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.7699, allocations: 244.3 kB / 0.9786 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.77, allocations: 91.94 kB / 0.9787 GB, free: 1.699 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TLoaSet.booPul.y,$PRE.TLoaSet.booPul.y,TSouEnt.booPul.y,$PRE.TSouEnt.booPul.y,pulse.booPul.y,$PRE.pulse.booPul.y,uMod.booPul.y,$PRE.uMod.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 163 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * 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.0004302/0.7705, allocations: 277.3 kB / 0.9789 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.7709, allocations: 244.9 kB / 0.9792 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.7751, allocations: 1.859 MB / 0.981 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003085/0.7782, allocations: 1.414 MB / 0.9824 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7782, allocations: 0 / 0.9824 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.7793, allocations: 489.8 kB / 0.9828 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.7796, allocations: 27.98 kB / 0.9829 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.7811, allocations: 103.9 kB / 0.983 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.7813, allocations: 76.89 kB / 0.983 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004131/0.7855, allocations: 1.606 MB / 0.9846 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005576/0.7911, allocations: 2.666 MB / 0.9872 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001552/0.7926, allocations: 0.7105 MB / 0.9879 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002512/0.7952, allocations: 1.627 MB / 0.9895 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of Backend: time 5.91e-07/0.7952, allocations: 3.938 kB / 0.9895 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008182/0.8034, allocations: 3.629 MB / 0.993 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of SimCode: time 0.009787/0.8132, allocations: 5.177 MB / 0.9981 GB, free: 13.67 MB / 0.795 GB Notification: Performance of Templates: time 0.09558/0.9088, allocations: 62.11 MB / 1.059 GB, free: 296 kB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)