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.001391/0.001391, allocations: 98.8 kB / 16.29 MB, free: 6.012 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.001655/0.001655, allocations: 183.2 kB / 17.22 MB, free: 5.621 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.339/1.339, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.732/1.732, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.00138/0.00138, allocations: 70.88 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 114.5 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.4748/0.712, allocations: 75.23 MB / 0.8575 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.7345, allocations: 15.05 MB / 0.8722 GB, free: 4.207 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.7384, allocations: 67.19 kB / 0.8723 GB, free: 4.18 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.7418, allocations: 0.8247 MB / 0.8731 GB, free: 3.664 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009288/0.7512, allocations: 2.566 MB / 0.8756 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.7553, allocations: 1.397 MB / 0.877 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006774/0.7621, allocations: 4.363 MB / 0.8812 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.7645, allocations: 1.443 MB / 0.8826 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/0.7697, allocations: 1.632 MB / 0.8842 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.7731, allocations: 1.218 MB / 0.8854 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.7736, allocations: 162.7 kB / 0.8856 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/0.7777, allocations: 1.408 MB / 0.887 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.7782, allocations: 397.9 kB / 0.8873 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.7795, allocations: 0.909 MB / 0.8882 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.7848, allocations: 2.874 MB / 0.891 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.7848, allocations: 0 / 0.891 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7848, allocations: 1.156 kB / 0.891 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.7849, allocations: 0 / 0.891 GB, free: 8.371 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.004006/0.7889, allocations: 2.077 MB / 0.8931 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7889, allocations: 9.5 kB / 0.8931 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008279/0.7898, allocations: 230.9 kB / 0.8933 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.7923, allocations: 1.441 MB / 0.8947 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.7923, allocations: 76.91 kB / 0.8948 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.7925, allocations: 101.8 kB / 0.8949 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.7945, allocations: 1.101 MB / 0.8959 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.7945, allocations: 3.984 kB / 0.8959 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.7946, allocations: 41.89 kB / 0.896 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.7947, allocations: 28.91 kB / 0.896 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.7966, allocations: 0.8889 MB / 0.8969 GB, free: 4.301 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.006377/0.803, allocations: 4.918 MB / 0.9017 GB, free: 60 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.8045, allocations: 0.6124 MB / 0.9023 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.8052, allocations: 362.4 kB / 0.9026 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/0.8059, allocations: 0.8243 MB / 0.9034 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.8059, allocations: 44.06 kB / 0.9035 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.454e-06/0.8059, allocations: 4 kB / 0.9035 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.006868/0.8128, allocations: 1.681 MB / 0.9051 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.8129, allocations: 62.84 kB / 0.9052 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.8149, allocations: 1.221 MB / 0.9064 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.8151, allocations: 40.58 kB / 0.9064 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.8157, allocations: 0.6037 MB / 0.907 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.8159, allocations: 212.5 kB / 0.9072 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.8161, allocations: 159.1 kB / 0.9074 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8163, allocations: 333.9 kB / 0.9077 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.8169, allocations: 288.7 kB / 0.9079 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.8177, allocations: 0.4929 MB / 0.9084 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.8192, allocations: 0.7168 MB / 0.9091 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.8192, allocations: 4 kB / 0.9091 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004446/0.8236, allocations: 1.279 MB / 0.9104 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.8237, allocations: 5.25 kB / 0.9104 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8237, allocations: 4 kB / 0.9104 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.8243, allocations: 141.8 kB / 0.9105 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.8249, allocations: 151.8 kB / 0.9107 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/0.8257, allocations: 0.7136 MB / 0.9114 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.8269, allocations: 127 kB / 0.9115 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.827, allocations: 27.98 kB / 0.9115 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.8281, allocations: 0.5488 MB / 0.9121 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007956/0.8289, allocations: 0.4929 MB / 0.9125 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00134/0.8303, allocations: 0.7012 MB / 0.9132 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.594e-06/0.8303, allocations: 0 / 0.9132 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004506/0.8348, allocations: 1.261 MB / 0.9145 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.8348, allocations: 16 kB / 0.9145 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8348, allocations: 7.938 kB / 0.9145 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.8353, allocations: 132.7 kB / 0.9146 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.8359, allocations: 159.8 kB / 0.9148 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007716/0.8367, allocations: 0.7013 MB / 0.9154 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.8379, allocations: 107.5 kB / 0.9155 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.838, allocations: 35.98 kB / 0.9156 GB, free: 3.246 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.0002645/0.8383, allocations: 221.2 kB / 0.9158 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.8385, allocations: 130.4 kB / 0.9159 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/0.843, allocations: 1.271 MB / 0.9172 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.843, allocations: 15.98 kB / 0.9172 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.843, allocations: 0 / 0.9172 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.8469, allocations: 1.107 MB / 0.9182 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006666/0.8536, allocations: 2.607 MB / 0.9208 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.8536, allocations: 4 kB / 0.9208 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.8542, allocations: 118.5 kB / 0.9209 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/0.8547, allocations: 132.7 kB / 0.921 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.8547, allocations: 23.92 kB / 0.9211 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.8595, allocations: 2.621 MB / 0.9236 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.8595, allocations: 7.938 kB / 0.9236 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/0.8648, allocations: 1.703 MB / 0.9253 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.8655, allocations: 307.1 kB / 0.9256 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.8658, allocations: 16 kB / 0.9256 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/0.8667, allocations: 53.88 kB / 0.9256 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8668, allocations: 68.3 kB / 0.9257 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.8669, allocations: 27.98 kB / 0.9257 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001393/0.8683, allocations: 0.8777 MB / 0.9266 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8683, allocations: 0 / 0.9266 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002182/0.8705, allocations: 0.7213 MB / 0.9273 GB, free: 6.836 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.000997/0.8715, allocations: 450.5 kB / 0.9277 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.8742, allocations: 1.124 MB / 0.9288 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8743, allocations: 0 / 0.9288 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.8757, allocations: 0.5642 MB / 0.9294 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/0.8793, allocations: 0.8226 MB / 0.9302 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.8835, allocations: 2.262 MB / 0.9324 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009707/0.8845, allocations: 1.172 MB / 0.9335 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001282/0.8858, allocations: 304.3 kB / 0.9338 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.8861, allocations: 115.3 kB / 0.9339 GB, free: 12 kB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.8861, allocations: 0 / 0.9339 GB, free: 12 kB / 0.7169 GB Notification: Performance of Templates: time 0.05324/0.9393, allocations: 32.47 MB / 0.9656 GB, free: 4 kB / 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)