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.00105/0.00105, allocations: 103.1 kB / 16.36 MB, free: 6.301 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.001015/0.001015, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.742/1.742, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001662/0.001662, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2379, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.5039/0.7419, allocations: 75.23 MB / 0.8582 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.7665, allocations: 15.04 MB / 0.8729 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/0.7708, allocations: 63.72 kB / 0.873 GB, free: 4.012 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.7743, allocations: 0.8245 MB / 0.8738 GB, free: 3.496 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00984/0.7841, allocations: 2.558 MB / 0.8763 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004526/0.7887, allocations: 1.407 MB / 0.8777 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00759/0.7963, allocations: 4.363 MB / 0.8819 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.799, allocations: 1.435 MB / 0.8833 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.8039, allocations: 1.648 MB / 0.8849 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.8069, allocations: 1.213 MB / 0.8861 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004773/0.8073, allocations: 167.2 kB / 0.8863 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.8118, allocations: 1.404 MB / 0.8877 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.8124, allocations: 394.4 kB / 0.888 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.8143, allocations: 0.9049 MB / 0.8889 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006053/0.8203, allocations: 2.877 MB / 0.8917 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8204, allocations: 0 / 0.8917 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8204, allocations: 0 / 0.8917 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.423e-05/0.8204, allocations: 1.5 kB / 0.8917 GB, free: 8.121 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.004881/0.8253, allocations: 2.077 MB / 0.8938 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.8254, allocations: 14.38 kB / 0.8938 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/0.8264, allocations: 226.9 kB / 0.894 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.8295, allocations: 1.505 MB / 0.8955 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.8296, allocations: 84.33 kB / 0.8955 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.8298, allocations: 102.2 kB / 0.8956 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.832, allocations: 1.1 MB / 0.8967 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.832, allocations: 5.719 kB / 0.8967 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.8321, allocations: 40.5 kB / 0.8968 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.8322, allocations: 25.25 kB / 0.8968 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.8341, allocations: 0.8968 MB / 0.8977 GB, free: 4.008 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.007122/0.8413, allocations: 4.916 MB / 0.9025 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.8428, allocations: 0.621 MB / 0.9031 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.8435, allocations: 345.9 kB / 0.9034 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.8442, allocations: 0.8276 MB / 0.9042 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.8443, allocations: 42.88 kB / 0.9042 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.274e-06/0.8443, allocations: 0 / 0.9042 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007398/0.8517, allocations: 1.689 MB / 0.9059 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.8518, allocations: 58.72 kB / 0.9059 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.8537, allocations: 1.224 MB / 0.9071 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.8539, allocations: 41.7 kB / 0.9072 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/0.8545, allocations: 0.6065 MB / 0.9078 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.8548, allocations: 213 kB / 0.908 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.8551, allocations: 154.6 kB / 0.9081 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8553, allocations: 337.9 kB / 0.9084 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.8559, allocations: 293.8 kB / 0.9087 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.857, allocations: 496.7 kB / 0.9092 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.8585, allocations: 0.7051 MB / 0.9099 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8585, allocations: 4 kB / 0.9099 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004887/0.8634, allocations: 1.28 MB / 0.9111 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.8634, allocations: 4 kB / 0.9111 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8634, allocations: 4 kB / 0.9112 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.8641, allocations: 149.8 kB / 0.9113 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.8647, allocations: 151.8 kB / 0.9114 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008905/0.8656, allocations: 0.7054 MB / 0.9121 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.8671, allocations: 127 kB / 0.9122 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.8672, allocations: 35.98 kB / 0.9123 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.8684, allocations: 0.5525 MB / 0.9128 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008419/0.8693, allocations: 0.4929 MB / 0.9133 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001391/0.8707, allocations: 0.705 MB / 0.914 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.8707, allocations: 0.625 kB / 0.914 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004738/0.8754, allocations: 1.265 MB / 0.9152 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8755, allocations: 11.98 kB / 0.9152 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8755, allocations: 7.938 kB / 0.9152 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/0.876, allocations: 133 kB / 0.9154 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.8766, allocations: 159.8 kB / 0.9155 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008632/0.8775, allocations: 0.6983 MB / 0.9162 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.8791, allocations: 111.5 kB / 0.9163 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.8792, allocations: 31.98 kB / 0.9163 GB, free: 2.625 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.0003623/0.8795, allocations: 228 kB / 0.9166 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/0.8801, allocations: 130.4 kB / 0.9167 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/0.885, allocations: 1.27 MB / 0.9179 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.885, allocations: 8 kB / 0.9179 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8851, allocations: 0 / 0.9179 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004162/0.8892, allocations: 1.103 MB / 0.919 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/0.8969, allocations: 2.618 MB / 0.9216 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.897, allocations: 4.438 kB / 0.9216 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.8975, allocations: 119.8 kB / 0.9217 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.898, allocations: 131.8 kB / 0.9218 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.8981, allocations: 23.98 kB / 0.9218 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005331/0.9034, allocations: 2.617 MB / 0.9244 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.9035, allocations: 4 kB / 0.9244 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005794/0.9093, allocations: 1.692 MB / 0.926 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009664/0.9102, allocations: 319 kB / 0.9264 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005101/0.9108, allocations: 16 kB / 0.9264 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.912, allocations: 52.09 kB / 0.9264 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.9122, allocations: 64.23 kB / 0.9265 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.9123, allocations: 31.98 kB / 0.9265 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001777/0.9141, allocations: 0.8738 MB / 0.9274 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9141, allocations: 4 kB / 0.9274 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003029/0.9172, allocations: 0.7252 MB / 0.9281 GB, free: 6.211 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.001278/0.9185, allocations: 456.9 kB / 0.9285 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.9214, allocations: 1.12 MB / 0.9296 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.9215, allocations: 8.062 kB / 0.9296 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.9231, allocations: 0.5602 MB / 0.9302 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.9278, allocations: 0.8109 MB / 0.931 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.933, allocations: 2.305 MB / 0.9332 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.9346, allocations: 1.168 MB / 0.9343 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/0.9351, allocations: 111.4 kB / 0.9344 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of SimCode: time 1.512e-06/0.9351, allocations: 0 / 0.9344 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.04899/0.9841, allocations: 31.21 MB / 0.9649 GB, free: 0.6992 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)