Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 110.5 kB / 16.27 MB, free: 6.004 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.001461/0.001461, allocations: 186.1 kB / 17.2 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7864/0.7864, allocations: 126.1 MB / 417.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.495 GB, free: 3.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 78.69 MB / 0.5718 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04938/0.4082, allocations: 61.18 MB / 0.6315 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.4265, allocations: 11.98 MB / 0.6433 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.4292, allocations: 59.62 kB / 0.6433 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.4315, allocations: 0.6908 MB / 0.644 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005944/0.4374, allocations: 1.959 MB / 0.6459 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.4406, allocations: 1.208 MB / 0.6471 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004397/0.445, allocations: 3.075 MB / 0.6501 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.4467, allocations: 1.098 MB / 0.6511 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.4497, allocations: 1.328 MB / 0.6524 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.4512, allocations: 0.8983 MB / 0.6533 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.4514, allocations: 116 kB / 0.6534 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.4542, allocations: 1.462 MB / 0.6549 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.4545, allocations: 282.9 kB / 0.6551 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.4553, allocations: 0.6919 MB / 0.6558 GB, free: 444 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.4587, allocations: 2.29 MB / 0.658 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4587, allocations: 4 kB / 0.658 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4587, allocations: 0 / 0.658 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.4588, allocations: 0 / 0.658 GB, free: 14.13 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002915/0.4617, allocations: 1.715 MB / 0.6597 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4618, allocations: 12.03 kB / 0.6597 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.4635, allocations: 347 kB / 0.6601 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.4655, allocations: 1.095 MB / 0.6611 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003652/0.4659, allocations: 121.9 kB / 0.6613 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.466, allocations: 80 kB / 0.6613 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4679, allocations: 0.9703 MB / 0.6623 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4679, allocations: 4 kB / 0.6623 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.468, allocations: 35.94 kB / 0.6623 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.468, allocations: 16 kB / 0.6623 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.4701, allocations: 0.8196 MB / 0.6631 GB, free: 8.75 MB / 0.4981 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.006623/0.4767, allocations: 5.177 MB / 0.6682 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4783, allocations: 0.5697 MB / 0.6687 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.479, allocations: 268.6 kB / 0.669 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.4804, allocations: 1.369 MB / 0.6703 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4804, allocations: 42.52 kB / 0.6704 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 4.969e-06/0.4805, allocations: 11.92 kB / 0.6704 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008501/0.489, allocations: 1.825 MB / 0.6722 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.489, allocations: 55.41 kB / 0.6722 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.4907, allocations: 1.076 MB / 0.6733 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/0.4908, allocations: 33.7 kB / 0.6733 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.4912, allocations: 0.535 MB / 0.6738 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.4914, allocations: 153.8 kB / 0.674 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.4916, allocations: 134.2 kB / 0.6741 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4918, allocations: 322 kB / 0.6744 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.4926, allocations: 283.3 kB / 0.6747 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009605/0.4935, allocations: 0.5095 MB / 0.6752 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.495, allocations: 0.6713 MB / 0.6758 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4951, allocations: 0 / 0.6758 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002596/0.4977, allocations: 0.9617 MB / 0.6768 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4977, allocations: 10.19 kB / 0.6768 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4977, allocations: 4 kB / 0.6768 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.499, allocations: 320.7 kB / 0.6771 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.4995, allocations: 119.8 kB / 0.6772 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.501, allocations: 0.9179 MB / 0.6781 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5022, allocations: 144.9 kB / 0.6782 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.5023, allocations: 35.98 kB / 0.6783 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/0.5034, allocations: 498.1 kB / 0.6787 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009616/0.5044, allocations: 0.4978 MB / 0.6792 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/0.5058, allocations: 0.6705 MB / 0.6799 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.5058, allocations: 0 / 0.6799 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002557/0.5084, allocations: 0.9499 MB / 0.6808 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5084, allocations: 11.94 kB / 0.6808 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5084, allocations: 8.062 kB / 0.6808 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.5095, allocations: 308.6 kB / 0.6811 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.51, allocations: 119.8 kB / 0.6812 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.5115, allocations: 0.9113 MB / 0.6821 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.5127, allocations: 131.6 kB / 0.6823 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.5128, allocations: 35.98 kB / 0.6823 GB, free: 3.941 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.513, allocations: 216.1 kB / 0.6825 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.5132, allocations: 110.6 kB / 0.6826 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.517, allocations: 1.07 MB / 0.6836 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.517, allocations: 8 kB / 0.6837 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.517, allocations: 0 / 0.6837 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.517, allocations: 7.922 kB / 0.6837 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/0.5218, allocations: 2.068 MB / 0.6857 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5219, allocations: 0 / 0.6857 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.5221, allocations: 51.91 kB / 0.6857 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.5231, allocations: 312.8 kB / 0.686 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.5231, allocations: 8 kB / 0.686 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.5247, allocations: 0.9526 MB / 0.687 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5247, allocations: 0 / 0.687 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.5281, allocations: 1.113 MB / 0.6881 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.5285, allocations: 259.4 kB / 0.6883 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.5287, allocations: 15.98 kB / 0.6883 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.5294, allocations: 63.94 kB / 0.6884 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.5295, allocations: 39.89 kB / 0.6884 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.5296, allocations: 23.98 kB / 0.6884 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001153/0.5307, allocations: 0.755 MB / 0.6892 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5307, allocations: 4 kB / 0.6892 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00149/0.5322, allocations: 0.5731 MB / 0.6897 GB, free: 12.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007564/0.533, allocations: 398.1 kB / 0.6901 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.5359, allocations: 1.066 MB / 0.6912 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5359, allocations: 4 kB / 0.6912 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000771/0.5367, allocations: 321.2 kB / 0.6915 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.539, allocations: 0.5113 MB / 0.692 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.5422, allocations: 1.841 MB / 0.6938 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.5428, allocations: 1.061 MB / 0.6948 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008048/0.5437, allocations: 223.9 kB / 0.695 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5438, allocations: 79.42 kB / 0.6951 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.5438, allocations: 0 / 0.6951 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.03834/0.5822, allocations: 25.16 MB / 0.7197 GB, free: 13.73 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)