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.001469/0.001469, allocations: 112.6 kB / 16.37 MB, free: 6 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.00175/0.00175, allocations: 196 kB / 17.31 MB, free: 5.613 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8023/0.8023, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 68.12 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 80.18 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04902/0.3901, allocations: 61.2 MB / 0.6413 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.4063, allocations: 11.97 MB / 0.6529 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.4087, allocations: 55.69 kB / 0.653 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.4106, allocations: 0.6908 MB / 0.6537 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.4158, allocations: 1.959 MB / 0.6556 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.4188, allocations: 1.213 MB / 0.6568 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003931/0.4227, allocations: 3.079 MB / 0.6598 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4241, allocations: 1.104 MB / 0.6609 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.4269, allocations: 1.336 MB / 0.6622 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.428, allocations: 0.8945 MB / 0.663 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.4282, allocations: 112 kB / 0.6631 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.4309, allocations: 1.458 MB / 0.6646 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.4312, allocations: 298.8 kB / 0.6648 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006923/0.4319, allocations: 0.692 MB / 0.6655 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.435, allocations: 2.325 MB / 0.6678 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.435, allocations: 0 / 0.6678 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.435, allocations: 0 / 0.6678 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.435, allocations: 0 / 0.6678 GB, free: 5.637 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.002855/0.4379, allocations: 1.72 MB / 0.6695 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4379, allocations: 12.03 kB / 0.6695 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4395, allocations: 343 kB / 0.6698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.4416, allocations: 1.163 MB / 0.671 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.4417, allocations: 62 kB / 0.671 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4418, allocations: 84 kB / 0.6711 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.4436, allocations: 0.9625 MB / 0.672 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.4437, allocations: 3.938 kB / 0.672 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.4437, allocations: 32 kB / 0.6721 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.4438, allocations: 24 kB / 0.6721 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.4457, allocations: 0.804 MB / 0.6729 GB, free: 264 kB / 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.006034/0.4517, allocations: 5.141 MB / 0.6779 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.4531, allocations: 0.5629 MB / 0.6784 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.4537, allocations: 260.7 kB / 0.6787 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/0.455, allocations: 1.369 MB / 0.68 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.455, allocations: 42.55 kB / 0.6801 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.4551, allocations: 4 kB / 0.6801 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007353/0.4624, allocations: 1.758 MB / 0.6818 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4625, allocations: 63.34 kB / 0.6818 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.464, allocations: 1.068 MB / 0.6829 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.4641, allocations: 37.7 kB / 0.6829 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.4644, allocations: 0.5351 MB / 0.6834 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4646, allocations: 149.8 kB / 0.6836 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.4648, allocations: 138.1 kB / 0.6837 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4649, allocations: 330 kB / 0.684 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/0.4656, allocations: 279.2 kB / 0.6843 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/0.4665, allocations: 0.4978 MB / 0.6848 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.4678, allocations: 0.6598 MB / 0.6854 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4678, allocations: 3.938 kB / 0.6854 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002224/0.47, allocations: 0.9538 MB / 0.6864 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4701, allocations: 4 kB / 0.6864 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4701, allocations: 8 kB / 0.6864 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.4713, allocations: 300.7 kB / 0.6867 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.4718, allocations: 119.8 kB / 0.6868 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.4731, allocations: 0.8996 MB / 0.6877 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.4741, allocations: 147.2 kB / 0.6878 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.4742, allocations: 35.97 kB / 0.6878 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009795/0.4752, allocations: 485.2 kB / 0.6883 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008612/0.476, allocations: 0.5017 MB / 0.6888 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001269/0.4773, allocations: 0.6469 MB / 0.6894 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.4773, allocations: 4 kB / 0.6894 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002178/0.4795, allocations: 0.946 MB / 0.6903 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4795, allocations: 8 kB / 0.6904 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4796, allocations: 7.938 kB / 0.6904 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009957/0.4806, allocations: 302.5 kB / 0.6907 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.481, allocations: 115.8 kB / 0.6908 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.4823, allocations: 0.8957 MB / 0.6916 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.4833, allocations: 123.6 kB / 0.6918 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.4834, allocations: 28 kB / 0.6918 GB, free: 11.7 MB / 0.5294 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.0002054/0.4836, allocations: 234.3 kB / 0.692 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.4838, allocations: 110.6 kB / 0.6921 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.4871, allocations: 1.049 MB / 0.6931 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4871, allocations: 4 kB / 0.6931 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4871, allocations: 0 / 0.6931 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4871, allocations: 7.922 kB / 0.6931 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/0.4914, allocations: 2.06 MB / 0.6952 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4914, allocations: 0 / 0.6952 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.4916, allocations: 55.91 kB / 0.6952 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/0.4925, allocations: 307.3 kB / 0.6955 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.4925, allocations: 12 kB / 0.6955 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.4938, allocations: 0.9308 MB / 0.6964 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4939, allocations: 12 kB / 0.6964 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.4968, allocations: 1.086 MB / 0.6975 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.4972, allocations: 267.4 kB / 0.6978 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4974, allocations: 8 kB / 0.6978 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.4981, allocations: 63.94 kB / 0.6978 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.4982, allocations: 35.89 kB / 0.6979 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.4982, allocations: 23.98 kB / 0.6979 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001096/0.4993, allocations: 0.7551 MB / 0.6986 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.4994, allocations: 0 / 0.6986 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001519/0.5009, allocations: 0.5847 MB / 0.6992 GB, free: 3.918 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.0007862/0.5017, allocations: 404.9 kB / 0.6996 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.5043, allocations: 1.034 MB / 0.7006 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5043, allocations: 0 / 0.7006 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/0.505, allocations: 318.4 kB / 0.7009 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.507, allocations: 0.5102 MB / 0.7014 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.5101, allocations: 1.795 MB / 0.7031 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.5107, allocations: 1.061 MB / 0.7042 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007/0.5114, allocations: 218.1 kB / 0.7044 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.5115, allocations: 75.42 kB / 0.7045 GB, free: 14.48 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.5115, allocations: 0 / 0.7045 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Templates: time 0.03918/0.5507, allocations: 25.11 MB / 0.729 GB, free: 5.66 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)