Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009154/0.0009154, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005839/0.00584, allocations: 171 kB / 16.27 MB, free: 6.324 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 12.55 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5346, allocations: 81.58 MB / 0.5837 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06921/0.6039, allocations: 59.75 MB / 0.642 GB, free: 4.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.6227, allocations: 11.89 MB / 0.6536 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.6256, allocations: 51.69 kB / 0.6537 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.628, allocations: 0.5477 MB / 0.6542 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006672/0.6347, allocations: 1.791 MB / 0.656 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.6382, allocations: 1.088 MB / 0.657 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005682/0.6439, allocations: 3.902 MB / 0.6608 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.6459, allocations: 0.902 MB / 0.6617 GB, free: 436 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.6489, allocations: 1.124 MB / 0.6628 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.6509, allocations: 0.8591 MB / 0.6637 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.6512, allocations: 40 kB / 0.6637 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.6546, allocations: 1.353 MB / 0.665 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.655, allocations: 202.9 kB / 0.6652 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.6562, allocations: 0.635 MB / 0.6658 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.6603, allocations: 2.208 MB / 0.668 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6603, allocations: 4 kB / 0.668 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6603, allocations: 0 / 0.668 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.538e-05/0.6604, allocations: 0 / 0.668 GB, free: 9.977 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.003507/0.6639, allocations: 1.487 MB / 0.6694 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.6639, allocations: 12.03 kB / 0.6695 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.6658, allocations: 387 kB / 0.6698 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.6684, allocations: 1.128 MB / 0.6709 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.6688, allocations: 121.9 kB / 0.671 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.6689, allocations: 88 kB / 0.6711 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.6711, allocations: 0.966 MB / 0.6721 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.6711, allocations: 4 kB / 0.6721 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.6712, allocations: 36 kB / 0.6721 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.6712, allocations: 16 kB / 0.6721 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.6734, allocations: 0.8547 MB / 0.673 GB, free: 4.73 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.006659/0.6801, allocations: 4.796 MB / 0.6776 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6817, allocations: 0.5985 MB / 0.6782 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.6824, allocations: 298.8 kB / 0.6785 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.6838, allocations: 1.392 MB / 0.6799 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.6838, allocations: 34.56 kB / 0.6799 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.6838, allocations: 4 kB / 0.6799 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008819/0.6927, allocations: 2.044 MB / 0.6819 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.6928, allocations: 59.34 kB / 0.682 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.6948, allocations: 1.059 MB / 0.683 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-05/0.6949, allocations: 41.7 kB / 0.683 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.6954, allocations: 0.5157 MB / 0.6835 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.6956, allocations: 153.8 kB / 0.6837 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6957, allocations: 53.69 kB / 0.6837 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6958, allocations: 330 kB / 0.684 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/0.6967, allocations: 281 kB / 0.6843 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.6977, allocations: 0.4949 MB / 0.6848 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.6992, allocations: 0.655 MB / 0.6854 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6992, allocations: 0 / 0.6854 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002698/0.7019, allocations: 0.9805 MB / 0.6864 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.7021, allocations: 200.4 kB / 0.6866 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7021, allocations: 7.984 kB / 0.6866 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.7035, allocations: 336.6 kB / 0.6869 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.704, allocations: 111.8 kB / 0.687 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.7055, allocations: 0.9421 MB / 0.6879 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.7069, allocations: 183.2 kB / 0.6881 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.707, allocations: 24 kB / 0.6881 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.7071, allocations: 8 kB / 0.6881 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002229/0.7093, allocations: 0.8474 MB / 0.689 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7093, allocations: 4 kB / 0.689 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.7105, allocations: 333 kB / 0.6893 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.7109, allocations: 111.9 kB / 0.6894 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.7125, allocations: 0.931 MB / 0.6903 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.714, allocations: 159 kB / 0.6905 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.7141, allocations: 27.98 kB / 0.6905 GB, free: 1.758 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0007595/0.7148, allocations: 360.8 kB / 0.6908 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.7152, allocations: 110.6 kB / 0.6909 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.7192, allocations: 1.155 MB / 0.6921 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.7193, allocations: 7.984 kB / 0.6921 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7193, allocations: 4 kB / 0.6921 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7193, allocations: 3.938 kB / 0.6921 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.7245, allocations: 2.159 MB / 0.6942 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.7246, allocations: 4 kB / 0.6942 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.7248, allocations: 55.91 kB / 0.6942 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.7258, allocations: 328.6 kB / 0.6946 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.7259, allocations: 11.98 kB / 0.6946 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.7274, allocations: 0.9802 MB / 0.6955 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.7274, allocations: 7.984 kB / 0.6955 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.7309, allocations: 1.191 MB / 0.6967 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.7314, allocations: 279.4 kB / 0.697 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.7316, allocations: 12 kB / 0.697 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.7324, allocations: 103.8 kB / 0.6971 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.7325, allocations: 39.88 kB / 0.6971 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.7326, allocations: 19.94 kB / 0.6971 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001218/0.7338, allocations: 0.7467 MB / 0.6979 GB, free: 10 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7338, allocations: 0 / 0.6979 GB, free: 10 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001693/0.7355, allocations: 0.5653 MB / 0.6984 GB, free: 9.438 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.001081/0.7366, allocations: 389.8 kB / 0.6988 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003049/0.7397, allocations: 1.058 MB / 0.6998 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7397, allocations: 4 kB / 0.6998 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.7405, allocations: 329.5 kB / 0.7001 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.7434, allocations: 0.5027 MB / 0.7006 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.7471, allocations: 2.262 MB / 0.7028 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.7478, allocations: 1.058 MB / 0.7039 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008574/0.7487, allocations: 218.2 kB / 0.7041 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.7488, allocations: 87.36 kB / 0.7042 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.7488, allocations: 0 / 0.7042 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of Templates: time 0.03903/0.7879, allocations: 24.09 MB / 0.7277 GB, free: 11.71 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)