Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00777/0.00777, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001277/0.001277, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.431/1.431, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4105/0.4105, allocations: 54.94 MB / 324.9 MB, free: 15.93 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.001646/0.001646, allocations: 68.55 kB / 456.2 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1174, allocations: 59.59 MB / 0.5037 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.07773/0.1952, allocations: 74.49 MB / 0.5764 GB, free: 288 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.2208, allocations: 14.21 MB / 0.5903 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.225, allocations: 59.69 kB / 0.5904 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003998/0.2291, allocations: 0.8891 MB / 0.5912 GB, free: 1.078 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008798/0.2379, allocations: 2.532 MB / 0.5937 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.2422, allocations: 1.232 MB / 0.5949 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007058/0.2493, allocations: 4.359 MB / 0.5992 GB, free: 8.938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.2521, allocations: 1.417 MB / 0.6006 GB, free: 7.488 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.257, allocations: 1.729 MB / 0.6023 GB, free: 5.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.2595, allocations: 1.292 MB / 0.6035 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.2599, allocations: 168 kB / 0.6037 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.2631, allocations: 1.232 MB / 0.6049 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004852/0.2636, allocations: 414.5 kB / 0.6053 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.2649, allocations: 0.9372 MB / 0.6062 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.2692, allocations: 2.839 MB / 0.609 GB, free: 14.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2692, allocations: 4 kB / 0.609 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.2692, allocations: 0 / 0.609 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.2693, allocations: 3.938 kB / 0.609 GB, free: 14.86 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.003786/0.2731, allocations: 2.102 MB / 0.611 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2731, allocations: 15.95 kB / 0.611 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.2742, allocations: 246.8 kB / 0.6113 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.2765, allocations: 1.477 MB / 0.6127 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.2766, allocations: 86.09 kB / 0.6128 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2768, allocations: 112 kB / 0.6129 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.2793, allocations: 1.374 MB / 0.6142 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.2794, allocations: 3.938 kB / 0.6142 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2795, allocations: 44 kB / 0.6143 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.2796, allocations: 39.94 kB / 0.6143 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.2819, allocations: 1.034 MB / 0.6153 GB, free: 8.082 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.006464/0.2884, allocations: 6.571 MB / 0.6218 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.2902, allocations: 0.6238 MB / 0.6224 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.2909, allocations: 330.8 kB / 0.6227 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.2912, allocations: 349 kB / 0.623 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2913, allocations: 43.12 kB / 0.6231 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.916e-06/0.2913, allocations: 0 / 0.6231 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.006103/0.2974, allocations: 2.304 MB / 0.6253 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.2975, allocations: 166.7 kB / 0.6255 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.2991, allocations: 1.275 MB / 0.6267 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/0.2992, allocations: 41.7 kB / 0.6267 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/0.2997, allocations: 0.6567 MB / 0.6274 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.3, allocations: 240.5 kB / 0.6276 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.3002, allocations: 182.5 kB / 0.6278 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3004, allocations: 341.9 kB / 0.6281 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.3012, allocations: 332.6 kB / 0.6284 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3022, allocations: 0.6598 MB / 0.6291 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.3039, allocations: 0.9255 MB / 0.63 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3039, allocations: 4 kB / 0.63 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002472/0.3064, allocations: 1.068 MB / 0.631 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3064, allocations: 11.94 kB / 0.631 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3064, allocations: 12.06 kB / 0.6311 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.3065, allocations: 15.94 kB / 0.6311 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.3074, allocations: 227.8 kB / 0.6313 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.3075, allocations: 19.92 kB / 0.6313 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3087, allocations: 83.92 kB / 0.6314 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.3087, allocations: 39.98 kB / 0.6314 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/0.3099, allocations: 0.5838 MB / 0.632 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.311, allocations: 0.6379 MB / 0.6326 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001692/0.3127, allocations: 0.8828 MB / 0.6335 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.3127, allocations: 0 / 0.6335 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002691/0.3154, allocations: 1.032 MB / 0.6345 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.3155, allocations: 8 kB / 0.6345 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3155, allocations: 11.98 kB / 0.6345 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3155, allocations: 12.81 kB / 0.6345 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/0.3164, allocations: 219.6 kB / 0.6347 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.3165, allocations: 23.86 kB / 0.6347 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3177, allocations: 76.16 kB / 0.6348 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.3177, allocations: 47.98 kB / 0.6349 GB, free: 2.926 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.0003192/0.3181, allocations: 236 kB / 0.6351 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.3183, allocations: 138.3 kB / 0.6352 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.3206, allocations: 0.9376 MB / 0.6361 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3206, allocations: 11.98 kB / 0.6362 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3206, allocations: 0 / 0.6362 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/0.3223, allocations: 0.8295 MB / 0.637 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.273/0.5953, allocations: 2.482 MB / 0.6394 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.5954, allocations: 7.359 kB / 0.6394 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008301/0.5962, allocations: 157 kB / 0.6395 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.5965, allocations: 81.59 kB / 0.6396 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.5966, allocations: 24.91 kB / 0.6396 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006827/0.5973, allocations: 1.156 MB / 0.6408 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/0.5974, allocations: 14.67 kB / 0.6408 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.6005, allocations: 1.501 MB / 0.6423 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.6014, allocations: 309.3 kB / 0.6425 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/0.6018, allocations: 20.31 kB / 0.6426 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.603, allocations: 65.78 kB / 0.6426 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.6032, allocations: 65.94 kB / 0.6427 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/0.6033, allocations: 33.48 kB / 0.6427 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001968/0.6052, allocations: 0.8976 MB / 0.6436 GB, free: 125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6052, allocations: 2.625 kB / 0.6436 GB, free: 125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002912/0.6082, allocations: 0.6407 MB / 0.6442 GB, free: 125 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.0009253/0.6091, allocations: 374.8 kB / 0.6446 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003388/0.6125, allocations: 1.286 MB / 0.6458 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.6125, allocations: 1.625 kB / 0.6458 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.6138, allocations: 425.2 kB / 0.6462 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/0.6187, allocations: 0.8763 MB / 0.6471 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.6232, allocations: 2.436 MB / 0.6495 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/0.6241, allocations: 1.195 MB / 0.6506 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001549/0.6256, allocations: 332.2 kB / 0.651 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.626, allocations: 121.2 kB / 0.6511 GB, free: 122 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.626, allocations: 0 / 0.6511 GB, free: 122 MB / 0.4981 GB Notification: Performance of Templates: time 0.04393/0.6699, allocations: 31.91 MB / 0.6822 GB, free: 93.96 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)