Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4355/0.4355, allocations: 54.95 MB / 324.7 MB, free: 15.89 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.001722/0.001722, allocations: 68.47 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 59.6 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3205/0.4631, allocations: 74.48 MB / 0.517 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01915/0.4823, allocations: 11.78 MB / 0.5285 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.4859, allocations: 64.22 kB / 0.5286 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.4894, allocations: 0.8896 MB / 0.5294 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.4996, allocations: 2.404 MB / 0.5318 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.5043, allocations: 1.239 MB / 0.533 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.5145, allocations: 4.339 MB / 0.5372 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004738/0.5193, allocations: 1.397 MB / 0.5386 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/0.5253, allocations: 1.675 MB / 0.5402 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.5287, allocations: 1.266 MB / 0.5415 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007422/0.5294, allocations: 165.9 kB / 0.5416 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.5339, allocations: 1.254 MB / 0.5428 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.5347, allocations: 414.6 kB / 0.5432 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.5369, allocations: 0.9488 MB / 0.5442 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.5432, allocations: 2.82 MB / 0.5469 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5433, allocations: 0 / 0.5469 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5433, allocations: 0 / 0.5469 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001318/0.5434, allocations: 0 / 0.5469 GB, free: 14.58 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.006331/0.5498, allocations: 2.103 MB / 0.549 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5498, allocations: 8.031 kB / 0.549 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5513, allocations: 247.5 kB / 0.5492 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.5543, allocations: 1.41 MB / 0.5506 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.5546, allocations: 90.11 kB / 0.5507 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.5548, allocations: 108 kB / 0.5508 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.5581, allocations: 1.37 MB / 0.5521 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.5581, allocations: 7.938 kB / 0.5521 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.5583, allocations: 51.98 kB / 0.5522 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.5583, allocations: 31.98 kB / 0.5522 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.5612, allocations: 1.03 MB / 0.5532 GB, free: 7.879 MB / 430.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.008844/0.5701, allocations: 6.619 MB / 0.5597 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.5721, allocations: 0.6356 MB / 0.5603 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.5729, allocations: 343.3 kB / 0.5606 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.5732, allocations: 345 kB / 0.561 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5733, allocations: 39.12 kB / 0.561 GB, free: 15.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.715e-06/0.5733, allocations: 0 / 0.561 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.00748/0.5808, allocations: 2.478 MB / 0.5634 GB, free: 12.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.5809, allocations: 166.8 kB / 0.5636 GB, free: 12.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/0.5836, allocations: 1.263 MB / 0.5648 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.5837, allocations: 41.7 kB / 0.5648 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.5845, allocations: 0.6605 MB / 0.5655 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.5848, allocations: 236.6 kB / 0.5657 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.5852, allocations: 186.4 kB / 0.5659 GB, free: 10.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5854, allocations: 334 kB / 0.5662 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009113/0.5863, allocations: 340.6 kB / 0.5665 GB, free: 9.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.5876, allocations: 0.6512 MB / 0.5672 GB, free: 8.789 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.5895, allocations: 0.9181 MB / 0.5681 GB, free: 7.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5895, allocations: 0 / 0.5681 GB, free: 7.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0031/0.5926, allocations: 1.116 MB / 0.5692 GB, free: 6.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.5927, allocations: 8 kB / 0.5692 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.5927, allocations: 11.98 kB / 0.5692 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/0.5931, allocations: 60.83 kB / 0.5692 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.594, allocations: 212.4 kB / 0.5694 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005404/0.5946, allocations: 0.5914 MB / 0.57 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.596, allocations: 84.84 kB / 0.5701 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5961, allocations: 41 kB / 0.5701 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001363/0.5975, allocations: 0.5808 MB / 0.5707 GB, free: 5.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.5986, allocations: 0.6317 MB / 0.5713 GB, free: 4.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00169/0.6003, allocations: 0.8708 MB / 0.5722 GB, free: 3.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.31e-05/0.6003, allocations: 8 kB / 0.5722 GB, free: 3.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.00259/0.6029, allocations: 1.07 MB / 0.5732 GB, free: 2.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6029, allocations: 8 kB / 0.5732 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.603, allocations: 8 kB / 0.5732 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.6033, allocations: 60.77 kB / 0.5733 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.6041, allocations: 216.1 kB / 0.5735 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004719/0.6046, allocations: 0.5896 MB / 0.5741 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.606, allocations: 89.94 kB / 0.5742 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/0.6061, allocations: 32 kB / 0.5742 GB, free: 1.184 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (105): * Single equations (assignments): 104 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003709/0.6065, allocations: 240 kB / 0.5744 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.6069, allocations: 142.3 kB / 0.5746 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.6095, allocations: 0.9806 MB / 0.5755 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.6096, allocations: 4 kB / 0.5755 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.6096, allocations: 4.875 kB / 0.5755 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/0.6115, allocations: 0.8694 MB / 0.5764 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.6169, allocations: 2.526 MB / 0.5788 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.6169, allocations: 4 kB / 0.5788 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/0.6176, allocations: 156.3 kB / 0.579 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.618, allocations: 124.3 kB / 0.5791 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.6181, allocations: 27.98 kB / 0.5791 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.6194, allocations: 1.725 MB / 0.5808 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.6194, allocations: 8 kB / 0.5808 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.6228, allocations: 1.529 MB / 0.5823 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.6236, allocations: 323.2 kB / 0.5826 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.6239, allocations: 27.94 kB / 0.5827 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6251, allocations: 59.92 kB / 0.5827 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.6253, allocations: 68.25 kB / 0.5828 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.6254, allocations: 35.97 kB / 0.5828 GB, free: 7.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.6271, allocations: 0.8864 MB / 0.5837 GB, free: 7.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6271, allocations: 0 / 0.5837 GB, free: 7.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002569/0.6297, allocations: 0.6483 MB / 0.5843 GB, free: 6.422 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,5), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.6307, allocations: 377 kB / 0.5847 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.6342, allocations: 1.347 MB / 0.586 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.6343, allocations: 0 / 0.586 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6355, allocations: 449.2 kB / 0.5864 GB, free: 4.266 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/0.6398, allocations: 0.8872 MB / 0.5873 GB, free: 3.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.6447, allocations: 2.463 MB / 0.5897 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.6458, allocations: 1.195 MB / 0.5909 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001712/0.6475, allocations: 328.7 kB / 0.5912 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.6479, allocations: 115.4 kB / 0.5913 GB, free: 15.26 MB / 478.1 MB Notification: Performance of SimCode: time 2.685e-06/0.6479, allocations: 0 / 0.5913 GB, free: 15.26 MB / 478.1 MB Notification: Performance of Templates: time 0.05964/0.7075, allocations: 31.97 MB / 0.6225 GB, free: 15.52 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)