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.001503/0.001508, 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.002188/0.002188, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.492/1.492, allocations: 205.1 MB / 222.4 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3953/0.3953, allocations: 54.94 MB / 324.7 MB, free: 15.96 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.001484/0.001484, allocations: 63.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1544, allocations: 59.59 MB / 454.9 MB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3424/0.4969, allocations: 74.51 MB / 0.517 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.5192, allocations: 14.2 MB / 0.5309 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.5228, allocations: 60.47 kB / 0.5309 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.526, allocations: 0.8973 MB / 0.5318 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.5365, allocations: 2.523 MB / 0.5343 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.5415, allocations: 1.24 MB / 0.5355 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008636/0.5502, allocations: 4.351 MB / 0.5397 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.5533, allocations: 1.411 MB / 0.5411 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005151/0.5585, allocations: 1.693 MB / 0.5428 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.5616, allocations: 1.292 MB / 0.544 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006269/0.5622, allocations: 164 kB / 0.5442 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.5666, allocations: 1.256 MB / 0.5454 GB, free: 128 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.5674, allocations: 410.6 kB / 0.5458 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.5697, allocations: 0.9411 MB / 0.5467 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.5755, allocations: 2.836 MB / 0.5495 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5755, allocations: 3.984 kB / 0.5495 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5755, allocations: 4 kB / 0.5495 GB, free: 11.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.658e-05/0.5756, allocations: 0 / 0.5495 GB, free: 11.93 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.005967/0.5816, allocations: 2.1 MB / 0.5516 GB, free: 9.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.5817, allocations: 12.03 kB / 0.5516 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.5831, allocations: 250.7 kB / 0.5518 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.5859, allocations: 1.43 MB / 0.5532 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.586, allocations: 78.11 kB / 0.5533 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.5862, allocations: 116 kB / 0.5534 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.5892, allocations: 1.371 MB / 0.5547 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.5893, allocations: 3.938 kB / 0.5547 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.5894, allocations: 44 kB / 0.5548 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.5894, allocations: 35.98 kB / 0.5548 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.5919, allocations: 1.03 MB / 0.5558 GB, free: 5.215 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.008601/0.6005, allocations: 6.611 MB / 0.5623 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.6025, allocations: 0.6485 MB / 0.5629 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.6033, allocations: 330.9 kB / 0.5632 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.6037, allocations: 349 kB / 0.5636 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.6037, allocations: 44.06 kB / 0.5636 GB, free: 12.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.785e-06/0.6038, allocations: 3.938 kB / 0.5636 GB, free: 12.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.007847/0.6116, allocations: 2.485 MB / 0.566 GB, free: 10.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6117, allocations: 166.8 kB / 0.5662 GB, free: 9.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.6145, allocations: 1.267 MB / 0.5674 GB, free: 8.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6147, allocations: 45.7 kB / 0.5675 GB, free: 8.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009555/0.6156, allocations: 0.6606 MB / 0.5681 GB, free: 7.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.616, allocations: 240.6 kB / 0.5683 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.6165, allocations: 182.5 kB / 0.5685 GB, free: 7.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.6167, allocations: 341.9 kB / 0.5688 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.6177, allocations: 336.6 kB / 0.5692 GB, free: 6.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.6191, allocations: 0.6566 MB / 0.5698 GB, free: 6.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.6215, allocations: 0.9227 MB / 0.5707 GB, free: 5.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.6215, allocations: 4 kB / 0.5707 GB, free: 5.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002818/0.6243, allocations: 1.118 MB / 0.5718 GB, free: 3.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.6243, allocations: 8 kB / 0.5718 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.6244, allocations: 8 kB / 0.5718 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.6248, allocations: 65.36 kB / 0.5719 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.6257, allocations: 227.6 kB / 0.5721 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/0.6265, allocations: 0.5919 MB / 0.5727 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.6279, allocations: 91.91 kB / 0.5728 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.628, allocations: 36 kB / 0.5728 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.6293, allocations: 0.5807 MB / 0.5734 GB, free: 2.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001463/0.6308, allocations: 0.6332 MB / 0.574 GB, free: 1.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001938/0.6328, allocations: 0.8819 MB / 0.5748 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.6328, allocations: 4 kB / 0.5748 GB, free: 0.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002552/0.6353, allocations: 1.064 MB / 0.5759 GB, free: 15.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6354, allocations: 8 kB / 0.5759 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6354, allocations: 9.125 kB / 0.5759 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.6357, allocations: 78.42 kB / 0.576 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.6366, allocations: 199.7 kB / 0.5762 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006709/0.6373, allocations: 0.6037 MB / 0.5768 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6387, allocations: 88.2 kB / 0.5768 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.6388, allocations: 36 kB / 0.5769 GB, free: 14.43 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.0003659/0.6392, allocations: 236.8 kB / 0.5771 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.6396, allocations: 158.2 kB / 0.5772 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.6423, allocations: 0.9796 MB / 0.5782 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.6423, allocations: 4 kB / 0.5782 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6423, allocations: 4 kB / 0.5782 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001917/0.6442, allocations: 0.8732 MB / 0.5791 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/0.6504, allocations: 2.531 MB / 0.5815 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6504, allocations: 4 kB / 0.5815 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/0.6511, allocations: 151.7 kB / 0.5817 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.6516, allocations: 138.5 kB / 0.5818 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.6517, allocations: 27.92 kB / 0.5818 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.6535, allocations: 1.733 MB / 0.5835 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.6535, allocations: 11.94 kB / 0.5835 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.6571, allocations: 1.552 MB / 0.5851 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000742/0.6579, allocations: 315.2 kB / 0.5854 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.6582, allocations: 20.06 kB / 0.5854 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6592, allocations: 67.92 kB / 0.5854 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6594, allocations: 64.33 kB / 0.5855 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.6595, allocations: 35.97 kB / 0.5855 GB, free: 5.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.661, allocations: 0.9022 MB / 0.5864 GB, free: 4.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.661, allocations: 0 / 0.5864 GB, free: 4.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002349/0.6634, allocations: 0.6483 MB / 0.5871 GB, free: 3.602 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.0009588/0.6644, allocations: 385 kB / 0.5874 GB, free: 3.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.6679, allocations: 1.344 MB / 0.5887 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6679, allocations: 0 / 0.5887 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.6691, allocations: 452.7 kB / 0.5892 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004056/0.6732, allocations: 0.8866 MB / 0.59 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.678, allocations: 2.473 MB / 0.5925 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.679, allocations: 1.199 MB / 0.5936 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001585/0.6806, allocations: 324.4 kB / 0.5939 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.681, allocations: 115.3 kB / 0.594 GB, free: 12.44 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.681, allocations: 0 / 0.594 GB, free: 12.44 MB / 478.1 MB Notification: Performance of Templates: time 0.05872/0.7397, allocations: 32.15 MB / 0.6254 GB, free: 12.52 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)