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.001168/0.001168, allocations: 115.2 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.001319/0.001319, allocations: 193.3 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.286/1.286, 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-master/package.mo): time 0.7973/0.7973, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4169, allocations: 80.9 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04973/0.4667, allocations: 61.21 MB / 0.6455 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4826, allocations: 11.96 MB / 0.6572 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.4848, allocations: 67.56 kB / 0.6573 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.4867, allocations: 0.6791 MB / 0.6579 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.4923, allocations: 1.955 MB / 0.6599 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.4955, allocations: 1.208 MB / 0.661 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.4997, allocations: 3.083 MB / 0.664 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.5013, allocations: 1.104 MB / 0.6651 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.5044, allocations: 1.329 MB / 0.6664 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.5058, allocations: 0.9062 MB / 0.6673 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.506, allocations: 116 kB / 0.6674 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.5088, allocations: 1.458 MB / 0.6688 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.5091, allocations: 282.9 kB / 0.6691 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.5099, allocations: 0.6919 MB / 0.6698 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.5133, allocations: 2.329 MB / 0.6721 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5133, allocations: 0 / 0.6721 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5133, allocations: 0 / 0.6721 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.5133, allocations: 0 / 0.6721 GB, free: 1.98 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.002968/0.5163, allocations: 1.723 MB / 0.6737 GB, free: 200 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5163, allocations: 9.109 kB / 0.6738 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.5179, allocations: 339 kB / 0.6741 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.5201, allocations: 1.167 MB / 0.6752 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.5202, allocations: 62 kB / 0.6753 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5203, allocations: 84 kB / 0.6754 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.5221, allocations: 0.9702 MB / 0.6763 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.5221, allocations: 3.938 kB / 0.6763 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.5222, allocations: 32 kB / 0.6763 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5222, allocations: 20 kB / 0.6764 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.5241, allocations: 0.8001 MB / 0.6771 GB, free: 12.6 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.006437/0.5306, allocations: 5.152 MB / 0.6822 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.532, allocations: 0.5522 MB / 0.6827 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.5326, allocations: 264.7 kB / 0.683 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.534, allocations: 1.369 MB / 0.6843 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.5341, allocations: 42.56 kB / 0.6843 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.534e-06/0.5341, allocations: 0 / 0.6843 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007429/0.5415, allocations: 1.758 MB / 0.6861 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.5416, allocations: 55.41 kB / 0.6861 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.5432, allocations: 1.076 MB / 0.6872 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.5433, allocations: 33.7 kB / 0.6872 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.5437, allocations: 0.5388 MB / 0.6877 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.5439, allocations: 149.8 kB / 0.6879 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.5441, allocations: 138.2 kB / 0.688 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5442, allocations: 326 kB / 0.6883 GB, free: 408 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.5449, allocations: 283.2 kB / 0.6886 GB, free: 120 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.5458, allocations: 0.4979 MB / 0.6891 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.5472, allocations: 0.6674 MB / 0.6897 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.5472, allocations: 3.938 kB / 0.6897 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002301/0.5495, allocations: 0.9461 MB / 0.6906 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5495, allocations: 8 kB / 0.6906 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5495, allocations: 4 kB / 0.6906 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.5507, allocations: 298.9 kB / 0.6909 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.5512, allocations: 127.8 kB / 0.6911 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.5525, allocations: 0.8995 MB / 0.6919 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.5536, allocations: 143.2 kB / 0.6921 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.5537, allocations: 31.98 kB / 0.6921 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001007/0.5547, allocations: 490.1 kB / 0.6926 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008387/0.5556, allocations: 0.4939 MB / 0.693 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.5568, allocations: 0.651 MB / 0.6937 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.5568, allocations: 0 / 0.6937 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002206/0.5591, allocations: 0.946 MB / 0.6946 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5591, allocations: 14.48 kB / 0.6946 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5591, allocations: 7.938 kB / 0.6946 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/0.5601, allocations: 298.1 kB / 0.6949 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.5606, allocations: 123.8 kB / 0.695 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.5618, allocations: 0.8977 MB / 0.6959 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5629, allocations: 123.6 kB / 0.696 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.563, allocations: 31.98 kB / 0.6961 GB, free: 8.039 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.0002331/0.5632, allocations: 224 kB / 0.6963 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.5634, allocations: 110.6 kB / 0.6964 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/0.5667, allocations: 1.063 MB / 0.6974 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5667, allocations: 4 kB / 0.6974 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5667, allocations: 4 kB / 0.6974 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5667, allocations: 3.984 kB / 0.6974 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.5711, allocations: 2.052 MB / 0.6994 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.5712, allocations: 4 kB / 0.6994 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.5714, allocations: 55.84 kB / 0.6995 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009247/0.5723, allocations: 296.8 kB / 0.6998 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.5723, allocations: 19.94 kB / 0.6998 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.5737, allocations: 0.9269 MB / 0.7007 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5737, allocations: 7.984 kB / 0.7007 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.5768, allocations: 1.086 MB / 0.7018 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.5773, allocations: 263.4 kB / 0.702 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.5774, allocations: 12 kB / 0.702 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/0.5781, allocations: 63.92 kB / 0.7021 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.5782, allocations: 43.83 kB / 0.7021 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.5783, allocations: 23.98 kB / 0.7021 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001141/0.5794, allocations: 0.7512 MB / 0.7029 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5795, allocations: 0 / 0.7029 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001496/0.581, allocations: 0.5848 MB / 0.7035 GB, free: 272 kB / 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.0007914/0.5818, allocations: 398.7 kB / 0.7038 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.5844, allocations: 1.038 MB / 0.7048 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5844, allocations: 0 / 0.7048 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.5851, allocations: 313.4 kB / 0.7051 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5872, allocations: 0.5109 MB / 0.7056 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.5904, allocations: 1.796 MB / 0.7074 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.591, allocations: 1.061 MB / 0.7084 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007358/0.5917, allocations: 219.5 kB / 0.7086 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.5919, allocations: 71.42 kB / 0.7087 GB, free: 10.83 MB / 0.545 GB Notification: Performance of SimCode: time 9.91e-07/0.5919, allocations: 0 / 0.7087 GB, free: 10.83 MB / 0.545 GB Notification: Performance of Templates: time 0.03846/0.6304, allocations: 25.13 MB / 0.7333 GB, free: 1.973 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)