Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.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.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.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.001384/0.001384, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001785/0.001785, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.457/1.457, allocations: 205.1 MB / 222.1 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4192/0.4192, allocations: 54.93 MB / 324.4 MB, free: 248 kB / 254.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.001421/0.001421, allocations: 63.91 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1292, allocations: 59.59 MB / 454.4 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.312/0.4412, allocations: 73.89 MB / 0.516 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.4661, allocations: 14.09 MB / 0.5297 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004383/0.4705, allocations: 58.88 kB / 0.5298 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.4744, allocations: 0.7807 MB / 0.5305 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009729/0.4842, allocations: 2.354 MB / 0.5328 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.4888, allocations: 1.151 MB / 0.5339 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00798/0.4968, allocations: 4.379 MB / 0.5382 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.4993, allocations: 1.395 MB / 0.5396 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005798/0.5051, allocations: 1.719 MB / 0.5413 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.5089, allocations: 1.338 MB / 0.5426 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004731/0.5094, allocations: 164 kB / 0.5427 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.5134, allocations: 1.267 MB / 0.544 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005574/0.514, allocations: 410.5 kB / 0.5444 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.5158, allocations: 0.9528 MB / 0.5453 GB, free: 152 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00593/0.5217, allocations: 2.843 MB / 0.5481 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.5218, allocations: 3.938 kB / 0.5481 GB, free: 13.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5218, allocations: 0 / 0.5481 GB, free: 13.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.5219, allocations: 0 / 0.5481 GB, free: 13.29 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.005435/0.5273, allocations: 2.107 MB / 0.5501 GB, free: 11.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5274, allocations: 8.031 kB / 0.5501 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.5286, allocations: 254.7 kB / 0.5504 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.5314, allocations: 1.461 MB / 0.5518 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.5314, allocations: 82.11 kB / 0.5519 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.5316, allocations: 116 kB / 0.552 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.5343, allocations: 1.366 MB / 0.5533 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.5344, allocations: 3.938 kB / 0.5533 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5345, allocations: 48 kB / 0.5534 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.5345, allocations: 35.98 kB / 0.5534 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5369, allocations: 1.03 MB / 0.5544 GB, free: 6.539 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.0074/0.5443, allocations: 6.576 MB / 0.5608 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.5461, allocations: 0.6354 MB / 0.5615 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.5468, allocations: 340.7 kB / 0.5618 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.5472, allocations: 341 kB / 0.5621 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5472, allocations: 39.12 kB / 0.5621 GB, free: 14.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 4.378e-06/0.5472, allocations: 7.922 kB / 0.5622 GB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.006905/0.5541, allocations: 2.497 MB / 0.5646 GB, free: 11.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.5543, allocations: 158.8 kB / 0.5647 GB, free: 11.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.556, allocations: 1.255 MB / 0.566 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5561, allocations: 37.7 kB / 0.566 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.5567, allocations: 0.6645 MB / 0.5667 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.5569, allocations: 236.6 kB / 0.5669 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.5572, allocations: 182.5 kB / 0.5671 GB, free: 8.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5574, allocations: 341.9 kB / 0.5674 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/0.5581, allocations: 336.6 kB / 0.5677 GB, free: 8.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5592, allocations: 0.6527 MB / 0.5683 GB, free: 7.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.5609, allocations: 0.9207 MB / 0.5692 GB, free: 6.465 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.5609, allocations: 7.562 kB / 0.5692 GB, free: 6.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002569/0.5635, allocations: 1.123 MB / 0.5703 GB, free: 5.324 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.5635, allocations: 8 kB / 0.5704 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5635, allocations: 8 kB / 0.5704 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.5639, allocations: 61.2 kB / 0.5704 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/0.5648, allocations: 227.6 kB / 0.5706 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005067/0.5653, allocations: 0.5953 MB / 0.5712 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5668, allocations: 131.8 kB / 0.5713 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.5669, allocations: 36 kB / 0.5714 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001227/0.5682, allocations: 0.58 MB / 0.5719 GB, free: 3.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009267/0.5691, allocations: 0.637 MB / 0.5726 GB, free: 2.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001462/0.5706, allocations: 0.878 MB / 0.5734 GB, free: 1.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.5706, allocations: 4 kB / 0.5734 GB, free: 1.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002246/0.5729, allocations: 1.065 MB / 0.5745 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5729, allocations: 8 kB / 0.5745 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5729, allocations: 12.03 kB / 0.5745 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.5732, allocations: 69.3 kB / 0.5746 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.574, allocations: 203.7 kB / 0.5747 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005185/0.5745, allocations: 0.6075 MB / 0.5753 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.5762, allocations: 124.8 kB / 0.5755 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.5763, allocations: 44.55 kB / 0.5755 GB, free: 15.73 MB / 462.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 (104): * Single equations (assignments): 103 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003634/0.5766, allocations: 236.9 kB / 0.5757 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.5769, allocations: 146.2 kB / 0.5759 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.5793, allocations: 0.9864 MB / 0.5768 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5793, allocations: 8 kB / 0.5768 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5793, allocations: 0.8125 kB / 0.5768 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/0.5812, allocations: 0.881 MB / 0.5777 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/0.586, allocations: 2.503 MB / 0.5801 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.586, allocations: 4 kB / 0.5801 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.5867, allocations: 148.2 kB / 0.5803 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.5871, allocations: 139.2 kB / 0.5804 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.5871, allocations: 27.94 kB / 0.5804 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.5883, allocations: 1.741 MB / 0.5821 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5883, allocations: 4 kB / 0.5821 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.5914, allocations: 1.556 MB / 0.5837 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/0.5923, allocations: 311.2 kB / 0.584 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.5925, allocations: 24.8 kB / 0.584 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5935, allocations: 95.81 kB / 0.5841 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.5937, allocations: 72.17 kB / 0.5842 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.5937, allocations: 31.98 kB / 0.5842 GB, free: 6.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.5951, allocations: 0.8866 MB / 0.585 GB, free: 5.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5951, allocations: 0 / 0.585 GB, free: 5.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001946/0.597, allocations: 0.6405 MB / 0.5857 GB, free: 4.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (60): * Single equations (assignments): 57 * 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,6), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009326/0.598, allocations: 380.7 kB / 0.586 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.6015, allocations: 1.351 MB / 0.5874 GB, free: 3.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6015, allocations: 0 / 0.5874 GB, free: 3.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6027, allocations: 448.4 kB / 0.5878 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/0.6074, allocations: 0.871 MB / 0.5886 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.6122, allocations: 2.961 MB / 0.5915 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.6131, allocations: 1.199 MB / 0.5927 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001798/0.6149, allocations: 333.9 kB / 0.593 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6153, allocations: 111.4 kB / 0.5931 GB, free: 13.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6153, allocations: 0 / 0.5931 GB, free: 13.27 MB / 478.1 MB Notification: Performance of Templates: time 0.05861/0.6739, allocations: 31.52 MB / 0.6239 GB, free: 13.99 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)