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.001162/0.001162, allocations: 107 kB / 15.99 MB, free: 6.359 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.001075/0.001075, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.441/1.441, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.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.729/1.729, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001354/0.001354, allocations: 64.92 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2428, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06974/0.3126, allocations: 74.58 MB / 0.8563 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.3328, allocations: 14.95 MB / 0.8709 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.3356, allocations: 55.62 kB / 0.871 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.3383, allocations: 0.7229 MB / 0.8717 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007466/0.3458, allocations: 2.384 MB / 0.874 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.3496, allocations: 1.303 MB / 0.8753 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00622/0.3559, allocations: 4.388 MB / 0.8796 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.3582, allocations: 1.406 MB / 0.881 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.3624, allocations: 1.656 MB / 0.8826 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.3646, allocations: 1.268 MB / 0.8838 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.3649, allocations: 164 kB / 0.884 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.3681, allocations: 1.419 MB / 0.8854 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.3685, allocations: 394.6 kB / 0.8857 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.3697, allocations: 0.9021 MB / 0.8866 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.3727, allocations: 2.241 MB / 0.8888 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3727, allocations: 0 / 0.8888 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3727, allocations: 0 / 0.8888 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.121e-05/0.3728, allocations: 4 kB / 0.8888 GB, free: 1.715 MB / 0.7012 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.003958/0.3767, allocations: 2.091 MB / 0.8908 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3768, allocations: 8.031 kB / 0.8909 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008514/0.3777, allocations: 226.8 kB / 0.8911 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.3801, allocations: 1.477 MB / 0.8925 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.3801, allocations: 74 kB / 0.8926 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3803, allocations: 104 kB / 0.8927 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.3823, allocations: 1.1 MB / 0.8938 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.3823, allocations: 3.906 kB / 0.8938 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.3824, allocations: 36 kB / 0.8938 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.3824, allocations: 39.94 kB / 0.8938 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.3843, allocations: 0.8861 MB / 0.8947 GB, free: 11.52 MB / 0.7169 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.006105/0.3904, allocations: 4.919 MB / 0.8995 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.3918, allocations: 0.6156 MB / 0.9001 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.3924, allocations: 354.3 kB / 0.9004 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.3931, allocations: 0.8199 MB / 0.9012 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3931, allocations: 43.12 kB / 0.9013 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.3931, allocations: 0 / 0.9013 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007016/0.4002, allocations: 1.697 MB / 0.9029 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.4002, allocations: 59.97 kB / 0.903 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.402, allocations: 1.202 MB / 0.9042 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.4021, allocations: 45.7 kB / 0.9042 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.4026, allocations: 0.5987 MB / 0.9048 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.4028, allocations: 220.9 kB / 0.905 GB, free: 408 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.403, allocations: 154.6 kB / 0.9052 GB, free: 248 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4032, allocations: 333.9 kB / 0.9055 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.4038, allocations: 288.7 kB / 0.9058 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/0.4046, allocations: 0.4929 MB / 0.9062 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.406, allocations: 0.709 MB / 0.9069 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.406, allocations: 0 / 0.9069 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004654/0.4107, allocations: 1.277 MB / 0.9082 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4107, allocations: 4 kB / 0.9082 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4107, allocations: 7.938 kB / 0.9082 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.4113, allocations: 141 kB / 0.9083 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.412, allocations: 159.8 kB / 0.9085 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008439/0.4129, allocations: 0.7006 MB / 0.9092 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4142, allocations: 159.1 kB / 0.9093 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.4143, allocations: 31.98 kB / 0.9093 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/0.4154, allocations: 0.5554 MB / 0.9099 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007771/0.4162, allocations: 499.4 kB / 0.9104 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/0.4175, allocations: 0.709 MB / 0.911 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.4175, allocations: 0 / 0.911 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004738/0.4223, allocations: 1.277 MB / 0.9123 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4223, allocations: 4 kB / 0.9123 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4223, allocations: 7.938 kB / 0.9123 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.4228, allocations: 141.1 kB / 0.9124 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.4234, allocations: 155.8 kB / 0.9126 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007755/0.4242, allocations: 0.7045 MB / 0.9133 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.4255, allocations: 139.5 kB / 0.9134 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.4255, allocations: 35.98 kB / 0.9134 GB, free: 7.402 MB / 0.7325 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.0002909/0.4258, allocations: 228 kB / 0.9137 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.4261, allocations: 130.4 kB / 0.9138 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.4306, allocations: 1.271 MB / 0.915 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4306, allocations: 8 kB / 0.915 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4306, allocations: 4 kB / 0.915 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003885/0.4345, allocations: 1.107 MB / 0.9161 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.441, allocations: 2.594 MB / 0.9187 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.441, allocations: 4 kB / 0.9187 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.4415, allocations: 111.9 kB / 0.9188 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.442, allocations: 141.1 kB / 0.9189 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.4421, allocations: 23.98 kB / 0.9189 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4345/0.8766, allocations: 2.61 MB / 0.9215 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8766, allocations: 6.594 kB / 0.9215 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.8824, allocations: 1.701 MB / 0.9231 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/0.8832, allocations: 307.9 kB / 0.9234 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.8834, allocations: 19.52 kB / 0.9235 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.8844, allocations: 82.78 kB / 0.9235 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.8845, allocations: 62.7 kB / 0.9236 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.8846, allocations: 33.75 kB / 0.9236 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001361/0.886, allocations: 0.8668 MB / 0.9245 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.886, allocations: 1.859 kB / 0.9245 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00219/0.8882, allocations: 0.7126 MB / 0.9252 GB, free: 134.3 MB / 0.7325 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.001014/0.8892, allocations: 451.3 kB / 0.9256 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00265/0.8919, allocations: 1.156 MB / 0.9267 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.8919, allocations: 3 kB / 0.9267 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.8933, allocations: 0.5656 MB / 0.9273 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/0.8969, allocations: 0.8253 MB / 0.9281 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.9007, allocations: 2.787 MB / 0.9308 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.9014, allocations: 1.167 MB / 0.9319 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.9018, allocations: 111.2 kB / 0.9321 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/0.9018, allocations: 2.625 kB / 0.9321 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.04896/0.9508, allocations: 30.97 MB / 0.9623 GB, free: 118.5 MB / 0.7325 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)