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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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.0008213/0.0008214, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.0008969/0.000897, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8898/0.8898, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 9 kB / 0.5068 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 82.32 MB / 0.5872 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2793/0.4259, allocations: 51.29 MB / 0.6373 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.4374, allocations: 10.31 MB / 0.6473 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.4391, allocations: 43.59 kB / 0.6474 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.4408, allocations: 0.6304 MB / 0.648 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.4455, allocations: 1.948 MB / 0.6499 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.4486, allocations: 1.311 MB / 0.6512 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.4511, allocations: 1.84 MB / 0.653 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.452, allocations: 0.8132 MB / 0.6538 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.4536, allocations: 0.9852 MB / 0.6547 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000651/0.4543, allocations: 0.5978 MB / 0.6553 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.4544, allocations: 43.59 kB / 0.6554 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.4562, allocations: 1.008 MB / 0.6564 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.4564, allocations: 193.5 kB / 0.6565 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.4566, allocations: 287.2 kB / 0.6568 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.458, allocations: 1.586 MB / 0.6584 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.458, allocations: 1.031 kB / 0.6584 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4581, allocations: 0 / 0.6584 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.4581, allocations: 0 / 0.6584 GB, free: 11.22 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.002325/0.4604, allocations: 1.49 MB / 0.6598 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4604, allocations: 9.812 kB / 0.6598 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.462, allocations: 380.9 kB / 0.6602 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.4637, allocations: 1.044 MB / 0.6612 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.4641, allocations: 128.6 kB / 0.6613 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4642, allocations: 83.78 kB / 0.6614 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.466, allocations: 0.9633 MB / 0.6623 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.466, allocations: 1.219 kB / 0.6624 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.4661, allocations: 35.38 kB / 0.6624 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.4661, allocations: 19.53 kB / 0.6624 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.4681, allocations: 0.8423 MB / 0.6632 GB, free: 8.648 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.006181/0.4742, allocations: 4.825 MB / 0.6679 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4761, allocations: 0.6019 MB / 0.6685 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.4772, allocations: 1.391 MB / 0.6699 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4772, allocations: 40.77 kB / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.494e-06/0.4772, allocations: 0 / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008161/0.4854, allocations: 2.034 MB / 0.6719 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.4854, allocations: 55 kB / 0.672 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.487, allocations: 1.065 MB / 0.673 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.4871, allocations: 37.2 kB / 0.673 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.4875, allocations: 0.5193 MB / 0.6735 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.4876, allocations: 152.6 kB / 0.6737 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.4877, allocations: 14.72 kB / 0.6737 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.4877, allocations: 330.2 kB / 0.674 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.4885, allocations: 281.9 kB / 0.6743 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.4893, allocations: 498.2 kB / 0.6748 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.4901, allocations: 327 kB / 0.6751 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4901, allocations: 1.156 kB / 0.6751 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003267/0.4934, allocations: 1.143 MB / 0.6762 GB, free: 456 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005521/0.4939, allocations: 1.576 MB / 0.6777 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4939, allocations: 4.219 kB / 0.6777 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.4953, allocations: 328.9 kB / 0.678 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.4958, allocations: 114.9 kB / 0.6782 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.4974, allocations: 0.9403 MB / 0.6791 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.4992, allocations: 174.5 kB / 0.6792 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4993, allocations: 32.11 kB / 0.6793 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4993, allocations: 3.938 kB / 0.6793 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/0.5026, allocations: 1.016 MB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5027, allocations: 4.281 kB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.5038, allocations: 328.6 kB / 0.6806 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.5042, allocations: 118 kB / 0.6807 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.5057, allocations: 0.9292 MB / 0.6816 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5069, allocations: 160.8 kB / 0.6818 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.507, allocations: 32 kB / 0.6818 GB, free: 12.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005934/0.5076, allocations: 356.9 kB / 0.6821 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.5077, allocations: 108.6 kB / 0.6822 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.5114, allocations: 1.161 MB / 0.6834 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.5114, allocations: 7.047 kB / 0.6834 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.5114, allocations: 0 / 0.6834 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5114, allocations: 2.203 kB / 0.6834 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.5166, allocations: 2.161 MB / 0.6855 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5166, allocations: 6.812 kB / 0.6855 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.5169, allocations: 58.78 kB / 0.6856 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.5179, allocations: 328.5 kB / 0.6859 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5179, allocations: 16.22 kB / 0.6859 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.5194, allocations: 0.9633 MB / 0.6868 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.5194, allocations: 10.66 kB / 0.6868 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.5228, allocations: 1.301 MB / 0.6881 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.5234, allocations: 284.8 kB / 0.6884 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.5235, allocations: 12.28 kB / 0.6884 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.5243, allocations: 105.1 kB / 0.6885 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.5244, allocations: 48.41 kB / 0.6885 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.5245, allocations: 23.06 kB / 0.6886 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001245/0.5258, allocations: 0.7483 MB / 0.6893 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5258, allocations: 0 / 0.6893 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001662/0.5274, allocations: 0.5652 MB / 0.6898 GB, free: 9.004 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007403/0.5282, allocations: 394.7 kB / 0.6902 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00297/0.5312, allocations: 1.042 MB / 0.6912 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5312, allocations: 0 / 0.6912 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007938/0.532, allocations: 341 kB / 0.6916 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.5341, allocations: 0.493 MB / 0.692 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.5378, allocations: 2.198 MB / 0.6942 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/0.5386, allocations: 1.085 MB / 0.6952 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008611/0.5395, allocations: 217.8 kB / 0.6955 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.5396, allocations: 75.88 kB / 0.6955 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/0.5396, allocations: 0 / 0.6955 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of Templates: time 0.03509/0.5747, allocations: 23.51 MB / 0.7185 GB, free: 4.785 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: