Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001002/0.001002, allocations: 97.05 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 178 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6508/0.6508, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8.875 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2977/0.43, allocations: 62.96 MB / 0.6183 GB, free: 216 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.4471, allocations: 13 MB / 0.631 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.4499, allocations: 53.03 kB / 0.6311 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.4525, allocations: 0.7458 MB / 0.6318 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007861/0.4603, allocations: 2.408 MB / 0.6341 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.465, allocations: 1.528 MB / 0.6356 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.47, allocations: 2.521 MB / 0.6381 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.4718, allocations: 1.041 MB / 0.6391 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.4743, allocations: 1.166 MB / 0.6402 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.4758, allocations: 0.783 MB / 0.641 GB, free: 284 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.476, allocations: 55.72 kB / 0.6411 GB, free: 284 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.4785, allocations: 0.8344 MB / 0.6419 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.4788, allocations: 265.7 kB / 0.6421 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.4793, allocations: 359.2 kB / 0.6425 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.4819, allocations: 2.019 MB / 0.6445 GB, free: 14.13 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.4819, allocations: 4 kB / 0.6445 GB, free: 14.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4819, allocations: 2.938 kB / 0.6445 GB, free: 14.13 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.4819, allocations: 0 / 0.6445 GB, free: 14.13 MB / 478.1 MB 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.003295/0.4852, allocations: 1.773 MB / 0.6462 GB, free: 12.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.4853, allocations: 11.91 kB / 0.6462 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.4861, allocations: 245.6 kB / 0.6464 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.4884, allocations: 1.374 MB / 0.6478 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.4885, allocations: 77.25 kB / 0.6478 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.4886, allocations: 104.3 kB / 0.6479 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.4906, allocations: 1.114 MB / 0.649 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4906, allocations: 2.562 kB / 0.649 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.4907, allocations: 39.69 kB / 0.6491 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.4908, allocations: 30.55 kB / 0.6491 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.4927, allocations: 0.9246 MB / 0.65 GB, free: 10.32 MB / 478.1 MB 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.006168/0.4989, allocations: 4.949 MB / 0.6548 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5003, allocations: 0.6403 MB / 0.6555 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.5009, allocations: 0.8238 MB / 0.6563 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.501, allocations: 43.08 kB / 0.6563 GB, free: 3.414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.501, allocations: 0 / 0.6563 GB, free: 3.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.007552/0.5085, allocations: 1.889 MB / 0.6582 GB, free: 1.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.5086, allocations: 59.97 kB / 0.6582 GB, free: 1.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.5102, allocations: 1.245 MB / 0.6594 GB, free: 172 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.685e-05/0.5103, allocations: 41.7 kB / 0.6595 GB, free: 124 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.5109, allocations: 0.6065 MB / 0.6601 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.5111, allocations: 216.8 kB / 0.6603 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.5111, allocations: 12 kB / 0.6603 GB, free: 15.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5112, allocations: 341.9 kB / 0.6606 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/0.5119, allocations: 297.8 kB / 0.6609 GB, free: 14.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/0.5128, allocations: 0.4929 MB / 0.6614 GB, free: 14.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.5135, allocations: 367 kB / 0.6617 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5135, allocations: 0 / 0.6617 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004896/0.5184, allocations: 1.39 MB / 0.6631 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004647/0.5189, allocations: 1.427 MB / 0.6645 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5189, allocations: 3.984 kB / 0.6645 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.5195, allocations: 140.8 kB / 0.6646 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.5203, allocations: 175.7 kB / 0.6648 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/0.5211, allocations: 0.7123 MB / 0.6655 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.5225, allocations: 182.8 kB / 0.6657 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.5225, allocations: 35.92 kB / 0.6657 GB, free: 9.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.5226, allocations: 4 kB / 0.6657 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004593/0.5272, allocations: 1.253 MB / 0.6669 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5272, allocations: 4 kB / 0.6669 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.5277, allocations: 141.1 kB / 0.6671 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.5284, allocations: 163.8 kB / 0.6672 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007977/0.5292, allocations: 0.7162 MB / 0.6679 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.5305, allocations: 167.1 kB / 0.6681 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.5306, allocations: 27.98 kB / 0.6681 GB, free: 7.043 MB / 494.1 MB 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.0006139/0.5312, allocations: 417 kB / 0.6685 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.5314, allocations: 134.4 kB / 0.6686 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.5363, allocations: 1.403 MB / 0.67 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5363, allocations: 15.92 kB / 0.67 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5363, allocations: 0 / 0.67 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004357/0.5407, allocations: 1.228 MB / 0.6712 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.5478, allocations: 2.758 MB / 0.6739 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5478, allocations: 4 kB / 0.6739 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.5484, allocations: 119.8 kB / 0.674 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.5489, allocations: 149.1 kB / 0.6742 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.549, allocations: 19.98 kB / 0.6742 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/0.5541, allocations: 2.544 MB / 0.6767 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5542, allocations: 7.938 kB / 0.6767 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/0.56, allocations: 2.054 MB / 0.6787 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007917/0.5608, allocations: 351.1 kB / 0.679 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.5611, allocations: 19.92 kB / 0.679 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5621, allocations: 95.88 kB / 0.6791 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5623, allocations: 56.27 kB / 0.6792 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.5624, allocations: 31.97 kB / 0.6792 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001357/0.5637, allocations: 0.8974 MB / 0.6801 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5637, allocations: 0 / 0.6801 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002094/0.5658, allocations: 0.7213 MB / 0.6808 GB, free: 9.477 MB / 0.4981 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.0008552/0.5667, allocations: 450.3 kB / 0.6812 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002818/0.5695, allocations: 1.153 MB / 0.6823 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5696, allocations: 8.188 kB / 0.6823 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5711, allocations: 0.5957 MB / 0.6829 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.5748, allocations: 0.7523 MB / 0.6837 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.5791, allocations: 2.77 MB / 0.6864 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.58, allocations: 1.21 MB / 0.6876 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001352/0.5813, allocations: 307 kB / 0.6878 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.5816, allocations: 107.4 kB / 0.6879 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.5816, allocations: 0 / 0.6879 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of Templates: time 0.04716/0.6288, allocations: 30.07 MB / 0.7173 GB, free: 4.336 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)