Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008045/0.008045, allocations: 103.5 kB / 15.73 MB, free: 6.469 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.001774/0.001774, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.564/1.564, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3968/0.3968, allocations: 54.94 MB / 324.8 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.001429/0.001429, allocations: 66.61 kB / 456.2 MB, free: 38.7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.101, allocations: 59.6 MB / 0.5037 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06829/0.1693, allocations: 74.5 MB / 0.5765 GB, free: 404 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0216/0.191, allocations: 14.2 MB / 0.5904 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.1936, allocations: 59.69 kB / 0.5904 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.196, allocations: 0.8929 MB / 0.5913 GB, free: 1.195 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006997/0.2031, allocations: 2.526 MB / 0.5937 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.2062, allocations: 1.238 MB / 0.595 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00599/0.2122, allocations: 4.367 MB / 0.5992 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.2144, allocations: 1.406 MB / 0.6006 GB, free: 7.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.2188, allocations: 1.702 MB / 0.6023 GB, free: 5.906 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.2213, allocations: 1.291 MB / 0.6035 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003396/0.2216, allocations: 168 kB / 0.6037 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.2244, allocations: 1.236 MB / 0.6049 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000495/0.225, allocations: 410.6 kB / 0.6053 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.2264, allocations: 0.9449 MB / 0.6062 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.2301, allocations: 2.832 MB / 0.609 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2301, allocations: 0 / 0.609 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2301, allocations: 0 / 0.609 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.2302, allocations: 0 / 0.609 GB, free: 15.02 MB / 494.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.004197/0.2344, allocations: 2.106 MB / 0.611 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2344, allocations: 8.031 kB / 0.611 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.2355, allocations: 246.8 kB / 0.6113 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.238, allocations: 1.485 MB / 0.6127 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.2381, allocations: 78.11 kB / 0.6128 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.2383, allocations: 108 kB / 0.6129 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.2411, allocations: 1.37 MB / 0.6142 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.2411, allocations: 7.938 kB / 0.6142 GB, free: 9.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.2413, allocations: 44 kB / 0.6143 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/0.2413, allocations: 43.98 kB / 0.6143 GB, free: 9.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.2439, allocations: 1.022 MB / 0.6153 GB, free: 8.254 MB / 494.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.007322/0.2512, allocations: 6.571 MB / 0.6217 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.253, allocations: 0.6315 MB / 0.6224 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.2538, allocations: 335.4 kB / 0.6227 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.2541, allocations: 345 kB / 0.623 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2541, allocations: 43.12 kB / 0.623 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.547e-06/0.2541, allocations: 0 / 0.623 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.006468/0.2606, allocations: 2.311 MB / 0.6253 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.2607, allocations: 166.8 kB / 0.6255 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.2625, allocations: 1.263 MB / 0.6267 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.2626, allocations: 49.64 kB / 0.6267 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.2632, allocations: 0.6528 MB / 0.6274 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.2634, allocations: 248.5 kB / 0.6276 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.2637, allocations: 182.5 kB / 0.6278 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2638, allocations: 337.9 kB / 0.6281 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008114/0.2646, allocations: 332.6 kB / 0.6284 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.2657, allocations: 0.6652 MB / 0.6291 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.2676, allocations: 0.9177 MB / 0.63 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2676, allocations: 8 kB / 0.63 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002412/0.27, allocations: 1.067 MB / 0.631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.27, allocations: 12 kB / 0.631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2701, allocations: 4 kB / 0.631 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.2701, allocations: 19.94 kB / 0.6311 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.2711, allocations: 232.2 kB / 0.6313 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.2711, allocations: 19.92 kB / 0.6313 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2723, allocations: 76.05 kB / 0.6314 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.2724, allocations: 43.98 kB / 0.6314 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/0.2735, allocations: 0.5839 MB / 0.632 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009913/0.2745, allocations: 0.6301 MB / 0.6326 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001614/0.2761, allocations: 0.8828 MB / 0.6335 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.2761, allocations: 0 / 0.6335 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002083/0.2782, allocations: 1.028 MB / 0.6345 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2783, allocations: 8 kB / 0.6345 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2783, allocations: 8 kB / 0.6345 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2783, allocations: 12 kB / 0.6345 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.2791, allocations: 215.7 kB / 0.6347 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.2792, allocations: 23.86 kB / 0.6347 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.2803, allocations: 80.41 kB / 0.6348 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.2804, allocations: 43.98 kB / 0.6348 GB, free: 3.105 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.2807, allocations: 239.9 kB / 0.6351 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.281, allocations: 142.3 kB / 0.6352 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.2834, allocations: 0.9453 MB / 0.6361 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.2834, allocations: 8 kB / 0.6361 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2834, allocations: 0 / 0.6361 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/0.2852, allocations: 0.8373 MB / 0.6369 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2995/0.5847, allocations: 2.474 MB / 0.6394 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5847, allocations: 7.094 kB / 0.6394 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/0.5855, allocations: 156.5 kB / 0.6395 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.5857, allocations: 83.61 kB / 0.6396 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.5858, allocations: 23.75 kB / 0.6396 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005807/0.5864, allocations: 1.164 MB / 0.6408 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5864, allocations: 5.281 kB / 0.6408 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.5894, allocations: 1.504 MB / 0.6422 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/0.59, allocations: 306.8 kB / 0.6425 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.5902, allocations: 23.14 kB / 0.6425 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.5912, allocations: 65.62 kB / 0.6426 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5913, allocations: 61.97 kB / 0.6427 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.5914, allocations: 37.38 kB / 0.6427 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001276/0.5927, allocations: 0.8959 MB / 0.6436 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5927, allocations: 0 / 0.6436 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001855/0.5945, allocations: 0.6422 MB / 0.6442 GB, free: 124.9 MB / 0.4981 GB 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007055/0.5952, allocations: 376.3 kB / 0.6446 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003008/0.5983, allocations: 1.282 MB / 0.6458 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5983, allocations: 3.969 kB / 0.6458 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.5994, allocations: 425.1 kB / 0.6462 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.6034, allocations: 0.8787 MB / 0.6471 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.6069, allocations: 2.437 MB / 0.6495 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.6075, allocations: 1.191 MB / 0.6506 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001244/0.6088, allocations: 328.2 kB / 0.6509 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.609, allocations: 120.5 kB / 0.6511 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.6091, allocations: 0 / 0.6511 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04158/0.6506, allocations: 31.16 MB / 0.6815 GB, free: 94.93 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)