Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009566/0.0009566, allocations: 90.28 kB / 15.06 MB, free: 1.094 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.001165/0.001165, allocations: 172.7 kB / 15.95 MB, free: 204 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.601/1.601, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.097/1.097, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004149, allocations: 15.98 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 82.31 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4398/0.6467, allocations: 65.05 MB / 0.6509 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.6664, allocations: 17.68 MB / 0.6682 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.6693, allocations: 64.28 kB / 0.6682 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.6715, allocations: 0.521 MB / 0.6687 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007406/0.679, allocations: 2.099 MB / 0.6708 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.683, allocations: 1.083 MB / 0.6718 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009129/0.6921, allocations: 4.379 MB / 0.6761 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.6947, allocations: 1.028 MB / 0.6771 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.699, allocations: 1.334 MB / 0.6784 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.702, allocations: 1.037 MB / 0.6794 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.7022, allocations: 56.81 kB / 0.6795 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.7055, allocations: 0.9133 MB / 0.6804 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.7058, allocations: 250.5 kB / 0.6806 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.7065, allocations: 369.9 kB / 0.681 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.7106, allocations: 2.289 MB / 0.6832 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7106, allocations: 1.312 kB / 0.6832 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7106, allocations: 0 / 0.6832 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.514e-05/0.7106, allocations: 0 / 0.6832 GB, free: 10.76 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004751/0.7154, allocations: 1.734 MB / 0.6849 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.7155, allocations: 8.344 kB / 0.6849 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/0.7179, allocations: 0.4929 MB / 0.6854 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.7216, allocations: 1.465 MB / 0.6868 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.722, allocations: 150.2 kB / 0.687 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.7222, allocations: 102.5 kB / 0.6871 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.7256, allocations: 1.312 MB / 0.6883 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.7256, allocations: 1.531 kB / 0.6883 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.7257, allocations: 43.12 kB / 0.6884 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.7258, allocations: 25.34 kB / 0.6884 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.729, allocations: 1.159 MB / 0.6895 GB, free: 7.395 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.01176/0.7408, allocations: 7.178 MB / 0.6966 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.744, allocations: 0.8863 MB / 0.6974 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.7446, allocations: 304.3 kB / 0.6977 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/0.7466, allocations: 1.717 MB / 0.6994 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.553e-05/0.7467, allocations: 43.27 kB / 0.6994 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.687e-06/0.7467, allocations: 0 / 0.6994 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005313/0.752, allocations: 1.448 MB / 0.7008 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.7521, allocations: 56.97 kB / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.7552, allocations: 1.526 MB / 0.7024 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.7553, allocations: 38.45 kB / 0.7024 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000719/0.756, allocations: 0.6611 MB / 0.7031 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.7562, allocations: 171.1 kB / 0.7032 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.7563, allocations: 11.97 kB / 0.7032 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7564, allocations: 335.4 kB / 0.7036 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.7575, allocations: 388.7 kB / 0.7039 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.759, allocations: 0.6577 MB / 0.7046 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.7602, allocations: 441.3 kB / 0.705 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.7602, allocations: 6.312 kB / 0.705 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00412/0.7643, allocations: 1.216 MB / 0.7062 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.7644, allocations: 7.625 kB / 0.7062 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.7644, allocations: 7.5 kB / 0.7062 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.7655, allocations: 228.9 kB / 0.7064 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.7663, allocations: 199 kB / 0.7066 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.7676, allocations: 0.7276 MB / 0.7073 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.7698, allocations: 266.2 kB / 0.7076 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.77, allocations: 46.75 kB / 0.7076 GB, free: 10.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008721/0.7709, allocations: 345.7 kB / 0.708 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.7712, allocations: 144.8 kB / 0.7081 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.7738, allocations: 1.182 MB / 0.7092 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.7739, allocations: 11.05 kB / 0.7093 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7739, allocations: 0 / 0.7093 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.7739, allocations: 1.062 kB / 0.7093 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/0.7795, allocations: 2.598 MB / 0.7118 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.7796, allocations: 1.906 kB / 0.7118 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.78, allocations: 99.02 kB / 0.7119 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/0.7807, allocations: 224 kB / 0.7121 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.7808, allocations: 13.41 kB / 0.7121 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.782, allocations: 0.7995 MB / 0.7129 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.782, allocations: 1.844 kB / 0.7129 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.7855, allocations: 1.287 MB / 0.7142 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.7866, allocations: 371.8 kB / 0.7145 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.7868, allocations: 12.12 kB / 0.7145 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009376/0.7877, allocations: 109.6 kB / 0.7146 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.7878, allocations: 43.7 kB / 0.7147 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.7879, allocations: 28.48 kB / 0.7147 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002163/0.7901, allocations: 1.072 MB / 0.7157 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7901, allocations: 0 / 0.7157 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002116/0.7922, allocations: 428.8 kB / 0.7162 GB, free: 5.219 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.7935, allocations: 460.5 kB / 0.7166 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002516/0.7961, allocations: 0.8672 MB / 0.7174 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7961, allocations: 6.906 kB / 0.7174 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.7974, allocations: 472.9 kB / 0.7179 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/0.8013, allocations: 0.7009 MB / 0.7186 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.8062, allocations: 2.713 MB / 0.7212 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.8072, allocations: 1.176 MB / 0.7224 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001307/0.8085, allocations: 260 kB / 0.7226 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.8089, allocations: 119.3 kB / 0.7227 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.8089, allocations: 0 / 0.7227 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of Templates: time 0.05391/0.8628, allocations: 29.02 MB / 0.7511 GB, free: 3.844 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)