Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 80.88 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 165.5 kB / 24.97 MB, free: 8.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9329/0.9329, allocations: 177.1 MB / 205.4 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.906/1.906, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7759 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.606e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.01934/0.01935, allocations: 26.55 MB / 0.8019 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.03658, allocations: 13.15 MB / 0.8147 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.03885, allocations: 150.8 kB / 0.8149 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.04218, allocations: 1.958 MB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.04601, allocations: 2.906 MB / 0.8196 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.05029, allocations: 3.023 MB / 0.8226 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.008374/0.05867, allocations: 10.44 MB / 0.8328 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002703/0.06137, allocations: 2.179 MB / 0.8349 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.065, allocations: 3.811 MB / 0.8386 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.06672, allocations: 1.794 MB / 0.8404 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.06703, allocations: 296 kB / 0.8407 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.06862, allocations: 1.267 MB / 0.8419 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006771/0.06929, allocations: 0.9732 MB / 0.8428 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009353/0.07023, allocations: 1.204 MB / 0.844 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.07301, allocations: 3.333 MB / 0.8473 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.07301, allocations: 0 / 0.8473 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.222e-06/0.07301, allocations: 4 kB / 0.8473 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.38e-05/0.07305, allocations: 0 / 0.8473 GB, free: 12.36 MB / 0.8073 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.004165/0.07721, allocations: 3.742 MB / 0.8509 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.07725, allocations: 12.03 kB / 0.8509 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.07893, allocations: 0.8035 MB / 0.8517 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.08149, allocations: 2.249 MB / 0.8539 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.08166, allocations: 321.2 kB / 0.8542 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.08185, allocations: 180 kB / 0.8544 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.08366, allocations: 1.728 MB / 0.8561 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.08368, allocations: 7.875 kB / 0.8561 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.08379, allocations: 64 kB / 0.8562 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.08382, allocations: 40 kB / 0.8562 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.08463, allocations: 0.5883 MB / 0.8568 GB, free: 2.23 MB / 0.8073 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.005554/0.09019, allocations: 5.599 MB / 0.8622 GB, free: 12.47 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.09124, allocations: 0.5845 MB / 0.8628 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.09163, allocations: 258.6 kB / 0.8631 GB, free: 11.62 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.09379, allocations: 1.457 MB / 0.8645 GB, free: 10.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.09439, allocations: 0.7655 MB / 0.8652 GB, free: 9.297 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002949/0.09468, allocations: 103.3 kB / 0.8653 GB, free: 9.195 MB / 0.823 GB Notification: Performance of pre-optimization done (n=96): time 2.265e-06/0.09468, allocations: 0 / 0.8653 GB, free: 9.195 MB / 0.823 GB Notification: Performance of matching and sorting (n=96): time 0.00105/0.09573, allocations: 0.7599 MB / 0.8661 GB, free: 8.434 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.09577, allocations: 90.11 kB / 0.8661 GB, free: 8.328 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.09732, allocations: 2.152 MB / 0.8683 GB, free: 6.156 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.09742, allocations: 65.69 kB / 0.8683 GB, free: 6.086 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.09786, allocations: 0.8611 MB / 0.8692 GB, free: 5.211 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.09806, allocations: 345 kB / 0.8695 GB, free: 4.871 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000596/0.09865, allocations: 306.6 kB / 0.8698 GB, free: 4.562 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.09875, allocations: 365.8 kB / 0.8701 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.0993, allocations: 440.3 kB / 0.8705 GB, free: 3.738 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008237/0.1001, allocations: 1.229 MB / 0.8717 GB, free: 2.203 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1012, allocations: 1.124 MB / 0.8728 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1012, allocations: 0 / 0.8728 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001479/0.1027, allocations: 1.373 MB / 0.8742 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.1027, allocations: 146.8 kB / 0.8743 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1027, allocations: 12 kB / 0.8743 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1028, allocations: 23.94 kB / 0.8744 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.1035, allocations: 347.7 kB / 0.8747 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1035, allocations: 23.94 kB / 0.8747 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.1043, allocations: 187.8 kB / 0.8749 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.1044, allocations: 75.88 kB / 0.875 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007825/0.1052, allocations: 0.5349 MB / 0.8755 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001163/0.1064, allocations: 1.217 MB / 0.8767 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001062/0.1074, allocations: 1.129 MB / 0.8778 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.1074, allocations: 4 kB / 0.8778 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.00151/0.109, allocations: 1.378 MB / 0.8791 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.109, allocations: 142.8 kB / 0.8793 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.109, allocations: 12 kB / 0.8793 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.109, allocations: 20 kB / 0.8793 GB, free: 9.578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.1098, allocations: 343.5 kB / 0.8796 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.1098, allocations: 27.92 kB / 0.8796 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.1106, allocations: 187.6 kB / 0.8798 GB, free: 9.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.1107, allocations: 67.95 kB / 0.8799 GB, free: 8.965 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (163): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 4 * 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.000243/0.1109, allocations: 296.6 kB / 0.8802 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.1111, allocations: 183.8 kB / 0.8803 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.1123, allocations: 0.9499 MB / 0.8813 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005586/0.1129, allocations: 0.5334 MB / 0.8818 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1129, allocations: 0 / 0.8818 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.1133, allocations: 322 kB / 0.8821 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.1135, allocations: 23.92 kB / 0.8821 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.1141, allocations: 95.86 kB / 0.8822 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1142, allocations: 68.86 kB / 0.8823 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001238/0.1155, allocations: 0.7142 MB / 0.883 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001185/0.1167, allocations: 1.097 MB / 0.8841 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000313/0.117, allocations: 278.6 kB / 0.8843 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007603/0.1177, allocations: 1.029 MB / 0.8853 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of Backend: time 4.5e-07/0.1177, allocations: 0 / 0.8853 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002791/0.1205, allocations: 2.334 MB / 0.8876 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of SimCode: time 0.007202/0.1277, allocations: 6.183 MB / 0.8936 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.072/0.1997, allocations: 71.72 MB / 0.9637 GB, free: 4.258 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.216322964988649]