Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007472/0.007472, allocations: 100.9 kB / 15.73 MB, free: 6.066 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.001205/0.001206, allocations: 191 kB / 16.67 MB, free: 5.973 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3999/0.3999, allocations: 54.94 MB / 324.8 MB, free: 15.95 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.001538/0.001538, allocations: 70.34 kB / 456.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1423, allocations: 59.58 MB / 0.5037 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06164/0.204, allocations: 60.49 MB / 0.5628 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.221, allocations: 11.24 MB / 0.5737 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.2236, allocations: 51.69 kB / 0.5738 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2259, allocations: 0.7298 MB / 0.5745 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.2337, allocations: 1.931 MB / 0.5764 GB, free: 312 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.2366, allocations: 1.027 MB / 0.5774 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.241, allocations: 3.034 MB / 0.5804 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.2426, allocations: 1.115 MB / 0.5815 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.246, allocations: 1.436 MB / 0.5829 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.2475, allocations: 0.9763 MB / 0.5838 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.2477, allocations: 120 kB / 0.5839 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.2501, allocations: 1.201 MB / 0.5851 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.2504, allocations: 298.9 kB / 0.5854 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008063/0.2512, allocations: 0.7309 MB / 0.5861 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.2546, allocations: 2.246 MB / 0.5883 GB, free: 4.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2546, allocations: 4 kB / 0.5883 GB, free: 4.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2546, allocations: 0 / 0.5883 GB, free: 4.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.2546, allocations: 0 / 0.5883 GB, free: 4.066 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003/0.2576, allocations: 1.798 MB / 0.59 GB, free: 2.207 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2577, allocations: 8.031 kB / 0.5901 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.2605, allocations: 0.5034 MB / 0.5905 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.2628, allocations: 1.16 MB / 0.5917 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.2629, allocations: 66 kB / 0.5917 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.263, allocations: 88 kB / 0.5918 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.2657, allocations: 1.247 MB / 0.593 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.2657, allocations: 7.984 kB / 0.5931 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.2658, allocations: 40 kB / 0.5931 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.2659, allocations: 31.94 kB / 0.5931 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.2687, allocations: 1.046 MB / 0.5941 GB, free: 13.88 MB / 478.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.00704/0.2758, allocations: 6.105 MB / 0.6001 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.2786, allocations: 0.8654 MB / 0.6009 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009771/0.2796, allocations: 352.5 kB / 0.6013 GB, free: 6.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.28, allocations: 426.3 kB / 0.6017 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.2801, allocations: 42.55 kB / 0.6017 GB, free: 5.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/0.2801, allocations: 0 / 0.6017 GB, free: 5.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.009541/0.2897, allocations: 2.102 MB / 0.6038 GB, free: 3.445 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.2898, allocations: 162.2 kB / 0.6039 GB, free: 3.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.2914, allocations: 1.04 MB / 0.605 GB, free: 2.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.113e-05/0.2914, allocations: 33.7 kB / 0.605 GB, free: 2.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.2919, allocations: 0.5939 MB / 0.6056 GB, free: 1.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.2921, allocations: 170.5 kB / 0.6057 GB, free: 1.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.2923, allocations: 138.3 kB / 0.6059 GB, free: 1.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2925, allocations: 337.9 kB / 0.6062 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.2935, allocations: 371.2 kB / 0.6065 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.2949, allocations: 0.6462 MB / 0.6072 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2971, allocations: 0.872 MB / 0.608 GB, free: 14.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2971, allocations: 4 kB / 0.608 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005308/0.3024, allocations: 1.455 MB / 0.6094 GB, free: 13.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3025, allocations: 8 kB / 0.6095 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3025, allocations: 7.938 kB / 0.6095 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009204/0.3034, allocations: 249.3 kB / 0.6097 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.3042, allocations: 175.7 kB / 0.6099 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.3055, allocations: 0.8372 MB / 0.6107 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3068, allocations: 159.3 kB / 0.6108 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.3069, allocations: 35.98 kB / 0.6109 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001401/0.3083, allocations: 0.548 MB / 0.6114 GB, free: 11.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/0.3095, allocations: 0.6113 MB / 0.612 GB, free: 10.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001973/0.3115, allocations: 0.8332 MB / 0.6128 GB, free: 9.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.3115, allocations: 0 / 0.6128 GB, free: 9.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.004979/0.3165, allocations: 1.388 MB / 0.6142 GB, free: 8.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3165, allocations: 11.94 kB / 0.6142 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3166, allocations: 7.984 kB / 0.6142 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/0.3175, allocations: 257.3 kB / 0.6144 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.3182, allocations: 159.7 kB / 0.6146 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3194, allocations: 0.8372 MB / 0.6154 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.3206, allocations: 119.9 kB / 0.6155 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.3207, allocations: 35.98 kB / 0.6156 GB, free: 6.812 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (71): * Single equations (assignments): 70 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002967/0.321, allocations: 228 kB / 0.6158 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.3212, allocations: 115.2 kB / 0.6159 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.3253, allocations: 1.143 MB / 0.617 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3253, allocations: 4 kB / 0.617 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3254, allocations: 3.938 kB / 0.617 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3254, allocations: 3.984 kB / 0.617 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.3315, allocations: 2.288 MB / 0.6192 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3316, allocations: 0 / 0.6192 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.3322, allocations: 108.1 kB / 0.6193 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008146/0.333, allocations: 240.6 kB / 0.6196 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.333, allocations: 15.98 kB / 0.6196 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.3349, allocations: 0.8997 MB / 0.6205 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3349, allocations: 0 / 0.6205 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.339, allocations: 1.209 MB / 0.6217 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/0.3396, allocations: 272.2 kB / 0.6219 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.3398, allocations: 12 kB / 0.6219 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008985/0.3407, allocations: 91.88 kB / 0.622 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.3408, allocations: 32.11 kB / 0.622 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.3408, allocations: 19.98 kB / 0.6221 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009978/0.3418, allocations: 0.728 MB / 0.6228 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3418, allocations: 3.938 kB / 0.6228 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001549/0.3434, allocations: 0.5576 MB / 0.6233 GB, free: 14.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (31): * Single equations (assignments): 30 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007402/0.3442, allocations: 275 kB / 0.6236 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.3481, allocations: 1.324 MB / 0.6249 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3481, allocations: 0 / 0.6249 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.3497, allocations: 460.2 kB / 0.6253 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.3522, allocations: 0.5284 MB / 0.6258 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.3569, allocations: 1.892 MB / 0.6277 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.3576, allocations: 1.069 MB / 0.6287 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001128/0.3587, allocations: 240.3 kB / 0.6289 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.359, allocations: 79.41 kB / 0.629 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/0.359, allocations: 0 / 0.629 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of Templates: time 0.3082/0.6672, allocations: 23.75 MB / 0.6522 GB, free: 121.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)