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.001522/0.001522, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001796/0.001796, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8252/0.8252, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.88 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4471, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04845/0.4956, allocations: 61.2 MB / 0.6413 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.513, allocations: 11.96 MB / 0.6529 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.5155, allocations: 63.56 kB / 0.653 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.5174, allocations: 0.6869 MB / 0.6537 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.5228, allocations: 1.962 MB / 0.6556 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.5258, allocations: 1.207 MB / 0.6568 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.53, allocations: 3.083 MB / 0.6598 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.5316, allocations: 1.108 MB / 0.6609 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.5348, allocations: 1.328 MB / 0.6622 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.536, allocations: 0.8983 MB / 0.663 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.5362, allocations: 116 kB / 0.6631 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.5389, allocations: 1.458 MB / 0.6646 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.5392, allocations: 286.9 kB / 0.6648 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007212/0.5399, allocations: 0.6958 MB / 0.6655 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.5433, allocations: 2.318 MB / 0.6678 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5433, allocations: 4 kB / 0.6678 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5433, allocations: 0 / 0.6678 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.5433, allocations: 0 / 0.6678 GB, free: 5.773 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.002835/0.5461, allocations: 1.736 MB / 0.6695 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5462, allocations: 8.031 kB / 0.6695 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.5478, allocations: 339 kB / 0.6698 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.5499, allocations: 1.155 MB / 0.6709 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.55, allocations: 62 kB / 0.671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.5501, allocations: 84 kB / 0.6711 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.5518, allocations: 0.9663 MB / 0.672 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5519, allocations: 7.938 kB / 0.672 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.5519, allocations: 32 kB / 0.6721 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.552, allocations: 16 kB / 0.6721 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.5539, allocations: 0.8079 MB / 0.6729 GB, free: 400 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.005936/0.5598, allocations: 5.144 MB / 0.6779 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.5613, allocations: 0.5551 MB / 0.6784 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.5619, allocations: 264.7 kB / 0.6787 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.5632, allocations: 1.369 MB / 0.68 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5632, allocations: 38.56 kB / 0.6801 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.5632, allocations: 0 / 0.6801 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007751/0.571, allocations: 1.762 MB / 0.6818 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.5711, allocations: 55.41 kB / 0.6818 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.5727, allocations: 1.076 MB / 0.6829 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.5728, allocations: 37.7 kB / 0.6829 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.5732, allocations: 0.535 MB / 0.6834 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5733, allocations: 149.8 kB / 0.6836 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.5736, allocations: 142.1 kB / 0.6837 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5737, allocations: 326 kB / 0.684 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.5744, allocations: 275.3 kB / 0.6843 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008774/0.5753, allocations: 0.5056 MB / 0.6848 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.5766, allocations: 0.6559 MB / 0.6854 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5766, allocations: 3.938 kB / 0.6854 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002568/0.5792, allocations: 0.9539 MB / 0.6864 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.5792, allocations: 8 kB / 0.6864 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5793, allocations: 4 kB / 0.6864 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.5807, allocations: 308.6 kB / 0.6867 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.5812, allocations: 111.9 kB / 0.6868 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5828, allocations: 0.9025 MB / 0.6877 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.5842, allocations: 143.2 kB / 0.6878 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5843, allocations: 31.94 kB / 0.6878 GB, free: 92 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.5855, allocations: 0.4894 MB / 0.6883 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008873/0.5864, allocations: 0.494 MB / 0.6888 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001314/0.5878, allocations: 0.6508 MB / 0.6894 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.5878, allocations: 3.984 kB / 0.6894 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00237/0.5901, allocations: 0.9499 MB / 0.6903 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5902, allocations: 8 kB / 0.6904 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5902, allocations: 7.938 kB / 0.6904 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5912, allocations: 296.6 kB / 0.6906 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.5917, allocations: 119.8 kB / 0.6908 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.5929, allocations: 0.8918 MB / 0.6916 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.5941, allocations: 127.6 kB / 0.6918 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.5942, allocations: 28 kB / 0.6918 GB, free: 11.83 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.0002241/0.5944, allocations: 225.3 kB / 0.692 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.5946, allocations: 114.6 kB / 0.6921 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/0.5981, allocations: 1.045 MB / 0.6931 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.5981, allocations: 8 kB / 0.6931 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5981, allocations: 4 kB / 0.6931 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5981, allocations: 4.078 kB / 0.6931 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.6028, allocations: 2.052 MB / 0.6951 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6029, allocations: 8.281 kB / 0.6952 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6031, allocations: 55.91 kB / 0.6952 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009583/0.6041, allocations: 303 kB / 0.6955 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.6041, allocations: 11.94 kB / 0.6955 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.6055, allocations: 0.9347 MB / 0.6964 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6055, allocations: 4.031 kB / 0.6964 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.6088, allocations: 1.09 MB / 0.6975 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.6093, allocations: 263.4 kB / 0.6977 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.6094, allocations: 11.98 kB / 0.6977 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/0.6102, allocations: 59.94 kB / 0.6978 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.6103, allocations: 39.83 kB / 0.6978 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.6103, allocations: 23.98 kB / 0.6979 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001162/0.6115, allocations: 0.7551 MB / 0.6986 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.834e-06/0.6115, allocations: 0 / 0.6986 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001622/0.6131, allocations: 0.5886 MB / 0.6992 GB, free: 4.051 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.0008414/0.614, allocations: 396.3 kB / 0.6996 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.6167, allocations: 1.042 MB / 0.7006 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6167, allocations: 0 / 0.7006 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.6174, allocations: 314.4 kB / 0.7009 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.6195, allocations: 0.5079 MB / 0.7014 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.6228, allocations: 1.796 MB / 0.7031 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.6234, allocations: 1.057 MB / 0.7042 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007726/0.6242, allocations: 228.4 kB / 0.7044 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.6244, allocations: 75.42 kB / 0.7044 GB, free: 14.61 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.6244, allocations: 0 / 0.7044 GB, free: 14.61 MB / 0.545 GB Notification: Performance of Templates: time 0.04001/0.6644, allocations: 25.12 MB / 0.729 GB, free: 5.789 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)