Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007569/0.007569, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001467/0.001468, allocations: 188.9 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.602/1.602, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.424/0.424, allocations: 54.94 MB / 324.8 MB, free: 60 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.00145/0.00145, allocations: 69.55 kB / 456.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 59.59 MB / 0.5037 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05559/0.1724, allocations: 60.5 MB / 0.5628 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.1876, allocations: 11.23 MB / 0.5738 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.1893, allocations: 55.69 kB / 0.5738 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.1911, allocations: 0.7259 MB / 0.5746 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.1958, allocations: 1.928 MB / 0.5764 GB, free: 328 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.1983, allocations: 1.022 MB / 0.5774 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003738/0.2021, allocations: 3.018 MB / 0.5804 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.2036, allocations: 1.091 MB / 0.5814 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.2067, allocations: 1.432 MB / 0.5828 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.2082, allocations: 0.9763 MB / 0.5838 GB, free: 8.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.2084, allocations: 116 kB / 0.5839 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.211, allocations: 1.209 MB / 0.5851 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.2113, allocations: 302.9 kB / 0.5854 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000727/0.212, allocations: 0.7348 MB / 0.5861 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.2152, allocations: 2.236 MB / 0.5883 GB, free: 4.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.2152, allocations: 0 / 0.5883 GB, free: 4.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2152, allocations: 0 / 0.5883 GB, free: 4.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.2153, allocations: 0 / 0.5883 GB, free: 4.129 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003216/0.2185, allocations: 1.742 MB / 0.59 GB, free: 2.324 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2185, allocations: 15.97 kB / 0.59 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.221, allocations: 458.8 kB / 0.5904 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.2235, allocations: 1.15 MB / 0.5916 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.2236, allocations: 70 kB / 0.5916 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.2237, allocations: 88 kB / 0.5917 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.2263, allocations: 1.236 MB / 0.5929 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2264, allocations: 3.938 kB / 0.5929 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2265, allocations: 40 kB / 0.593 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.2265, allocations: 31.98 kB / 0.593 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.2293, allocations: 0.9833 MB / 0.5939 GB, free: 14.12 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.007044/0.2364, allocations: 6.237 MB / 0.6 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.2387, allocations: 0.6752 MB / 0.6007 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.2394, allocations: 261.3 kB / 0.6009 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.2398, allocations: 425.8 kB / 0.6014 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2399, allocations: 38.89 kB / 0.6014 GB, free: 5.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 3.456e-06/0.2399, allocations: 0 / 0.6014 GB, free: 5.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.008164/0.248, allocations: 1.72 MB / 0.6031 GB, free: 4.238 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.2481, allocations: 162.2 kB / 0.6032 GB, free: 4.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.2499, allocations: 1.165 MB / 0.6044 GB, free: 2.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.2499, allocations: 33.7 kB / 0.6044 GB, free: 2.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.2504, allocations: 0.6085 MB / 0.605 GB, free: 2.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.2506, allocations: 141.9 kB / 0.6051 GB, free: 2.074 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.2508, allocations: 154.5 kB / 0.6053 GB, free: 1.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.251, allocations: 337.9 kB / 0.6056 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.252, allocations: 348.6 kB / 0.6059 GB, free: 1.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.2532, allocations: 0.662 MB / 0.6066 GB, free: 428 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.2552, allocations: 0.848 MB / 0.6074 GB, free: 15.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2552, allocations: 0 / 0.6074 GB, free: 15.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003048/0.2583, allocations: 1.12 MB / 0.6085 GB, free: 14.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.2583, allocations: 14.25 kB / 0.6085 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2583, allocations: 8 kB / 0.6085 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.2594, allocations: 252.6 kB / 0.6088 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.2601, allocations: 179.8 kB / 0.6089 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.2615, allocations: 0.8448 MB / 0.6098 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.2628, allocations: 186.9 kB / 0.6099 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.2629, allocations: 35.98 kB / 0.61 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/0.2642, allocations: 0.5292 MB / 0.6105 GB, free: 12.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.2654, allocations: 0.6386 MB / 0.6111 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001737/0.2671, allocations: 0.7896 MB / 0.6119 GB, free: 10.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.294e-06/0.2671, allocations: 4 kB / 0.6119 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002808/0.27, allocations: 1.077 MB / 0.6129 GB, free: 9.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.27, allocations: 8 kB / 0.6129 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.27, allocations: 11.94 kB / 0.6129 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008875/0.2709, allocations: 260.6 kB / 0.6132 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.2716, allocations: 171.7 kB / 0.6134 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.2729, allocations: 0.8412 MB / 0.6142 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.2742, allocations: 143.7 kB / 0.6143 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.2743, allocations: 35.98 kB / 0.6144 GB, free: 8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (77): * Single equations (assignments): 76 * 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.0002562/0.2745, allocations: 235.9 kB / 0.6146 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.2747, allocations: 122.5 kB / 0.6147 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.2785, allocations: 0.9616 MB / 0.6156 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2786, allocations: 4 kB / 0.6156 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.2786, allocations: 4 kB / 0.6156 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2786, allocations: 11.92 kB / 0.6157 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/0.2838, allocations: 2.014 MB / 0.6176 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2838, allocations: 4 kB / 0.6176 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.2842, allocations: 71.88 kB / 0.6177 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/0.2851, allocations: 257 kB / 0.6179 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.2851, allocations: 20.05 kB / 0.618 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.2864, allocations: 0.8332 MB / 0.6188 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2865, allocations: 4 kB / 0.6188 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.2903, allocations: 1.114 MB / 0.6199 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.2908, allocations: 259.5 kB / 0.6201 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.2911, allocations: 8 kB / 0.6201 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.2921, allocations: 91.83 kB / 0.6202 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.2922, allocations: 35.88 kB / 0.6202 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.2923, allocations: 23.98 kB / 0.6203 GB, free: 1.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.2936, allocations: 0.7997 MB / 0.621 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2936, allocations: 0 / 0.621 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00159/0.2952, allocations: 0.5693 MB / 0.6216 GB, free: 376 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006246/0.2958, allocations: 273 kB / 0.6219 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.2993, allocations: 1.203 MB / 0.623 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2994, allocations: 0 / 0.623 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009055/0.3003, allocations: 320.5 kB / 0.6233 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.3029, allocations: 0.5719 MB / 0.6239 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.3081, allocations: 2.01 MB / 0.6259 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.3087, allocations: 1.062 MB / 0.6269 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001061/0.3098, allocations: 245.5 kB / 0.6271 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.3101, allocations: 91.34 kB / 0.6272 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.3101, allocations: 4 kB / 0.6272 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.3226/0.6327, allocations: 24.7 MB / 0.6513 GB, free: 121.1 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)