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.006746/0.006746, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001431/0.001431, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.488/1.488, allocations: 205.1 MB / 222.6 MB, free: 4.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4228/0.4228, allocations: 54.94 MB / 324.8 MB, free: 232 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.001548/0.001548, allocations: 61.94 kB / 456.2 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1194, allocations: 59.59 MB / 0.5037 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06867/0.1881, allocations: 74.52 MB / 0.5765 GB, free: 212 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.2083, allocations: 14.19 MB / 0.5904 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.2113, allocations: 67.62 kB / 0.5904 GB, free: 1.906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.2149, allocations: 0.8852 MB / 0.5913 GB, free: 1.016 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008153/0.2231, allocations: 2.537 MB / 0.5938 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.2268, allocations: 1.223 MB / 0.595 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006956/0.2338, allocations: 4.371 MB / 0.5992 GB, free: 8.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.236, allocations: 1.402 MB / 0.6006 GB, free: 7.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.24, allocations: 1.702 MB / 0.6023 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.2424, allocations: 1.295 MB / 0.6035 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004945/0.2429, allocations: 168 kB / 0.6037 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.246, allocations: 1.24 MB / 0.6049 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.2467, allocations: 406.6 kB / 0.6053 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.2487, allocations: 0.941 MB / 0.6062 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005396/0.2541, allocations: 2.854 MB / 0.609 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2541, allocations: 0 / 0.609 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2541, allocations: 0 / 0.609 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.2542, allocations: 0 / 0.609 GB, free: 14.82 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.004614/0.2589, allocations: 2.155 MB / 0.6111 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2589, allocations: 12.03 kB / 0.6111 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.26, allocations: 255.7 kB / 0.6113 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.2625, allocations: 1.486 MB / 0.6128 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.2626, allocations: 86.11 kB / 0.6129 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.2627, allocations: 112 kB / 0.613 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.2653, allocations: 1.374 MB / 0.6143 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.2653, allocations: 7.938 kB / 0.6143 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.2654, allocations: 48 kB / 0.6144 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.2655, allocations: 35.98 kB / 0.6144 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.2678, allocations: 1.026 MB / 0.6154 GB, free: 7.977 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.007611/0.2754, allocations: 6.576 MB / 0.6218 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.2772, allocations: 0.6355 MB / 0.6225 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.2779, allocations: 338.6 kB / 0.6228 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.2784, allocations: 341 kB / 0.6231 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2784, allocations: 43.12 kB / 0.6231 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 4.478e-06/0.2784, allocations: 0 / 0.6231 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.00654/0.285, allocations: 2.334 MB / 0.6254 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.2851, allocations: 166.8 kB / 0.6256 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.2872, allocations: 1.267 MB / 0.6268 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.2874, allocations: 41.7 kB / 0.6269 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008765/0.2883, allocations: 0.6696 MB / 0.6275 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.2886, allocations: 253.9 kB / 0.6278 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.2889, allocations: 178.6 kB / 0.6279 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2891, allocations: 341.9 kB / 0.6283 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.2899, allocations: 332.6 kB / 0.6286 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2911, allocations: 0.6602 MB / 0.6292 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.2928, allocations: 0.9371 MB / 0.6301 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2929, allocations: 4 kB / 0.6301 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0027/0.2956, allocations: 1.072 MB / 0.6312 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2956, allocations: 8.844 kB / 0.6312 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2956, allocations: 8 kB / 0.6312 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.2957, allocations: 19.94 kB / 0.6312 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/0.2966, allocations: 231.6 kB / 0.6314 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.2966, allocations: 19.92 kB / 0.6315 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.2978, allocations: 79.92 kB / 0.6315 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.2979, allocations: 39.98 kB / 0.6316 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001298/0.2992, allocations: 0.58 MB / 0.6321 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009913/0.3002, allocations: 0.634 MB / 0.6328 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/0.3018, allocations: 0.8828 MB / 0.6336 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/0.3018, allocations: 0 / 0.6336 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002203/0.304, allocations: 1.033 MB / 0.6346 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3041, allocations: 8 kB / 0.6346 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3041, allocations: 8 kB / 0.6346 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3041, allocations: 12 kB / 0.6347 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/0.3049, allocations: 220.4 kB / 0.6349 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.3049, allocations: 23.86 kB / 0.6349 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.306, allocations: 87.98 kB / 0.635 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.3061, allocations: 43.98 kB / 0.635 GB, free: 2.762 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.0003148/0.3064, allocations: 244 kB / 0.6352 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.3067, allocations: 143.1 kB / 0.6354 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.309, allocations: 0.9377 MB / 0.6363 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.309, allocations: 8 kB / 0.6363 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3091, allocations: 3.938 kB / 0.6363 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001732/0.3108, allocations: 0.8295 MB / 0.6371 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3106/0.6214, allocations: 2.478 MB / 0.6395 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6215, allocations: 5.469 kB / 0.6395 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.6222, allocations: 161.5 kB / 0.6397 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/0.6225, allocations: 76 kB / 0.6398 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.6225, allocations: 24.31 kB / 0.6398 GB, free: 127 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006878/0.6232, allocations: 1.163 MB / 0.6409 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.6232, allocations: 5.625 kB / 0.6409 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.627, allocations: 1.508 MB / 0.6424 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/0.6278, allocations: 314.8 kB / 0.6427 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.628, allocations: 26.98 kB / 0.6427 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.6289, allocations: 65.92 kB / 0.6428 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.629, allocations: 63.14 kB / 0.6429 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.6291, allocations: 36.67 kB / 0.6429 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001665/0.6308, allocations: 0.8923 MB / 0.6438 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6308, allocations: 0 / 0.6438 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002451/0.6333, allocations: 0.6424 MB / 0.6444 GB, free: 124.8 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.00102/0.6343, allocations: 385.3 kB / 0.6448 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.6377, allocations: 1.287 MB / 0.646 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6378, allocations: 1.656 kB / 0.646 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.6393, allocations: 429.1 kB / 0.6464 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.00422/0.6435, allocations: 0.8726 MB / 0.6473 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.6484, allocations: 2.471 MB / 0.6497 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008735/0.6493, allocations: 1.195 MB / 0.6509 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001473/0.6507, allocations: 331.4 kB / 0.6512 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.6511, allocations: 116.8 kB / 0.6513 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.6511, allocations: 1.531 kB / 0.6513 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04595/0.697, allocations: 31.4 MB / 0.682 GB, free: 94.2 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)