Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001134/0.001134, allocations: 100.8 kB / 16.27 MB, free: 5.969 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.00124/0.00124, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.413/1.413, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 74.88 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2684, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.4943/0.7628, allocations: 75.22 MB / 0.8575 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.785, allocations: 15.06 MB / 0.8722 GB, free: 4.25 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.7888, allocations: 64.47 kB / 0.8722 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.792, allocations: 0.8279 MB / 0.8731 GB, free: 3.707 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008809/0.8009, allocations: 2.562 MB / 0.8756 GB, free: 2.172 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.8053, allocations: 1.393 MB / 0.8769 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007187/0.8125, allocations: 4.349 MB / 0.8812 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.8151, allocations: 1.436 MB / 0.8826 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.8197, allocations: 1.637 MB / 0.8842 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.8224, allocations: 1.205 MB / 0.8853 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.8229, allocations: 163.6 kB / 0.8855 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.8271, allocations: 1.404 MB / 0.8869 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/0.8277, allocations: 397.7 kB / 0.8873 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.8294, allocations: 0.909 MB / 0.8881 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/0.8351, allocations: 2.842 MB / 0.8909 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8352, allocations: 0 / 0.8909 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8352, allocations: 4 kB / 0.8909 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.03e-05/0.8352, allocations: 0 / 0.8909 GB, free: 8.488 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005089/0.8403, allocations: 2.086 MB / 0.893 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8404, allocations: 9.75 kB / 0.893 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.8415, allocations: 225.9 kB / 0.8932 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.8443, allocations: 1.451 MB / 0.8946 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.8443, allocations: 76.41 kB / 0.8947 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.8445, allocations: 101 kB / 0.8948 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.8466, allocations: 1.093 MB / 0.8958 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.8466, allocations: 3.125 kB / 0.8958 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.085e-05/0.8467, allocations: 45.38 kB / 0.8959 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.8468, allocations: 27.86 kB / 0.8959 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.8487, allocations: 0.8939 MB / 0.8968 GB, free: 4.414 MB / 0.6856 GB 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.007298/0.8561, allocations: 4.956 MB / 0.9016 GB, free: 164 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.8576, allocations: 0.6112 MB / 0.9022 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.8584, allocations: 350.5 kB / 0.9026 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/0.8591, allocations: 0.8342 MB / 0.9034 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.8592, allocations: 39.09 kB / 0.9034 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.8592, allocations: 4 kB / 0.9034 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007623/0.8668, allocations: 1.686 MB / 0.9051 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8669, allocations: 59.47 kB / 0.9051 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.8687, allocations: 1.221 MB / 0.9063 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.8689, allocations: 43.2 kB / 0.9063 GB, free: 13 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/0.8694, allocations: 0.6074 MB / 0.9069 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.8696, allocations: 216.9 kB / 0.9071 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.8699, allocations: 158.6 kB / 0.9073 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.87, allocations: 333.9 kB / 0.9076 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.8707, allocations: 288.7 kB / 0.9079 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.8715, allocations: 0.489 MB / 0.9084 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.8729, allocations: 0.7129 MB / 0.9091 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.873, allocations: 5.125 kB / 0.9091 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004923/0.8779, allocations: 1.273 MB / 0.9103 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.878, allocations: 4 kB / 0.9103 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.878, allocations: 4 kB / 0.9103 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.8786, allocations: 140.8 kB / 0.9105 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.8793, allocations: 155.8 kB / 0.9106 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009588/0.8803, allocations: 0.7094 MB / 0.9113 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.882, allocations: 127 kB / 0.9114 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.8821, allocations: 35.98 kB / 0.9114 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.8834, allocations: 0.5526 MB / 0.912 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008257/0.8842, allocations: 498.3 kB / 0.9125 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00134/0.8856, allocations: 0.7011 MB / 0.9131 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.8856, allocations: 3.938 kB / 0.9132 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004757/0.8904, allocations: 1.269 MB / 0.9144 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8904, allocations: 8 kB / 0.9144 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8904, allocations: 3.938 kB / 0.9144 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004956/0.8909, allocations: 144.8 kB / 0.9145 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.8915, allocations: 155.8 kB / 0.9147 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008126/0.8923, allocations: 0.7017 MB / 0.9154 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.8938, allocations: 111.5 kB / 0.9155 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.8939, allocations: 31.98 kB / 0.9155 GB, free: 3.262 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.8942, allocations: 228.1 kB / 0.9157 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.8945, allocations: 135.8 kB / 0.9159 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.8991, allocations: 1.269 MB / 0.9171 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.8991, allocations: 11.98 kB / 0.9171 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8991, allocations: 0 / 0.9171 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004067/0.9032, allocations: 1.099 MB / 0.9182 GB, free: 488 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007014/0.9103, allocations: 2.618 MB / 0.9207 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.9103, allocations: 4 kB / 0.9207 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.9108, allocations: 115.8 kB / 0.9209 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.9113, allocations: 129.1 kB / 0.921 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.9114, allocations: 23.98 kB / 0.921 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.9164, allocations: 2.622 MB / 0.9236 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.9165, allocations: 15.98 kB / 0.9236 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/0.9221, allocations: 1.691 MB / 0.9252 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008785/0.923, allocations: 311.2 kB / 0.9255 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.9233, allocations: 16 kB / 0.9255 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/0.9241, allocations: 51.94 kB / 0.9256 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.9243, allocations: 68.3 kB / 0.9257 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.9243, allocations: 27.98 kB / 0.9257 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001242/0.9256, allocations: 0.8817 MB / 0.9265 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9256, allocations: 3.938 kB / 0.9265 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002107/0.9277, allocations: 0.7174 MB / 0.9272 GB, free: 6.844 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.9288, allocations: 462.7 kB / 0.9277 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.9317, allocations: 1.155 MB / 0.9288 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.9317, allocations: 192 / 0.9288 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.9332, allocations: 0.5641 MB / 0.9294 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/0.9374, allocations: 0.8292 MB / 0.9302 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.9415, allocations: 2.325 MB / 0.9324 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.9422, allocations: 1.168 MB / 0.9336 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.9426, allocations: 107.4 kB / 0.9337 GB, free: 228 kB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.9426, allocations: 0 / 0.9337 GB, free: 228 kB / 0.7169 GB Notification: Performance of Templates: time 0.04162/0.9842, allocations: 31.23 MB / 0.9642 GB, free: 1.23 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)