Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001764/0.001764, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 422.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 59.69 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2303, allocations: 80.2 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.4301/0.6605, allocations: 60.84 MB / 0.6388 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.6754, allocations: 12.07 MB / 0.6506 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.6782, allocations: 53.16 kB / 0.6507 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.6802, allocations: 0.5488 MB / 0.6512 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.6854, allocations: 1.802 MB / 0.653 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.6882, allocations: 1.079 MB / 0.654 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.6927, allocations: 3.925 MB / 0.6579 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.6941, allocations: 0.9343 MB / 0.6588 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.6974, allocations: 1.158 MB / 0.6599 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.6992, allocations: 0.9021 MB / 0.6608 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.6993, allocations: 57.53 kB / 0.6608 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/0.7031, allocations: 1.355 MB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000307/0.7034, allocations: 237.9 kB / 0.6624 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009366/0.7043, allocations: 0.642 MB / 0.663 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.7089, allocations: 2.253 MB / 0.6652 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.709, allocations: 4.734 kB / 0.6652 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.709, allocations: 1.094 kB / 0.6652 GB, free: 7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.709, allocations: 0 / 0.6652 GB, free: 7 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003871/0.7129, allocations: 1.744 MB / 0.6669 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7129, allocations: 8.969 kB / 0.6669 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.7153, allocations: 416.7 kB / 0.6673 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.7176, allocations: 1.131 MB / 0.6684 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/0.7179, allocations: 119.3 kB / 0.6685 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.7181, allocations: 80.48 kB / 0.6686 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.7204, allocations: 0.9981 MB / 0.6696 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.7204, allocations: 1.953 kB / 0.6696 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.7205, allocations: 31.84 kB / 0.6696 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.7205, allocations: 18.69 kB / 0.6696 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.7232, allocations: 0.8848 MB / 0.6705 GB, free: 4.184 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.007424/0.7306, allocations: 4.857 MB / 0.6753 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/0.7342, allocations: 0.8064 MB / 0.676 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009108/0.7352, allocations: 316.7 kB / 0.6763 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/0.736, allocations: 0.9131 MB / 0.6772 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.736, allocations: 38.14 kB / 0.6773 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.166e-06/0.7361, allocations: 0 / 0.6773 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007186/0.7433, allocations: 1.658 MB / 0.6789 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.7433, allocations: 55.83 kB / 0.6789 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.7454, allocations: 1.062 MB / 0.68 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.7455, allocations: 37.36 kB / 0.68 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.746, allocations: 0.5154 MB / 0.6805 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.7462, allocations: 158.8 kB / 0.6807 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.7464, allocations: 127.9 kB / 0.6808 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7466, allocations: 325.9 kB / 0.6811 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.7475, allocations: 320.6 kB / 0.6814 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.7488, allocations: 0.5154 MB / 0.6819 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.7507, allocations: 0.711 MB / 0.6826 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.7507, allocations: 3.969 kB / 0.6826 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003144/0.7538, allocations: 1.009 MB / 0.6836 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.7539, allocations: 7.891 kB / 0.6836 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7539, allocations: 3.969 kB / 0.6836 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.7553, allocations: 311.5 kB / 0.6839 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.7559, allocations: 126.2 kB / 0.684 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.7576, allocations: 0.9197 MB / 0.6849 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.7598, allocations: 175 kB / 0.6851 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7599, allocations: 29.61 kB / 0.6851 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001762/0.7617, allocations: 0.5227 MB / 0.6856 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0013/0.763, allocations: 0.5173 MB / 0.6861 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002014/0.765, allocations: 0.7005 MB / 0.6868 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.7651, allocations: 1.562 kB / 0.6868 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.003317/0.7684, allocations: 1.002 MB / 0.6878 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7684, allocations: 12.95 kB / 0.6878 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.7684, allocations: 4.531 kB / 0.6878 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.7697, allocations: 321.5 kB / 0.6881 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.7703, allocations: 120.4 kB / 0.6882 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.7719, allocations: 0.9111 MB / 0.6891 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.7738, allocations: 163 kB / 0.6893 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/0.7739, allocations: 36.3 kB / 0.6893 GB, free: 9.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0003576/0.7742, allocations: 216 kB / 0.6895 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.7745, allocations: 111.3 kB / 0.6896 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.7783, allocations: 1.114 MB / 0.6907 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.7783, allocations: 5.375 kB / 0.6907 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.7784, allocations: 4.906 kB / 0.6907 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.7784, allocations: 1.828 kB / 0.6907 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006765/0.7852, allocations: 2.197 MB / 0.6929 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.7852, allocations: 2.312 kB / 0.6929 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.7856, allocations: 68.73 kB / 0.6929 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.7869, allocations: 309 kB / 0.6932 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.787, allocations: 14.34 kB / 0.6932 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.7892, allocations: 0.9377 MB / 0.6942 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.7892, allocations: 2.156 kB / 0.6942 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.7942, allocations: 1.213 MB / 0.6953 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.7954, allocations: 263.8 kB / 0.6956 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.7956, allocations: 15.81 kB / 0.6956 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7967, allocations: 112.9 kB / 0.6957 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7968, allocations: 37.83 kB / 0.6958 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.7969, allocations: 29.42 kB / 0.6958 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001646/0.7986, allocations: 0.7388 MB / 0.6965 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7986, allocations: 0 / 0.6965 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002484/0.8011, allocations: 0.5542 MB / 0.697 GB, free: 5.453 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 (34): * Single equations (assignments): 29 * 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.001056/0.8021, allocations: 396.3 kB / 0.6974 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003677/0.8058, allocations: 1.135 MB / 0.6985 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8059, allocations: 7.938 kB / 0.6985 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.8068, allocations: 363 kB / 0.6989 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.8096, allocations: 0.4903 MB / 0.6994 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.8157, allocations: 2.461 MB / 0.7018 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.8164, allocations: 1.063 MB / 0.7028 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001261/0.8177, allocations: 221.3 kB / 0.703 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.8179, allocations: 77.55 kB / 0.7031 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.8179, allocations: 0 / 0.7031 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of Templates: time 0.052/0.8699, allocations: 23.91 MB / 0.7264 GB, free: 12 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)