Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007816/0.007816, allocations: 103 kB / 15.73 MB, free: 6.004 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.001477/0.001477, allocations: 193.8 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2836/0.2836, allocations: 54.97 MB / 324.9 MB, free: 4.832 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 71.84 kB / 456.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1193, allocations: 59.59 MB / 0.5037 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3463/0.4657, allocations: 69.77 MB / 0.5718 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.4916, allocations: 18.09 MB / 0.5895 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003891/0.4956, allocations: 66.88 kB / 0.5896 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00322/0.4989, allocations: 0.8679 MB / 0.5904 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00986/0.5088, allocations: 2.807 MB / 0.5931 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.5135, allocations: 1.448 MB / 0.5946 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.524, allocations: 3.928 MB / 0.5984 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.5276, allocations: 1.447 MB / 0.5998 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006196/0.5338, allocations: 1.874 MB / 0.6016 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.5383, allocations: 1.241 MB / 0.6029 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008368/0.5392, allocations: 180 kB / 0.603 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.5439, allocations: 1.181 MB / 0.6042 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008888/0.5448, allocations: 396.2 kB / 0.6046 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.5477, allocations: 0.9691 MB / 0.6055 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006428/0.5542, allocations: 3.068 MB / 0.6085 GB, free: 5.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5542, allocations: 0 / 0.6085 GB, free: 5.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5542, allocations: 0 / 0.6085 GB, free: 5.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.041e-05/0.5543, allocations: 0 / 0.6085 GB, free: 5.789 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004892/0.5592, allocations: 2.063 MB / 0.6105 GB, free: 3.664 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5592, allocations: 8.031 kB / 0.6105 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.562, allocations: 0.4905 MB / 0.611 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.5656, allocations: 1.503 MB / 0.6125 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.5657, allocations: 98.14 kB / 0.6126 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.5659, allocations: 112 kB / 0.6127 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.569, allocations: 1.486 MB / 0.6141 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.569, allocations: 4 kB / 0.6141 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5692, allocations: 48 kB / 0.6142 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.5692, allocations: 39.94 kB / 0.6142 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.5722, allocations: 1.159 MB / 0.6153 GB, free: 14.51 MB / 478.1 MB 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.01038/0.5826, allocations: 8.573 MB / 0.6237 GB, free: 5.391 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.5843, allocations: 0.6123 MB / 0.6243 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.585, allocations: 244.7 kB / 0.6245 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.586, allocations: 1.231 MB / 0.6257 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.5861, allocations: 42.56 kB / 0.6258 GB, free: 2.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 4.098e-06/0.5861, allocations: 0 / 0.6258 GB, free: 2.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.00609/0.5922, allocations: 1.395 MB / 0.6271 GB, free: 1.543 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.5923, allocations: 166.2 kB / 0.6273 GB, free: 1.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.5952, allocations: 1.631 MB / 0.6289 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.5954, allocations: 41.7 kB / 0.6289 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/0.5961, allocations: 0.7385 MB / 0.6297 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.5963, allocations: 161.8 kB / 0.6298 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.5967, allocations: 190.4 kB / 0.63 GB, free: 14.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5968, allocations: 341.9 kB / 0.6303 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.5979, allocations: 369.8 kB / 0.6307 GB, free: 13.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.5993, allocations: 0.7829 MB / 0.6314 GB, free: 12.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.6013, allocations: 1.001 MB / 0.6324 GB, free: 11.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.6014, allocations: 8 kB / 0.6324 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005068/0.6064, allocations: 1.463 MB / 0.6338 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.6065, allocations: 8 kB / 0.6339 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.6066, allocations: 12 kB / 0.6339 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.6075, allocations: 212.7 kB / 0.6341 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.6085, allocations: 231.6 kB / 0.6343 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009204/0.6095, allocations: 0.7122 MB / 0.635 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.6117, allocations: 239.2 kB / 0.6352 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.6119, allocations: 47.98 kB / 0.6353 GB, free: 8.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (101): * Single equations (assignments): 100 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009902/0.6129, allocations: 373.5 kB / 0.6356 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/0.6134, allocations: 158.1 kB / 0.6358 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.6159, allocations: 0.9544 MB / 0.6367 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.616, allocations: 7.938 kB / 0.6367 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.616, allocations: 3.984 kB / 0.6367 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.616, allocations: 0 / 0.6367 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006366/0.6224, allocations: 2.402 MB / 0.6391 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.6224, allocations: 12.06 kB / 0.6391 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.6228, allocations: 75.88 kB / 0.6391 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/0.6236, allocations: 192.7 kB / 0.6393 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.6237, allocations: 12 kB / 0.6393 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008643/0.6246, allocations: 0.7045 MB / 0.64 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.6246, allocations: 4 kB / 0.64 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/0.6283, allocations: 1.102 MB / 0.6411 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/0.6292, allocations: 323.1 kB / 0.6414 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.6296, allocations: 23.89 kB / 0.6414 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.631, allocations: 75.91 kB / 0.6415 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.6311, allocations: 35.84 kB / 0.6415 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.6311, allocations: 31.97 kB / 0.6416 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002363/0.6335, allocations: 1.174 MB / 0.6427 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6335, allocations: 4 kB / 0.6427 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001601/0.6351, allocations: 415.5 kB / 0.6431 GB, free: 0.4922 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008986/0.636, allocations: 382 kB / 0.6435 GB, free: 120 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.6384, allocations: 0.8038 MB / 0.6443 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6385, allocations: 0 / 0.6443 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.6392, allocations: 293.2 kB / 0.6445 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/0.6435, allocations: 0.8146 MB / 0.6453 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.6483, allocations: 2.196 MB / 0.6475 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.6492, allocations: 1.163 MB / 0.6486 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001358/0.6506, allocations: 287.7 kB / 0.6489 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.651, allocations: 123.4 kB / 0.649 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.651, allocations: 0 / 0.649 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.05687/0.7079, allocations: 31.66 MB / 0.6799 GB, free: 10.95 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)