Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001444/0.001444, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001749/0.001749, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9849/0.9849, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.42 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1748, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3086/0.4835, allocations: 60.67 MB / 0.6437 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4959, allocations: 11.89 MB / 0.6553 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.4978, allocations: 55.47 kB / 0.6554 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.4994, allocations: 0.5802 MB / 0.656 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.5036, allocations: 1.82 MB / 0.6577 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.5066, allocations: 1.097 MB / 0.6588 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.5101, allocations: 3.106 MB / 0.6618 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.5115, allocations: 1.106 MB / 0.6629 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.5145, allocations: 1.329 MB / 0.6642 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.5158, allocations: 0.9281 MB / 0.6651 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.516, allocations: 115.5 kB / 0.6652 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.519, allocations: 1.473 MB / 0.6667 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.5193, allocations: 299.2 kB / 0.667 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.52, allocations: 0.6874 MB / 0.6676 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.5235, allocations: 2.314 MB / 0.6699 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5235, allocations: 4 kB / 0.6699 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5235, allocations: 0 / 0.6699 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.5236, allocations: 1.062 kB / 0.6699 GB, free: 1.156 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.003085/0.5267, allocations: 1.732 MB / 0.6716 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5267, allocations: 8.938 kB / 0.6716 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.5284, allocations: 339 kB / 0.6719 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.5307, allocations: 1.124 MB / 0.673 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.531, allocations: 124.3 kB / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5312, allocations: 79.75 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.5332, allocations: 0.944 MB / 0.6741 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5333, allocations: 5.125 kB / 0.6741 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.5334, allocations: 36.23 kB / 0.6742 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.5334, allocations: 18.59 kB / 0.6742 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.5355, allocations: 0.8005 MB / 0.675 GB, free: 14.38 MB / 0.5137 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.007754/0.5433, allocations: 4.75 MB / 0.6796 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.545, allocations: 0.5698 MB / 0.6802 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.5457, allocations: 277.2 kB / 0.6804 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.5473, allocations: 1.364 MB / 0.6818 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.5473, allocations: 45.91 kB / 0.6818 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.5473, allocations: 0 / 0.6818 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007341/0.5547, allocations: 1.67 MB / 0.6834 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.5548, allocations: 56.98 kB / 0.6835 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.5568, allocations: 1.056 MB / 0.6845 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5569, allocations: 33.86 kB / 0.6846 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.5575, allocations: 0.5186 MB / 0.6851 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.5576, allocations: 150.3 kB / 0.6852 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.5579, allocations: 130.2 kB / 0.6853 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5581, allocations: 337.3 kB / 0.6857 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.5588, allocations: 268.4 kB / 0.6859 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.5598, allocations: 481.1 kB / 0.6864 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.5613, allocations: 0.6282 MB / 0.687 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5613, allocations: 0.9375 kB / 0.687 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002633/0.564, allocations: 0.9272 MB / 0.6879 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.564, allocations: 5.656 kB / 0.6879 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.564, allocations: 4.891 kB / 0.6879 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.5653, allocations: 318.4 kB / 0.6882 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.5658, allocations: 105.5 kB / 0.6883 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.5674, allocations: 0.9122 MB / 0.6892 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.5688, allocations: 166.1 kB / 0.6893 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.5689, allocations: 27.48 kB / 0.6894 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/0.57, allocations: 489.3 kB / 0.6898 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009458/0.571, allocations: 469.9 kB / 0.6903 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001441/0.5724, allocations: 0.6275 MB / 0.6909 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.5725, allocations: 1.438 kB / 0.6909 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002515/0.575, allocations: 0.9182 MB / 0.6918 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.575, allocations: 6.125 kB / 0.6918 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.575, allocations: 3.594 kB / 0.6918 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.5762, allocations: 314.3 kB / 0.6921 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.5766, allocations: 108.9 kB / 0.6922 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.5782, allocations: 0.9132 MB / 0.6931 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.5796, allocations: 152.4 kB / 0.6933 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.5797, allocations: 27.95 kB / 0.6933 GB, free: 3.043 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 (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.0002913/0.58, allocations: 212.6 kB / 0.6935 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.5803, allocations: 112.4 kB / 0.6936 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.5836, allocations: 1.022 MB / 0.6946 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.5837, allocations: 10.53 kB / 0.6946 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5837, allocations: 0 / 0.6946 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5837, allocations: 7.672 kB / 0.6946 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005555/0.5893, allocations: 2.085 MB / 0.6966 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.5893, allocations: 2.375 kB / 0.6966 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.5895, allocations: 57.67 kB / 0.6967 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.5906, allocations: 299.3 kB / 0.697 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.5906, allocations: 16.8 kB / 0.697 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.5923, allocations: 0.946 MB / 0.6979 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5923, allocations: 2.781 kB / 0.6979 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.5958, allocations: 1.107 MB / 0.699 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.5965, allocations: 263.2 kB / 0.6993 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.5968, allocations: 17.78 kB / 0.6993 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5978, allocations: 88.77 kB / 0.6994 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.5979, allocations: 35.72 kB / 0.6994 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.598, allocations: 22.39 kB / 0.6994 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001466/0.5994, allocations: 0.7446 MB / 0.7001 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5995, allocations: 0 / 0.7001 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002254/0.6017, allocations: 0.5664 MB / 0.7007 GB, free: 15.48 MB / 0.5294 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.001135/0.6029, allocations: 404.2 kB / 0.7011 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003107/0.606, allocations: 1.019 MB / 0.7021 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.606, allocations: 1.156 kB / 0.7021 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.6068, allocations: 323.4 kB / 0.7024 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6096, allocations: 0.5181 MB / 0.7029 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.614, allocations: 2.224 MB / 0.7051 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009696/0.615, allocations: 1.064 MB / 0.7061 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001199/0.6162, allocations: 217.5 kB / 0.7063 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.6165, allocations: 72.94 kB / 0.7064 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.6165, allocations: 3.938 kB / 0.7064 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of Templates: time 0.04505/0.6616, allocations: 24.67 MB / 0.7305 GB, free: 6.121 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)