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.0007447/0.0007448, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008535/0.0008536, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.73/0.73, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 8 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3504, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05252/0.4029, allocations: 56.48 MB / 0.6382 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.4169, allocations: 11.2 MB / 0.6492 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.4185, allocations: 47.69 kB / 0.6492 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.42, allocations: 472.8 kB / 0.6497 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.4243, allocations: 1.519 MB / 0.6511 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.4267, allocations: 0.8664 MB / 0.652 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.4305, allocations: 3.39 MB / 0.6553 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.4318, allocations: 0.786 MB / 0.6561 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.4338, allocations: 1.05 MB / 0.6571 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.4352, allocations: 0.8127 MB / 0.6579 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.4354, allocations: 40 kB / 0.6579 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.4378, allocations: 1.107 MB / 0.659 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.438, allocations: 199 kB / 0.6592 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.4384, allocations: 289 kB / 0.6595 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.4404, allocations: 1.645 MB / 0.6611 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4404, allocations: 0 / 0.6611 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4404, allocations: 0 / 0.6611 GB, free: 0.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-05/0.4405, allocations: 4 kB / 0.6611 GB, free: 0.5391 MB / 494.1 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.002672/0.4432, allocations: 1.493 MB / 0.6625 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.4432, allocations: 8.031 kB / 0.6625 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.4448, allocations: 390 kB / 0.6629 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.4468, allocations: 1.078 MB / 0.664 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.4471, allocations: 133.9 kB / 0.6641 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4473, allocations: 80 kB / 0.6642 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.4491, allocations: 0.9622 MB / 0.6651 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4491, allocations: 0 / 0.6651 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.4492, allocations: 32 kB / 0.6651 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.4492, allocations: 20 kB / 0.6652 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.4511, allocations: 0.843 MB / 0.666 GB, free: 11.35 MB / 0.4981 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.005616/0.4568, allocations: 4.811 MB / 0.6707 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4582, allocations: 0.5914 MB / 0.6713 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.4588, allocations: 280.7 kB / 0.6715 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.4601, allocations: 1.4 MB / 0.6729 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4601, allocations: 34.56 kB / 0.6729 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.734e-06/0.4601, allocations: 0 / 0.6729 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006293/0.4664, allocations: 1.841 MB / 0.6747 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4665, allocations: 63.28 kB / 0.6748 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.4679, allocations: 1.051 MB / 0.6758 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.4679, allocations: 33.7 kB / 0.6759 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.4683, allocations: 0.5159 MB / 0.6764 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.4685, allocations: 157.8 kB / 0.6765 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.4685, allocations: 12 kB / 0.6765 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.4686, allocations: 322 kB / 0.6768 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.4693, allocations: 284.9 kB / 0.6771 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008461/0.4702, allocations: 497.9 kB / 0.6776 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.471, allocations: 319.6 kB / 0.6779 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.471, allocations: 0 / 0.6779 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002202/0.4732, allocations: 0.9686 MB / 0.6788 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.4733, allocations: 208.4 kB / 0.679 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.4733, allocations: 4 kB / 0.679 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.4745, allocations: 324.7 kB / 0.6793 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.475, allocations: 115.8 kB / 0.6794 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.4764, allocations: 0.9426 MB / 0.6804 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4775, allocations: 179.2 kB / 0.6805 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.4775, allocations: 28 kB / 0.6806 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.4776, allocations: 8 kB / 0.6806 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002077/0.4796, allocations: 0.8355 MB / 0.6814 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4797, allocations: 4 kB / 0.6814 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.4807, allocations: 324.1 kB / 0.6817 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.4811, allocations: 119.8 kB / 0.6818 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.4824, allocations: 0.9347 MB / 0.6827 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/0.4834, allocations: 155.5 kB / 0.6829 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.4835, allocations: 27.98 kB / 0.6829 GB, free: 9.074 MB / 0.5137 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004396/0.4839, allocations: 357 kB / 0.6832 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4841, allocations: 114.6 kB / 0.6833 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.4869, allocations: 1.081 MB / 0.6844 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4869, allocations: 8 kB / 0.6844 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4869, allocations: 0 / 0.6844 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4869, allocations: 3.984 kB / 0.6844 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/0.4913, allocations: 2.169 MB / 0.6865 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4913, allocations: 0 / 0.6865 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.4915, allocations: 55.91 kB / 0.6866 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.4925, allocations: 322.9 kB / 0.6869 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.4925, allocations: 15.95 kB / 0.6869 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.4938, allocations: 0.9659 MB / 0.6879 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.4939, allocations: 4.031 kB / 0.6879 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.4969, allocations: 1.195 MB / 0.689 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.4973, allocations: 275.5 kB / 0.6893 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4974, allocations: 8 kB / 0.6893 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.4982, allocations: 103.8 kB / 0.6894 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.4983, allocations: 43.83 kB / 0.6894 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.4984, allocations: 27.98 kB / 0.6895 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001036/0.4994, allocations: 0.7352 MB / 0.6902 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4994, allocations: 0 / 0.6902 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001392/0.5008, allocations: 0.5692 MB / 0.6907 GB, free: 0.8477 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007042/0.5015, allocations: 392.8 kB / 0.6911 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.5041, allocations: 1.05 MB / 0.6921 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5041, allocations: 0 / 0.6921 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.5048, allocations: 331.4 kB / 0.6925 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.507, allocations: 498.8 kB / 0.6929 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.5103, allocations: 2.214 MB / 0.6951 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.5109, allocations: 1.061 MB / 0.6961 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008365/0.5118, allocations: 220.7 kB / 0.6963 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5119, allocations: 75.42 kB / 0.6964 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5119, allocations: 0 / 0.6964 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.03479/0.5467, allocations: 23.14 MB / 0.719 GB, free: 4.168 MB / 0.545 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)