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.001383/0.001383, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.00125/0.00125, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.514/1.514, allocations: 251.9 MB / 0.51 GB, free: 4.812 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.0007665/0.0007665, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5586, allocations: 106.3 MB / 0.728 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06741/0.626, allocations: 63.01 MB / 0.7895 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.6434, allocations: 12.85 MB / 0.8021 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.6462, allocations: 51.62 kB / 0.8021 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.649, allocations: 0.7462 MB / 0.8028 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.6563, allocations: 2.358 MB / 0.8051 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.6608, allocations: 1.43 MB / 0.8065 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005491/0.6663, allocations: 2.483 MB / 0.809 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.6683, allocations: 1.021 MB / 0.81 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.6712, allocations: 1.164 MB / 0.8111 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.6729, allocations: 0.7856 MB / 0.8119 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.6732, allocations: 56 kB / 0.8119 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.676, allocations: 0.8309 MB / 0.8127 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.6765, allocations: 254.9 kB / 0.813 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.6772, allocations: 356.9 kB / 0.8133 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.6798, allocations: 2.003 MB / 0.8153 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.6798, allocations: 11.94 kB / 0.8153 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6798, allocations: 0 / 0.8153 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.6799, allocations: 0 / 0.8153 GB, free: 1.934 MB / 0.6231 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.003349/0.6832, allocations: 1.772 MB / 0.817 GB, free: 100 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6833, allocations: 15.97 kB / 0.817 GB, free: 84 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007943/0.6841, allocations: 253.7 kB / 0.8173 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.6863, allocations: 1.349 MB / 0.8186 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.6864, allocations: 78 kB / 0.8187 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.6865, allocations: 104 kB / 0.8188 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.6886, allocations: 1.096 MB / 0.8198 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.6886, allocations: 4 kB / 0.8198 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.6887, allocations: 40 kB / 0.8199 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.6887, allocations: 31.89 kB / 0.8199 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.6907, allocations: 0.9252 MB / 0.8208 GB, free: 12.12 MB / 0.6387 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.006027/0.6967, allocations: 4.946 MB / 0.8256 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6982, allocations: 0.6506 MB / 0.8263 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/0.6989, allocations: 0.816 MB / 0.8271 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.6989, allocations: 43.12 kB / 0.8271 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.6989, allocations: 0 / 0.8271 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.007151/0.7061, allocations: 1.889 MB / 0.8289 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7062, allocations: 71.8 kB / 0.829 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.7079, allocations: 1.241 MB / 0.8302 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.708, allocations: 49.7 kB / 0.8303 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/0.7086, allocations: 0.5948 MB / 0.8309 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.7088, allocations: 209 kB / 0.8311 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.7088, allocations: 16 kB / 0.8311 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.709, allocations: 333.9 kB / 0.8314 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/0.7097, allocations: 293.8 kB / 0.8317 GB, free: 428 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.7105, allocations: 0.5045 MB / 0.8322 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.7113, allocations: 367 kB / 0.8325 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7113, allocations: 0 / 0.8325 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004665/0.716, allocations: 1.394 MB / 0.8339 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005943/0.7166, allocations: 1.426 MB / 0.8353 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7166, allocations: 4 kB / 0.8353 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.7173, allocations: 148.7 kB / 0.8354 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.7179, allocations: 163.8 kB / 0.8356 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008328/0.7187, allocations: 0.7123 MB / 0.8363 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.72, allocations: 182.9 kB / 0.8364 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.7201, allocations: 28 kB / 0.8365 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.7201, allocations: 7.938 kB / 0.8365 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004376/0.7245, allocations: 1.257 MB / 0.8377 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.7245, allocations: 4 kB / 0.8377 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/0.725, allocations: 149 kB / 0.8378 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.7256, allocations: 163.8 kB / 0.838 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008784/0.7265, allocations: 0.7162 MB / 0.8387 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.7278, allocations: 171.2 kB / 0.8389 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.7279, allocations: 24 kB / 0.8389 GB, free: 8.777 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006435/0.7286, allocations: 421 kB / 0.8393 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.7288, allocations: 134.3 kB / 0.8394 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.7334, allocations: 1.404 MB / 0.8408 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.7335, allocations: 8 kB / 0.8408 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.7335, allocations: 3.953 kB / 0.8408 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004235/0.7377, allocations: 1.232 MB / 0.842 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.7445, allocations: 2.746 MB / 0.8447 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.7445, allocations: 4 kB / 0.8447 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.745, allocations: 120.3 kB / 0.8448 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.7455, allocations: 136.8 kB / 0.8449 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.7456, allocations: 23.98 kB / 0.845 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.7505, allocations: 2.567 MB / 0.8475 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7505, allocations: 4 kB / 0.8475 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.7561, allocations: 2.05 MB / 0.8495 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008528/0.757, allocations: 339 kB / 0.8498 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.7572, allocations: 19.98 kB / 0.8498 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/0.7581, allocations: 95.88 kB / 0.8499 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.7582, allocations: 60.27 kB / 0.85 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.7583, allocations: 31.97 kB / 0.85 GB, free: 12.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001215/0.7595, allocations: 0.8894 MB / 0.8509 GB, free: 11.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7595, allocations: 0 / 0.8509 GB, free: 11.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001888/0.7614, allocations: 0.7256 MB / 0.8516 GB, free: 11.23 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008703/0.7623, allocations: 453.6 kB / 0.852 GB, free: 10.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.765, allocations: 1.157 MB / 0.8531 GB, free: 9.633 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.765, allocations: 4 kB / 0.8531 GB, free: 9.629 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.7665, allocations: 0.5993 MB / 0.8537 GB, free: 9.016 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/0.7702, allocations: 0.7541 MB / 0.8545 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.7743, allocations: 2.766 MB / 0.8572 GB, free: 5.434 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.775, allocations: 1.203 MB / 0.8583 GB, free: 4.203 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001256/0.7763, allocations: 301.9 kB / 0.8586 GB, free: 3.906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.7765, allocations: 103.4 kB / 0.8587 GB, free: 3.805 MB / 0.67 GB Notification: Performance of SimCode: time 3.367e-06/0.7765, allocations: 0 / 0.8587 GB, free: 3.805 MB / 0.67 GB Notification: Performance of Templates: time 0.04799/0.8245, allocations: 30.2 MB / 0.8882 GB, free: 5.996 MB / 0.7012 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: