Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.00105/0.00105, allocations: 192.5 kB / 17.2 MB, free: 5.59 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.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.751/1.751, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001419/0.001419, allocations: 74.88 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2458, allocations: 114.5 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.4816/0.7274, allocations: 75.2 MB / 0.8574 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.7516, allocations: 15.06 MB / 0.8722 GB, free: 4.219 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.7558, allocations: 63.69 kB / 0.8722 GB, free: 4.195 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.7592, allocations: 0.8291 MB / 0.873 GB, free: 3.676 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009673/0.7689, allocations: 2.565 MB / 0.8755 GB, free: 2.137 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004627/0.7736, allocations: 1.387 MB / 0.8769 GB, free: 1.207 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007644/0.7812, allocations: 4.354 MB / 0.8811 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.7839, allocations: 1.443 MB / 0.8825 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.789, allocations: 1.635 MB / 0.8841 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.7922, allocations: 1.213 MB / 0.8853 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004883/0.7927, allocations: 164.2 kB / 0.8855 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.7973, allocations: 1.401 MB / 0.8869 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.7979, allocations: 406 kB / 0.8872 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.8001, allocations: 0.9087 MB / 0.8881 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.806, allocations: 2.843 MB / 0.8909 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.806, allocations: 4 kB / 0.8909 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.933e-06/0.806, allocations: 0 / 0.8909 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.806, allocations: 1.156 kB / 0.8909 GB, free: 8.41 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.004533/0.8106, allocations: 2.092 MB / 0.8929 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8106, allocations: 10.69 kB / 0.893 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/0.8116, allocations: 233.3 kB / 0.8932 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.8142, allocations: 1.447 MB / 0.8946 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.8143, allocations: 76.72 kB / 0.8947 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.8145, allocations: 102.4 kB / 0.8948 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.8166, allocations: 1.101 MB / 0.8958 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.8166, allocations: 1.281 kB / 0.8958 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.8167, allocations: 41.97 kB / 0.8959 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.8168, allocations: 23.81 kB / 0.8959 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.8187, allocations: 0.8934 MB / 0.8968 GB, free: 4.332 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.00663/0.8254, allocations: 4.956 MB / 0.9016 GB, free: 80 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.8269, allocations: 0.6185 MB / 0.9022 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.8276, allocations: 348.5 kB / 0.9026 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/0.8283, allocations: 0.8256 MB / 0.9034 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.8283, allocations: 46.09 kB / 0.9034 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.566e-06/0.8283, allocations: 1.812 kB / 0.9034 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007562/0.8359, allocations: 1.689 MB / 0.9051 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.836, allocations: 58.75 kB / 0.9051 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.8381, allocations: 1.227 MB / 0.9063 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.8383, allocations: 42.95 kB / 0.9064 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/0.8389, allocations: 0.6093 MB / 0.9069 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.8391, allocations: 212.9 kB / 0.9071 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.8393, allocations: 150.6 kB / 0.9073 GB, free: 12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8395, allocations: 337.9 kB / 0.9076 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.8401, allocations: 296.6 kB / 0.9079 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.841, allocations: 0.4893 MB / 0.9084 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.8424, allocations: 0.7168 MB / 0.9091 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8424, allocations: 0 / 0.9091 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004843/0.8473, allocations: 1.273 MB / 0.9103 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8473, allocations: 8 kB / 0.9103 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.8473, allocations: 4 kB / 0.9103 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.8479, allocations: 133.1 kB / 0.9105 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.8486, allocations: 163.7 kB / 0.9106 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00087/0.8494, allocations: 0.709 MB / 0.9113 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.8508, allocations: 127 kB / 0.9114 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-05/0.8509, allocations: 31.98 kB / 0.9115 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001169/0.8521, allocations: 0.5542 MB / 0.912 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008338/0.853, allocations: 496.7 kB / 0.9125 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/0.8543, allocations: 0.705 MB / 0.9132 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.8543, allocations: 4 kB / 0.9132 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004774/0.8591, allocations: 1.269 MB / 0.9144 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8591, allocations: 4 kB / 0.9144 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8592, allocations: 7.938 kB / 0.9144 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.8597, allocations: 145 kB / 0.9146 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.8603, allocations: 159.8 kB / 0.9147 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008454/0.8612, allocations: 0.7016 MB / 0.9154 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.8626, allocations: 103.4 kB / 0.9155 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/0.8627, allocations: 35.98 kB / 0.9155 GB, free: 3.223 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.0002917/0.863, allocations: 224.1 kB / 0.9157 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/0.8635, allocations: 130.4 kB / 0.9159 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.8684, allocations: 1.279 MB / 0.9171 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.8684, allocations: 12 kB / 0.9171 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8684, allocations: 0 / 0.9171 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004143/0.8726, allocations: 1.103 MB / 0.9182 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/0.8806, allocations: 2.614 MB / 0.9208 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.8806, allocations: 5.312 kB / 0.9208 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.8811, allocations: 115.8 kB / 0.9209 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/0.8817, allocations: 135.7 kB / 0.921 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.8817, allocations: 16 kB / 0.921 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/0.887, allocations: 2.633 MB / 0.9236 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.8871, allocations: 7.938 kB / 0.9236 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006196/0.8933, allocations: 1.695 MB / 0.9252 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.8944, allocations: 307.2 kB / 0.9255 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/0.8951, allocations: 19.98 kB / 0.9256 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8964, allocations: 56 kB / 0.9256 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.8966, allocations: 56.25 kB / 0.9257 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8967, allocations: 35.97 kB / 0.9257 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001932/0.8987, allocations: 0.8777 MB / 0.9266 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8987, allocations: 4 kB / 0.9266 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003692/0.9024, allocations: 0.7213 MB / 0.9273 GB, free: 6.797 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.001623/0.904, allocations: 457.2 kB / 0.9277 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00354/0.9076, allocations: 1.158 MB / 0.9288 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.9076, allocations: 0 / 0.9288 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.9094, allocations: 0.5686 MB / 0.9294 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/0.9148, allocations: 0.8081 MB / 0.9302 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.9207, allocations: 2.333 MB / 0.9325 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9218, allocations: 1.168 MB / 0.9336 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.9223, allocations: 111.3 kB / 0.9337 GB, free: 184 kB / 0.7169 GB Notification: Performance of SimCode: time 1.462e-06/0.9223, allocations: 3.938 kB / 0.9337 GB, free: 180 kB / 0.7169 GB Notification: Performance of Templates: time 0.05311/0.9755, allocations: 31.21 MB / 0.9642 GB, free: 1.199 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)