Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 183.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 148.9 MB, free: 12.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 403.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 101 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009957/0.0009957, allocations: 59.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1398, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3506/0.4905, allocations: 60.8 MB / 0.6995 GB, free: 25.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.5066, allocations: 12.04 MB / 0.7113 GB, free: 25.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.51, allocations: 59.16 kB / 0.7113 GB, free: 25.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.5126, allocations: 0.5479 MB / 0.7119 GB, free: 25.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.5189, allocations: 1.804 MB / 0.7136 GB, free: 25.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.5225, allocations: 1.078 MB / 0.7147 GB, free: 25.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005224/0.5277, allocations: 3.915 MB / 0.7185 GB, free: 23.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.5294, allocations: 0.9359 MB / 0.7194 GB, free: 23.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.5321, allocations: 1.166 MB / 0.7206 GB, free: 22.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.534, allocations: 0.8947 MB / 0.7214 GB, free: 22.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.5343, allocations: 59.41 kB / 0.7215 GB, free: 22.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.5378, allocations: 1.365 MB / 0.7228 GB, free: 22.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.5382, allocations: 232 kB / 0.7231 GB, free: 22.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.5395, allocations: 0.6384 MB / 0.7237 GB, free: 21.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003943/0.5434, allocations: 2.252 MB / 0.7259 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5434, allocations: 0 / 0.7259 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5435, allocations: 0 / 0.7259 GB, free: 21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.409e-05/0.5435, allocations: 0 / 0.7259 GB, free: 21 MB / 490.7 MB 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.003884/0.5474, allocations: 1.722 MB / 0.7276 GB, free: 19.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5475, allocations: 13.75 kB / 0.7276 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.5493, allocations: 343.1 kB / 0.7279 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.5517, allocations: 1.125 MB / 0.729 GB, free: 19.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004168/0.5521, allocations: 117.3 kB / 0.7291 GB, free: 19.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5523, allocations: 79.41 kB / 0.7292 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.5542, allocations: 0.957 MB / 0.7301 GB, free: 18.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.5543, allocations: 5.406 kB / 0.7301 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.5544, allocations: 31.94 kB / 0.7302 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.5544, allocations: 18.72 kB / 0.7302 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.5568, allocations: 0.7988 MB / 0.731 GB, free: 18.05 MB / 490.7 MB 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.005787/0.5626, allocations: 4.76 MB / 0.7356 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.5642, allocations: 0.5653 MB / 0.7362 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.5648, allocations: 273.5 kB / 0.7364 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.5658, allocations: 1.369 MB / 0.7378 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5659, allocations: 48.77 kB / 0.7378 GB, free: 11.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.5659, allocations: 0 / 0.7378 GB, free: 11.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.007233/0.5731, allocations: 1.678 MB / 0.7394 GB, free: 10.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.5732, allocations: 56.84 kB / 0.7395 GB, free: 10.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.5752, allocations: 1.054 MB / 0.7405 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.5753, allocations: 36.67 kB / 0.7406 GB, free: 10.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.5756, allocations: 0.5188 MB / 0.7411 GB, free: 9.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5757, allocations: 147.1 kB / 0.7412 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.5759, allocations: 126.6 kB / 0.7413 GB, free: 9.566 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.576, allocations: 331.4 kB / 0.7416 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.5767, allocations: 280 kB / 0.7419 GB, free: 9.105 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/0.5776, allocations: 474.4 kB / 0.7424 GB, free: 8.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5789, allocations: 0.6261 MB / 0.743 GB, free: 8.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5789, allocations: 4 kB / 0.743 GB, free: 8.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00239/0.5813, allocations: 0.9311 MB / 0.7439 GB, free: 7.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5813, allocations: 5.656 kB / 0.7439 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.5814, allocations: 6.656 kB / 0.7439 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5826, allocations: 319.8 kB / 0.7442 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.583, allocations: 107.7 kB / 0.7443 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.5844, allocations: 0.9117 MB / 0.7452 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.5857, allocations: 166.6 kB / 0.7454 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.5858, allocations: 29.64 kB / 0.7454 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001002/0.5868, allocations: 486.4 kB / 0.7458 GB, free: 6.562 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008283/0.5877, allocations: 475.5 kB / 0.7463 GB, free: 6.184 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/0.589, allocations: 0.6241 MB / 0.7469 GB, free: 5.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.589, allocations: 0 / 0.7469 GB, free: 5.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002326/0.5913, allocations: 0.9154 MB / 0.7478 GB, free: 5.309 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5913, allocations: 8.875 kB / 0.7478 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5913, allocations: 6.734 kB / 0.7478 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5924, allocations: 307 kB / 0.7481 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.5928, allocations: 110.9 kB / 0.7482 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.594, allocations: 0.9035 MB / 0.7491 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5954, allocations: 148.3 kB / 0.7492 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.5954, allocations: 27.98 kB / 0.7493 GB, free: 3.984 MB / 490.7 MB 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 (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.0001652/0.5956, allocations: 221.5 kB / 0.7495 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.5958, allocations: 110.7 kB / 0.7496 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.5986, allocations: 1.02 MB / 0.7506 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.5986, allocations: 11.98 kB / 0.7506 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5986, allocations: 0 / 0.7506 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5986, allocations: 3.938 kB / 0.7506 GB, free: 2.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.6032, allocations: 2.09 MB / 0.7526 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.6032, allocations: 4 kB / 0.7526 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6034, allocations: 51.91 kB / 0.7527 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009295/0.6043, allocations: 301.9 kB / 0.753 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.6044, allocations: 19.98 kB / 0.753 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.6059, allocations: 0.9372 MB / 0.7539 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.6059, allocations: 0 / 0.7539 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.6105, allocations: 2.167 MB / 0.756 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.611, allocations: 259.5 kB / 0.7563 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.6112, allocations: 8 kB / 0.7563 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.6121, allocations: 95.83 kB / 0.7564 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.6122, allocations: 47.75 kB / 0.7564 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.6123, allocations: 20 kB / 0.7564 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001139/0.6134, allocations: 0.743 MB / 0.7572 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6135, allocations: 0 / 0.7572 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002114/0.6156, allocations: 0.5848 MB / 0.7577 GB, free: 11.07 MB / 0.4948 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008825/0.6165, allocations: 402.9 kB / 0.7581 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.6194, allocations: 0.9994 MB / 0.7591 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6194, allocations: 4 kB / 0.7591 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.6203, allocations: 318.8 kB / 0.7594 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.623, allocations: 0.4897 MB / 0.7599 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.6276, allocations: 2.528 MB / 0.7624 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.6284, allocations: 1.077 MB / 0.7634 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009944/0.6294, allocations: 211.6 kB / 0.7636 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.6296, allocations: 79.42 kB / 0.7637 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.6296, allocations: 4 kB / 0.7637 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of Templates: time 0.04093/0.6705, allocations: 24.55 MB / 0.7877 GB, free: 12.68 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)