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.001634/0.001634, allocations: 102 kB / 16.27 MB, free: 6.414 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.001512/0.001512, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8062/0.8062, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 59.89 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3984, allocations: 80.93 MB / 0.5851 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05595/0.4544, allocations: 61.19 MB / 0.6448 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.4729, allocations: 11.97 MB / 0.6565 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.4751, allocations: 55.69 kB / 0.6566 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.4772, allocations: 0.683 MB / 0.6572 GB, free: 464 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005887/0.4831, allocations: 1.959 MB / 0.6591 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.4864, allocations: 1.199 MB / 0.6603 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004769/0.4912, allocations: 3.079 MB / 0.6633 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.4929, allocations: 1.096 MB / 0.6644 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.4963, allocations: 1.328 MB / 0.6657 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.4978, allocations: 0.9023 MB / 0.6666 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.498, allocations: 116 kB / 0.6667 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.5014, allocations: 1.458 MB / 0.6681 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.5019, allocations: 286.9 kB / 0.6684 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.5029, allocations: 0.6958 MB / 0.6691 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.5072, allocations: 2.302 MB / 0.6713 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5073, allocations: 0 / 0.6713 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5073, allocations: 0 / 0.6713 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.5073, allocations: 0 / 0.6713 GB, free: 1.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.003194/0.5105, allocations: 1.719 MB / 0.673 GB, free: 200 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5106, allocations: 21.09 kB / 0.673 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.5123, allocations: 338.9 kB / 0.6733 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.5144, allocations: 1.108 MB / 0.6744 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.5147, allocations: 117.9 kB / 0.6745 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5149, allocations: 80 kB / 0.6746 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.5168, allocations: 0.9781 MB / 0.6756 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5168, allocations: 3.938 kB / 0.6756 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.5169, allocations: 32 kB / 0.6756 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.517, allocations: 20 kB / 0.6756 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.519, allocations: 0.8118 MB / 0.6764 GB, free: 12.58 MB / 0.5137 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.006724/0.5258, allocations: 5.168 MB / 0.6814 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.5274, allocations: 0.5729 MB / 0.682 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.528, allocations: 268.6 kB / 0.6823 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.5296, allocations: 1.365 MB / 0.6836 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5297, allocations: 42.55 kB / 0.6836 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.067e-06/0.5297, allocations: 8 kB / 0.6836 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008336/0.538, allocations: 1.821 MB / 0.6854 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.5381, allocations: 55.41 kB / 0.6855 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.5399, allocations: 1.079 MB / 0.6865 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.5399, allocations: 37.7 kB / 0.6866 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.5405, allocations: 0.535 MB / 0.6871 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.5406, allocations: 149.8 kB / 0.6872 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.5408, allocations: 134.2 kB / 0.6874 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.541, allocations: 326 kB / 0.6877 GB, free: 280 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.5418, allocations: 287.2 kB / 0.6879 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5429, allocations: 0.5017 MB / 0.6884 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5444, allocations: 0.6752 MB / 0.6891 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5444, allocations: 0 / 0.6891 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002596/0.547, allocations: 0.9617 MB / 0.69 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.547, allocations: 8 kB / 0.69 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5471, allocations: 4.062 kB / 0.69 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5484, allocations: 320.6 kB / 0.6903 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.5489, allocations: 111.9 kB / 0.6905 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.5505, allocations: 0.9218 MB / 0.6914 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.5516, allocations: 147.2 kB / 0.6915 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.5517, allocations: 35.98 kB / 0.6915 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001159/0.5529, allocations: 489.2 kB / 0.692 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009978/0.5539, allocations: 0.5095 MB / 0.6925 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/0.5554, allocations: 0.6549 MB / 0.6931 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.099e-06/0.5554, allocations: 4 kB / 0.6931 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002509/0.5579, allocations: 0.9577 MB / 0.6941 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5579, allocations: 11.94 kB / 0.6941 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.558, allocations: 12 kB / 0.6941 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.5591, allocations: 308.6 kB / 0.6944 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.5595, allocations: 115.8 kB / 0.6945 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.5611, allocations: 0.9113 MB / 0.6954 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.5623, allocations: 135.6 kB / 0.6955 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.5624, allocations: 27.98 kB / 0.6955 GB, free: 7.789 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.0003036/0.5627, allocations: 220.9 kB / 0.6958 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.5629, allocations: 114.6 kB / 0.6959 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.5667, allocations: 1.07 MB / 0.6969 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5668, allocations: 11.98 kB / 0.6969 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/0.5668, allocations: 4 kB / 0.6969 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5668, allocations: 3.938 kB / 0.6969 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.5719, allocations: 2.071 MB / 0.699 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.572, allocations: 4 kB / 0.699 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.5722, allocations: 51.91 kB / 0.699 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.5732, allocations: 311.1 kB / 0.6993 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.5733, allocations: 19.98 kB / 0.6993 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.5749, allocations: 0.9425 MB / 0.7002 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5749, allocations: 0 / 0.7002 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.5785, allocations: 1.105 MB / 0.7013 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.5791, allocations: 267.4 kB / 0.7016 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5792, allocations: 12 kB / 0.7016 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.58, allocations: 63.92 kB / 0.7016 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.5801, allocations: 39.89 kB / 0.7017 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.5801, allocations: 20 kB / 0.7017 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001309/0.5814, allocations: 0.755 MB / 0.7024 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5815, allocations: 0 / 0.7024 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001691/0.5832, allocations: 0.577 MB / 0.703 GB, free: 15.95 MB / 0.545 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.0008788/0.584, allocations: 413.7 kB / 0.7034 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003091/0.5871, allocations: 1.058 MB / 0.7044 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5872, allocations: 0 / 0.7044 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008146/0.588, allocations: 321.2 kB / 0.7047 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.5903, allocations: 0.5127 MB / 0.7052 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.5939, allocations: 1.874 MB / 0.7071 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.5947, allocations: 1.057 MB / 0.7081 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.595, allocations: 79.42 kB / 0.7082 GB, free: 10.59 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.595, allocations: 0 / 0.7082 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Templates: time 0.036/0.631, allocations: 24.12 MB / 0.7317 GB, free: 2.645 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (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)