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.005078/0.005078, allocations: 96.31 kB / 15.73 MB, free: 6.055 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.001065/0.001065, allocations: 191.6 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7336/0.7336, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 0.5814 GB, free: 7.535 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4315, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05503/0.4865, allocations: 61.17 MB / 0.7194 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.503, allocations: 11.98 MB / 0.7311 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.5056, allocations: 59.62 kB / 0.7312 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.5079, allocations: 0.6792 MB / 0.7318 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/0.5142, allocations: 1.957 MB / 0.7337 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.5172, allocations: 1.211 MB / 0.7349 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005348/0.5226, allocations: 3.079 MB / 0.7379 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.5242, allocations: 1.1 MB / 0.739 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.5277, allocations: 1.336 MB / 0.7403 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.5294, allocations: 0.8995 MB / 0.7412 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.5296, allocations: 120 kB / 0.7413 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.5324, allocations: 1.458 MB / 0.7427 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.5327, allocations: 294.9 kB / 0.743 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007369/0.5334, allocations: 0.692 MB / 0.7437 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.5366, allocations: 2.325 MB / 0.746 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5366, allocations: 0 / 0.746 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5366, allocations: 0 / 0.746 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.5366, allocations: 0 / 0.746 GB, free: 13.64 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.002662/0.5393, allocations: 1.786 MB / 0.7477 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5394, allocations: 12.03 kB / 0.7477 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.5409, allocations: 355.5 kB / 0.7481 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.543, allocations: 1.156 MB / 0.7492 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.5431, allocations: 66 kB / 0.7492 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5432, allocations: 80 kB / 0.7493 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.545, allocations: 0.978 MB / 0.7503 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5451, allocations: 0 / 0.7503 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.5451, allocations: 32 kB / 0.7503 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5452, allocations: 20 kB / 0.7503 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.547, allocations: 0.8 MB / 0.7511 GB, free: 8.184 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.005544/0.5525, allocations: 5.142 MB / 0.7561 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.5539, allocations: 0.5547 MB / 0.7567 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.5544, allocations: 264.6 kB / 0.7569 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.5557, allocations: 1.376 MB / 0.7583 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5557, allocations: 38.5 kB / 0.7583 GB, free: 132 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.5557, allocations: 0 / 0.7583 GB, free: 132 kB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006/0.5617, allocations: 1.611 MB / 0.7599 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.5618, allocations: 55.41 kB / 0.7599 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.5633, allocations: 1.08 MB / 0.761 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.5633, allocations: 37.7 kB / 0.761 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.5638, allocations: 0.5398 MB / 0.7615 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.5639, allocations: 158.6 kB / 0.7617 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.5641, allocations: 138.2 kB / 0.7618 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5642, allocations: 330 kB / 0.7621 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.565, allocations: 279.3 kB / 0.7624 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.5658, allocations: 0.4892 MB / 0.7629 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5671, allocations: 0.6684 MB / 0.7635 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5671, allocations: 4 kB / 0.7635 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002214/0.5694, allocations: 0.9467 MB / 0.7645 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5694, allocations: 8 kB / 0.7645 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5694, allocations: 4 kB / 0.7645 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.5706, allocations: 304.5 kB / 0.7648 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.571, allocations: 123.8 kB / 0.7649 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.5723, allocations: 0.9036 MB / 0.7658 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.5734, allocations: 147.5 kB / 0.7659 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.5735, allocations: 27.98 kB / 0.7659 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00101/0.5745, allocations: 489.2 kB / 0.7664 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008657/0.5754, allocations: 0.4905 MB / 0.7669 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001262/0.5766, allocations: 0.6589 MB / 0.7675 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.5766, allocations: 0 / 0.7675 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002195/0.5788, allocations: 0.9659 MB / 0.7685 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5789, allocations: 9.406 kB / 0.7685 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5789, allocations: 4 kB / 0.7685 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009742/0.5799, allocations: 300.7 kB / 0.7688 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.5803, allocations: 123.8 kB / 0.7689 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.5815, allocations: 0.9026 MB / 0.7698 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5826, allocations: 123.7 kB / 0.7699 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.5826, allocations: 35.97 kB / 0.7699 GB, free: 3.75 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.0002225/0.5829, allocations: 216.1 kB / 0.7701 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.5831, allocations: 115.2 kB / 0.7702 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.5858, allocations: 0.9962 MB / 0.7712 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5858, allocations: 4 kB / 0.7712 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5858, allocations: 4 kB / 0.7712 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5859, allocations: 3.984 kB / 0.7712 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.5904, allocations: 2.065 MB / 0.7732 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.5904, allocations: 7.938 kB / 0.7732 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.5906, allocations: 59.91 kB / 0.7733 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/0.5915, allocations: 288.8 kB / 0.7736 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.5916, allocations: 19.98 kB / 0.7736 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.5929, allocations: 0.9283 MB / 0.7745 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5929, allocations: 4.031 kB / 0.7745 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.5959, allocations: 1.106 MB / 0.7756 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.5964, allocations: 260.2 kB / 0.7758 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.5966, allocations: 12 kB / 0.7758 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007876/0.5974, allocations: 63.92 kB / 0.7759 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.5975, allocations: 39.77 kB / 0.7759 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.5975, allocations: 27.98 kB / 0.776 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001305/0.5989, allocations: 0.7551 MB / 0.7767 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5989, allocations: 0 / 0.7767 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001657/0.6005, allocations: 0.5769 MB / 0.7773 GB, free: 12.02 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.0009962/0.6015, allocations: 408 kB / 0.7777 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.6044, allocations: 1.035 MB / 0.7787 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6044, allocations: 0 / 0.7787 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.6051, allocations: 318.7 kB / 0.779 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.6073, allocations: 0.5046 MB / 0.7795 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.6105, allocations: 1.837 MB / 0.7813 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.6111, allocations: 1.057 MB / 0.7823 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007454/0.6118, allocations: 232.2 kB / 0.7825 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.612, allocations: 71.44 kB / 0.7826 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.612, allocations: 4 kB / 0.7826 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.03957/0.6516, allocations: 25.21 MB / 0.8072 GB, free: 13.63 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)