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.001323/0.001323, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6945/0.6945, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 55.12 kB / 0.5018 GB, free: 8.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.169, allocations: 80.21 MB / 0.5801 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3189/0.4879, allocations: 61.15 MB / 0.6398 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.5003, allocations: 11.97 MB / 0.6515 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.5024, allocations: 58.47 kB / 0.6516 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.504, allocations: 0.6798 MB / 0.6522 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.5079, allocations: 1.961 MB / 0.6541 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.5102, allocations: 1.193 MB / 0.6553 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002857/0.513, allocations: 3.087 MB / 0.6583 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.5142, allocations: 1.091 MB / 0.6594 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.5172, allocations: 1.333 MB / 0.6607 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.5192, allocations: 0.8882 MB / 0.6615 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.5195, allocations: 123 kB / 0.6617 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.523, allocations: 1.461 MB / 0.6631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.5233, allocations: 291.4 kB / 0.6634 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.5245, allocations: 0.6952 MB / 0.6641 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.5289, allocations: 2.291 MB / 0.6663 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.5289, allocations: 1.281 kB / 0.6663 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5289, allocations: 3.938 kB / 0.6663 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.227e-05/0.5289, allocations: 0 / 0.6663 GB, free: 5.77 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.003384/0.5323, allocations: 1.725 MB / 0.668 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5324, allocations: 15 kB / 0.668 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.534, allocations: 345.9 kB / 0.6683 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.536, allocations: 1.104 MB / 0.6694 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.5364, allocations: 115 kB / 0.6695 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5365, allocations: 83.34 kB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5382, allocations: 0.976 MB / 0.6705 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5382, allocations: 1.5 kB / 0.6705 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.5383, allocations: 33 kB / 0.6706 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.5383, allocations: 19.09 kB / 0.6706 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.5403, allocations: 0.8078 MB / 0.6714 GB, free: 2.957 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.006055/0.5464, allocations: 5.169 MB / 0.6764 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.5481, allocations: 0.5739 MB / 0.677 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.5487, allocations: 274 kB / 0.6773 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.5501, allocations: 1.36 MB / 0.6786 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5501, allocations: 49.94 kB / 0.6786 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.5501, allocations: 0 / 0.6786 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006805/0.5569, allocations: 1.678 MB / 0.6803 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.557, allocations: 55.53 kB / 0.6803 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.5586, allocations: 1.08 MB / 0.6814 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.5587, allocations: 33.95 kB / 0.6814 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.5591, allocations: 0.5305 MB / 0.6819 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.5593, allocations: 147 kB / 0.6821 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.5595, allocations: 138 kB / 0.6822 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5596, allocations: 334.7 kB / 0.6825 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/0.5604, allocations: 278.9 kB / 0.6828 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/0.5614, allocations: 0.4982 MB / 0.6833 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.5628, allocations: 0.6734 MB / 0.6839 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5628, allocations: 1.562 kB / 0.6839 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002434/0.5652, allocations: 0.9616 MB / 0.6849 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5653, allocations: 7.094 kB / 0.6849 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5653, allocations: 8.562 kB / 0.6849 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.5665, allocations: 317 kB / 0.6852 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.567, allocations: 123.2 kB / 0.6853 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.5684, allocations: 0.9178 MB / 0.6862 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.5695, allocations: 140.8 kB / 0.6863 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.5696, allocations: 38.91 kB / 0.6864 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.5706, allocations: 490.4 kB / 0.6868 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009054/0.5716, allocations: 0.4931 MB / 0.6873 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001377/0.5729, allocations: 0.6703 MB / 0.688 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.573, allocations: 2.531 kB / 0.688 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002386/0.5753, allocations: 0.962 MB / 0.6889 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5754, allocations: 6.281 kB / 0.6889 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5754, allocations: 6.812 kB / 0.6889 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.5764, allocations: 315 kB / 0.6892 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.5769, allocations: 118.9 kB / 0.6893 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.5782, allocations: 0.9114 MB / 0.6902 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5794, allocations: 138.9 kB / 0.6904 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.5795, allocations: 33.66 kB / 0.6904 GB, free: 6.953 MB / 0.5137 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.0002211/0.5797, allocations: 223.1 kB / 0.6906 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5799, allocations: 108.1 kB / 0.6907 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.5828, allocations: 1.015 MB / 0.6917 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5828, allocations: 6.438 kB / 0.6917 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5828, allocations: 1.406 kB / 0.6917 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5829, allocations: 2.859 kB / 0.6917 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.5876, allocations: 2.088 MB / 0.6938 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5876, allocations: 3.688 kB / 0.6938 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.5878, allocations: 57.72 kB / 0.6938 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009377/0.5887, allocations: 309.6 kB / 0.6941 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5888, allocations: 12.39 kB / 0.6941 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.5902, allocations: 0.9435 MB / 0.695 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5902, allocations: 2.656 kB / 0.695 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.5936, allocations: 1.109 MB / 0.6961 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.5941, allocations: 266.6 kB / 0.6964 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.5943, allocations: 8.969 kB / 0.6964 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.595, allocations: 68.47 kB / 0.6965 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.5951, allocations: 39.03 kB / 0.6965 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.5951, allocations: 23.97 kB / 0.6965 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001142/0.5963, allocations: 0.7511 MB / 0.6972 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5963, allocations: 1.125 kB / 0.6972 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001615/0.5979, allocations: 0.5732 MB / 0.6978 GB, free: 3.414 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 (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.0007348/0.5986, allocations: 406.5 kB / 0.6982 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002701/0.6014, allocations: 1.056 MB / 0.6992 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6014, allocations: 4 kB / 0.6992 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.6021, allocations: 319.4 kB / 0.6995 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.6043, allocations: 0.5138 MB / 0.7 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.6072, allocations: 1.843 MB / 0.7018 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.6077, allocations: 1.064 MB / 0.7029 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000795/0.6085, allocations: 219.9 kB / 0.7031 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.6087, allocations: 82.83 kB / 0.7032 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.6087, allocations: 0 / 0.7032 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of Templates: time 0.0364/0.6451, allocations: 25.09 MB / 0.7277 GB, free: 10.83 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)