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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007648/0.007648, allocations: 101.4 kB / 15.73 MB, free: 6.047 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.001283/0.001283, allocations: 182.3 kB / 16.67 MB, free: 5.977 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7772/0.7772, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 0.5814 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4677, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.07917/0.547, allocations: 61.17 MB / 0.7194 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.5664, allocations: 11.98 MB / 0.7311 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.5697, allocations: 63.62 kB / 0.7312 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.5723, allocations: 0.6947 MB / 0.7319 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006079/0.5784, allocations: 2.066 MB / 0.7339 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.5817, allocations: 1.204 MB / 0.735 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004489/0.5862, allocations: 3.087 MB / 0.7381 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.5878, allocations: 1.1 MB / 0.7391 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.5909, allocations: 1.368 MB / 0.7405 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.5926, allocations: 0.888 MB / 0.7413 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.5929, allocations: 116 kB / 0.7415 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.5963, allocations: 1.466 MB / 0.7429 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004396/0.5967, allocations: 290.9 kB / 0.7432 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.5979, allocations: 0.6998 MB / 0.7438 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003916/0.6018, allocations: 2.316 MB / 0.7461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6019, allocations: 0 / 0.7461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6019, allocations: 3.938 kB / 0.7461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.528e-05/0.6019, allocations: 0 / 0.7461 GB, free: 13.46 MB / 0.5762 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.004131/0.6061, allocations: 1.734 MB / 0.7478 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6061, allocations: 8.031 kB / 0.7478 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.6079, allocations: 346.7 kB / 0.7481 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.6102, allocations: 1.167 MB / 0.7493 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.6103, allocations: 62 kB / 0.7493 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6104, allocations: 80 kB / 0.7494 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.6123, allocations: 0.9625 MB / 0.7504 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.6124, allocations: 7.938 kB / 0.7504 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.6124, allocations: 32 kB / 0.7504 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.6125, allocations: 20 kB / 0.7504 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.6143, allocations: 0.8039 MB / 0.7512 GB, free: 8.07 MB / 0.5762 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.006414/0.6208, allocations: 5.129 MB / 0.7562 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6222, allocations: 0.5586 MB / 0.7568 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.6228, allocations: 268.6 kB / 0.757 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.6242, allocations: 1.365 MB / 0.7583 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6242, allocations: 42.55 kB / 0.7584 GB, free: 28 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.6242, allocations: 0 / 0.7584 GB, free: 28 kB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00635/0.6306, allocations: 1.603 MB / 0.7599 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.6306, allocations: 55.41 kB / 0.76 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.6325, allocations: 1.087 MB / 0.7611 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.6326, allocations: 37.7 kB / 0.7611 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.6331, allocations: 0.5349 MB / 0.7616 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6333, allocations: 145.8 kB / 0.7618 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.6335, allocations: 130.2 kB / 0.7619 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6337, allocations: 334 kB / 0.7622 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.6344, allocations: 279.3 kB / 0.7625 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/0.6354, allocations: 0.4891 MB / 0.7629 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6368, allocations: 0.6646 MB / 0.7636 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.6368, allocations: 4 kB / 0.7636 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002499/0.6393, allocations: 0.9461 MB / 0.7645 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.6394, allocations: 14.52 kB / 0.7645 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6394, allocations: 8 kB / 0.7645 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.6406, allocations: 307.7 kB / 0.7648 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.6411, allocations: 119.8 kB / 0.765 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.6426, allocations: 0.9112 MB / 0.7658 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.6439, allocations: 135.2 kB / 0.766 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.644, allocations: 35.98 kB / 0.766 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001078/0.6451, allocations: 485.2 kB / 0.7665 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008789/0.646, allocations: 0.4905 MB / 0.7669 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.6473, allocations: 0.6587 MB / 0.7676 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.6473, allocations: 0 / 0.7676 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002363/0.6496, allocations: 0.9538 MB / 0.7685 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.6497, allocations: 4 kB / 0.7685 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.6497, allocations: 8 kB / 0.7685 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.6507, allocations: 296.7 kB / 0.7688 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.6512, allocations: 119.8 kB / 0.7689 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.6525, allocations: 0.9025 MB / 0.7698 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.6536, allocations: 123.6 kB / 0.7699 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.6537, allocations: 31.98 kB / 0.77 GB, free: 3.691 MB / 0.5919 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.0002097/0.6539, allocations: 216.1 kB / 0.7702 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.6541, allocations: 114.6 kB / 0.7703 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.657, allocations: 0.9921 MB / 0.7712 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.657, allocations: 15.98 kB / 0.7713 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.657, allocations: 0 / 0.7713 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.657, allocations: 0 / 0.7713 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.6615, allocations: 2.073 MB / 0.7733 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.6615, allocations: 7.938 kB / 0.7733 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.6617, allocations: 51.91 kB / 0.7733 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009115/0.6627, allocations: 300.8 kB / 0.7736 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.6627, allocations: 12 kB / 0.7736 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.6641, allocations: 0.9294 MB / 0.7745 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6641, allocations: 0 / 0.7745 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.6671, allocations: 1.09 MB / 0.7756 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.6675, allocations: 263.5 kB / 0.7759 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6676, allocations: 8 kB / 0.7759 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.6684, allocations: 67.92 kB / 0.7759 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.6685, allocations: 43.77 kB / 0.776 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.6685, allocations: 19.98 kB / 0.776 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00117/0.6697, allocations: 0.7628 MB / 0.7767 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6697, allocations: 0 / 0.7767 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001619/0.6714, allocations: 0.5809 MB / 0.7773 GB, free: 11.96 MB / 0.6075 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.0008709/0.6722, allocations: 396.8 kB / 0.7777 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002701/0.675, allocations: 1.023 MB / 0.7787 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/0.675, allocations: 0 / 0.7787 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.6757, allocations: 330.8 kB / 0.779 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.6778, allocations: 0.5103 MB / 0.7795 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.6814, allocations: 1.792 MB / 0.7812 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.6822, allocations: 1.065 MB / 0.7823 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007697/0.683, allocations: 216.4 kB / 0.7825 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.6832, allocations: 79.42 kB / 0.7826 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.6832, allocations: 3.938 kB / 0.7826 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.04243/0.7256, allocations: 25.23 MB / 0.8072 GB, free: 13.61 MB / 0.6387 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)