Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.0008536/0.0008536, allocations: 99.86 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.0009136/0.0009136, 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.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.862/0.862, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 12 kB / 0.5068 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2828/0.4317, allocations: 51.29 MB / 0.6373 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.4424, allocations: 10.31 MB / 0.6474 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.444, allocations: 44.12 kB / 0.6474 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.4455, allocations: 0.6234 MB / 0.648 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.4498, allocations: 1.95 MB / 0.6499 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.4528, allocations: 1.305 MB / 0.6512 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.4552, allocations: 1.846 MB / 0.653 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.4561, allocations: 0.8193 MB / 0.6538 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.4579, allocations: 0.9869 MB / 0.6547 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006825/0.4586, allocations: 0.5945 MB / 0.6553 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.4587, allocations: 43.06 kB / 0.6554 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.4607, allocations: 1.004 MB / 0.6563 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.4608, allocations: 196.3 kB / 0.6565 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4611, allocations: 285.9 kB / 0.6568 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.4626, allocations: 1.59 MB / 0.6584 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4626, allocations: 0 / 0.6584 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4627, allocations: 0 / 0.6584 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.4627, 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.00241/0.4651, allocations: 1.481 MB / 0.6598 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4651, allocations: 12.34 kB / 0.6598 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.4667, allocations: 379.8 kB / 0.6602 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.4684, allocations: 1.052 MB / 0.6612 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.4688, allocations: 121.7 kB / 0.6613 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4689, allocations: 83.12 kB / 0.6614 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.4707, allocations: 0.9674 MB / 0.6623 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4708, allocations: 1.438 kB / 0.6624 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.4708, allocations: 32.22 kB / 0.6624 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.4709, allocations: 26.11 kB / 0.6624 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.4729, allocations: 0.8428 MB / 0.6632 GB, free: 8.652 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.005616/0.4785, allocations: 4.828 MB / 0.6679 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.4801, allocations: 0.6002 MB / 0.6685 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.4812, allocations: 1.383 MB / 0.6699 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4812, allocations: 45.22 kB / 0.6699 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.4813, allocations: 0 / 0.6699 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00799/0.4892, allocations: 2.038 MB / 0.6719 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.4893, allocations: 59.69 kB / 0.672 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.4908, allocations: 1.057 MB / 0.673 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.4909, allocations: 38.17 kB / 0.673 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.4912, allocations: 0.5222 MB / 0.6735 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4913, allocations: 154.2 kB / 0.6737 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.4914, allocations: 10 kB / 0.6737 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.4914, allocations: 329.9 kB / 0.674 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.4921, allocations: 282.1 kB / 0.6743 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.493, allocations: 497.3 kB / 0.6748 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.4937, allocations: 324.5 kB / 0.6751 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4937, allocations: 1.5 kB / 0.6751 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003125/0.4969, allocations: 1.148 MB / 0.6762 GB, free: 460 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005331/0.4974, allocations: 1.576 MB / 0.6777 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4974, allocations: 4.547 kB / 0.6777 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.4987, allocations: 329.1 kB / 0.6781 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.4991, allocations: 115.1 kB / 0.6782 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.5006, allocations: 0.9433 MB / 0.6791 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5018, allocations: 174.5 kB / 0.6793 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.5019, allocations: 32.38 kB / 0.6793 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.5019, allocations: 4.125 kB / 0.6793 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002934/0.5049, allocations: 1.016 MB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5049, allocations: 5.188 kB / 0.6803 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.506, allocations: 327.4 kB / 0.6806 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.5064, allocations: 110.8 kB / 0.6807 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.5077, allocations: 0.936 MB / 0.6816 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.5089, allocations: 157.4 kB / 0.6818 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.509, allocations: 27.69 kB / 0.6818 GB, free: 12.86 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.0005944/0.5096, allocations: 357.5 kB / 0.6821 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.5097, allocations: 107.9 kB / 0.6822 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.5133, allocations: 1.156 MB / 0.6834 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5133, allocations: 6.453 kB / 0.6834 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5133, allocations: 0 / 0.6834 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.5133, allocations: 2.625 kB / 0.6834 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.5182, allocations: 2.162 MB / 0.6855 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.5183, allocations: 1.594 kB / 0.6855 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.5185, allocations: 63.92 kB / 0.6855 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.5195, allocations: 332.7 kB / 0.6859 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.5196, allocations: 20.19 kB / 0.6859 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.521, allocations: 0.9701 MB / 0.6868 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.5211, allocations: 7.25 kB / 0.6868 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.5245, allocations: 1.301 MB / 0.6881 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/0.5251, allocations: 283.7 kB / 0.6884 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.5252, allocations: 14.36 kB / 0.6884 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/0.526, allocations: 103.7 kB / 0.6885 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.5261, allocations: 43.58 kB / 0.6885 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.5262, allocations: 23.09 kB / 0.6886 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001249/0.5275, allocations: 0.7492 MB / 0.6893 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5275, allocations: 0 / 0.6893 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001775/0.5292, allocations: 0.5693 MB / 0.6898 GB, free: 9.008 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.0007534/0.53, allocations: 396.3 kB / 0.6902 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.533, allocations: 1.045 MB / 0.6912 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.533, allocations: 1.281 kB / 0.6912 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.5338, allocations: 338.2 kB / 0.6916 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.536, allocations: 496 kB / 0.692 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.5398, allocations: 2.196 MB / 0.6942 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.5405, allocations: 1.087 MB / 0.6952 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008554/0.5413, allocations: 218.9 kB / 0.6955 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5415, allocations: 75.28 kB / 0.6955 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of SimCode: time 1.236e-05/0.5415, allocations: 1.188 kB / 0.6955 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.03557/0.5771, allocations: 23.52 MB / 0.7185 GB, free: 4.824 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: