Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001045/0.001045, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008678/0.008678, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.459/1.459, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.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.0007181/0.0007181, allocations: 16.42 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4927, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07489/0.5677, allocations: 73.5 MB / 0.8005 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.5899, allocations: 14.89 MB / 0.815 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.5924, allocations: 55.62 kB / 0.8151 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.5949, allocations: 0.6837 MB / 0.8157 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007229/0.6021, allocations: 2.349 MB / 0.818 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.6056, allocations: 1.255 MB / 0.8193 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006847/0.6125, allocations: 5.515 MB / 0.8247 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.6145, allocations: 1.143 MB / 0.8258 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.6175, allocations: 1.322 MB / 0.8271 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.6195, allocations: 1.151 MB / 0.8282 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.6198, allocations: 56 kB / 0.8282 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.6228, allocations: 1.232 MB / 0.8294 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.6233, allocations: 282.6 kB / 0.8297 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.6243, allocations: 0.8022 MB / 0.8305 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.6286, allocations: 2.691 MB / 0.8331 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6286, allocations: 8 kB / 0.8331 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.877e-06/0.6286, allocations: 0 / 0.8331 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.863e-05/0.6287, allocations: 3.938 kB / 0.8331 GB, free: 15.97 MB / 0.6544 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.003532/0.6322, allocations: 1.78 MB / 0.8349 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6322, allocations: 8.031 kB / 0.8349 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/0.633, allocations: 246.8 kB / 0.8351 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.6355, allocations: 1.466 MB / 0.8365 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.6356, allocations: 74 kB / 0.8366 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6358, allocations: 104 kB / 0.8367 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.6378, allocations: 1.112 MB / 0.8378 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.6379, allocations: 11.92 kB / 0.8378 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.638, allocations: 36 kB / 0.8378 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.638, allocations: 32 kB / 0.8379 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.64, allocations: 0.929 MB / 0.8388 GB, free: 10.03 MB / 0.6544 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.006171/0.6462, allocations: 4.915 MB / 0.8436 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.6476, allocations: 0.6474 MB / 0.8442 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.6484, allocations: 367.1 kB / 0.8446 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/0.649, allocations: 0.8238 MB / 0.8454 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.649, allocations: 43.06 kB / 0.8454 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.144e-06/0.649, allocations: 0 / 0.8454 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007521/0.6565, allocations: 1.9 MB / 0.8473 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6566, allocations: 59.97 kB / 0.8473 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.6584, allocations: 1.206 MB / 0.8485 GB, free: 15.53 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.92e-05/0.6585, allocations: 37.7 kB / 0.8485 GB, free: 15.48 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.659, allocations: 0.6142 MB / 0.8491 GB, free: 14.87 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.6592, allocations: 212.9 kB / 0.8493 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6593, allocations: 65.69 kB / 0.8494 GB, free: 14.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6595, allocations: 330 kB / 0.8497 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.6602, allocations: 305.8 kB / 0.85 GB, free: 13.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009425/0.6611, allocations: 0.5162 MB / 0.8505 GB, free: 13.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6627, allocations: 0.7518 MB / 0.8512 GB, free: 12.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6627, allocations: 0 / 0.8512 GB, free: 12.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005073/0.6678, allocations: 1.406 MB / 0.8526 GB, free: 11.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.668, allocations: 198.3 kB / 0.8528 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.668, allocations: 4 kB / 0.8528 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.6687, allocations: 140.7 kB / 0.8529 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.6693, allocations: 171.7 kB / 0.8531 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009028/0.6702, allocations: 0.72 MB / 0.8538 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.6715, allocations: 175 kB / 0.854 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.6716, allocations: 31.98 kB / 0.854 GB, free: 9.637 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.6716, allocations: 4 kB / 0.854 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004603/0.6762, allocations: 1.257 MB / 0.8552 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6762, allocations: 4 kB / 0.8552 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005145/0.6768, allocations: 141.1 kB / 0.8554 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.6774, allocations: 171.8 kB / 0.8555 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.6783, allocations: 0.7162 MB / 0.8562 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.6795, allocations: 155.5 kB / 0.8564 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.6796, allocations: 35.98 kB / 0.8564 GB, free: 7.129 MB / 0.67 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.0006453/0.6802, allocations: 416.9 kB / 0.8568 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6805, allocations: 142.2 kB / 0.857 GB, free: 6.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004986/0.6855, allocations: 1.392 MB / 0.8583 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.6856, allocations: 11.98 kB / 0.8583 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6856, allocations: 0 / 0.8583 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004415/0.69, allocations: 1.24 MB / 0.8595 GB, free: 3.871 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/0.6971, allocations: 2.742 MB / 0.8622 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6971, allocations: 4 kB / 0.8622 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.6976, allocations: 128.2 kB / 0.8623 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.6981, allocations: 140.7 kB / 0.8625 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.6982, allocations: 16 kB / 0.8625 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.7032, allocations: 2.486 MB / 0.8649 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7032, allocations: 11.92 kB / 0.8649 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/0.7089, allocations: 1.848 MB / 0.8667 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.7096, allocations: 331.1 kB / 0.8671 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7099, allocations: 15.94 kB / 0.8671 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/0.7109, allocations: 99.91 kB / 0.8672 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.711, allocations: 60.23 kB / 0.8672 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.7111, allocations: 27.98 kB / 0.8673 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001338/0.7124, allocations: 0.8621 MB / 0.8681 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7124, allocations: 4 kB / 0.8681 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002046/0.7145, allocations: 0.7095 MB / 0.8688 GB, free: 10.05 MB / 0.6856 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.0009246/0.7154, allocations: 448.8 kB / 0.8692 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.7183, allocations: 1.172 MB / 0.8704 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7183, allocations: 0 / 0.8704 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.7199, allocations: 0.6033 MB / 0.871 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/0.7244, allocations: 0.7971 MB / 0.8717 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.7289, allocations: 2.822 MB / 0.8745 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/0.7298, allocations: 1.169 MB / 0.8756 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001205/0.731, allocations: 299 kB / 0.8759 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.7313, allocations: 115.4 kB / 0.876 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of SimCode: time 2.555e-06/0.7314, allocations: 0 / 0.876 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of Templates: time 0.05057/0.7819, allocations: 32.07 MB / 0.9073 GB, free: 2.863 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: