Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0009816/0.0009816, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001245/0.001245, allocations: 177.3 kB / 15.94 MB, free: 228 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.198/1.198, allocations: 223.2 MB / 239.9 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.841/0.841, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 9.094 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3204/0.4562, allocations: 59.11 MB / 0.6449 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.4714, allocations: 15.06 MB / 0.6596 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.4735, allocations: 61.69 kB / 0.6597 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.4754, allocations: 0.6998 MB / 0.6604 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006467/0.4819, allocations: 2.31 MB / 0.6626 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004719/0.4867, allocations: 1.542 MB / 0.6641 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005144/0.4918, allocations: 2.278 MB / 0.6663 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.4937, allocations: 1.037 MB / 0.6674 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.4965, allocations: 1.274 MB / 0.6686 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.4979, allocations: 0.773 MB / 0.6694 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.4981, allocations: 56.38 kB / 0.6694 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.501, allocations: 0.9883 MB / 0.6704 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.5013, allocations: 239.5 kB / 0.6706 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.5017, allocations: 370.8 kB / 0.671 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.5049, allocations: 2.274 MB / 0.6732 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5049, allocations: 0 / 0.6732 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5049, allocations: 0 / 0.6732 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-05/0.505, allocations: 0 / 0.6732 GB, free: 1.164 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003257/0.5082, allocations: 1.735 MB / 0.6749 GB, free: 4 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5083, allocations: 9.125 kB / 0.6749 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.5107, allocations: 0.4964 MB / 0.6754 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.5133, allocations: 1.418 MB / 0.6767 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.5137, allocations: 146 kB / 0.6769 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.5138, allocations: 106.6 kB / 0.677 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.5164, allocations: 1.308 MB / 0.6783 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.5164, allocations: 5.844 kB / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5165, allocations: 43.91 kB / 0.6783 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.5166, allocations: 25.56 kB / 0.6783 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/0.5193, allocations: 1.147 MB / 0.6795 GB, free: 13.82 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.009056/0.5283, allocations: 7.23 MB / 0.6865 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.5315, allocations: 0.8928 MB / 0.6874 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.5327, allocations: 1.719 MB / 0.6891 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5327, allocations: 37.22 kB / 0.6891 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.5327, allocations: 3.938 kB / 0.6891 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004648/0.5374, allocations: 1.438 MB / 0.6905 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5374, allocations: 57.38 kB / 0.6906 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.54, allocations: 1.549 MB / 0.6921 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.545e-05/0.5401, allocations: 37.86 kB / 0.6921 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005599/0.5406, allocations: 0.6647 MB / 0.6928 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5408, allocations: 170.7 kB / 0.6929 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.5409, allocations: 15.88 kB / 0.6929 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.541, allocations: 332 kB / 0.6933 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009372/0.5419, allocations: 388.8 kB / 0.6936 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.5431, allocations: 0.6546 MB / 0.6943 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.5441, allocations: 443.1 kB / 0.6947 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5441, allocations: 6.5 kB / 0.6947 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002801/0.5469, allocations: 1.209 MB / 0.6959 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5469, allocations: 8.891 kB / 0.6959 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5469, allocations: 7.438 kB / 0.6959 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008622/0.5478, allocations: 229.3 kB / 0.6961 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.5486, allocations: 192.1 kB / 0.6963 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/0.5494, allocations: 0.733 MB / 0.697 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.5512, allocations: 259.4 kB / 0.6973 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/0.5513, allocations: 48.2 kB / 0.6973 GB, free: 1.707 MB / 0.5137 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.0007045/0.552, allocations: 355.7 kB / 0.6976 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5522, allocations: 152 kB / 0.6978 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.5545, allocations: 1.184 MB / 0.6989 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.5545, allocations: 7.25 kB / 0.699 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5546, allocations: 0 / 0.699 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5546, allocations: 8.375 kB / 0.699 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.5602, allocations: 2.6 MB / 0.7015 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.5602, allocations: 1.625 kB / 0.7015 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.5606, allocations: 95.25 kB / 0.7016 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007872/0.5614, allocations: 222.8 kB / 0.7018 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.5615, allocations: 18.86 kB / 0.7018 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.5627, allocations: 0.7994 MB / 0.7026 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5627, allocations: 6.234 kB / 0.7026 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.5664, allocations: 1.367 MB / 0.7039 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009037/0.5673, allocations: 375.8 kB / 0.7043 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.5675, allocations: 16.58 kB / 0.7043 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.5684, allocations: 109 kB / 0.7044 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.5685, allocations: 44.38 kB / 0.7045 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.5686, allocations: 33.06 kB / 0.7045 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001858/0.5705, allocations: 1.086 MB / 0.7056 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5705, allocations: 0 / 0.7056 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00159/0.5721, allocations: 441.1 kB / 0.706 GB, free: 12.85 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.0009096/0.573, allocations: 471.9 kB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.5751, allocations: 0.859 MB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5751, allocations: 1.812 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5763, allocations: 478 kB / 0.7077 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.5791, allocations: 0.6903 MB / 0.7084 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.5829, allocations: 2.715 MB / 0.711 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.5836, allocations: 1.203 MB / 0.7122 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001056/0.5847, allocations: 259.3 kB / 0.7125 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.5849, allocations: 110.8 kB / 0.7126 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.5849, allocations: 4 kB / 0.7126 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of Templates: time 0.04377/0.6287, allocations: 29.36 MB / 0.7413 GB, free: 13.27 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: