Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 95.88 kB / 15.68 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.00144/0.00144, allocations: 177.2 kB / 16.57 MB, free: 6.52 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.376/1.376, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6568/0.6568, allocations: 113.8 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003432, allocations: 9.281 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4114/0.5917, allocations: 62.92 MB / 0.6183 GB, free: 208 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.6084, allocations: 11 MB / 0.629 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.6111, allocations: 54.09 kB / 0.6291 GB, free: 8.328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.6137, allocations: 0.7483 MB / 0.6298 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009231/0.623, allocations: 2.311 MB / 0.6321 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005347/0.6283, allocations: 1.515 MB / 0.6335 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005702/0.634, allocations: 2.511 MB / 0.636 GB, free: 3.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.636, allocations: 1.035 MB / 0.637 GB, free: 3.109 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.6391, allocations: 1.149 MB / 0.6381 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.6409, allocations: 0.7771 MB / 0.6389 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.6411, allocations: 55.56 kB / 0.6389 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.6439, allocations: 0.8459 MB / 0.6398 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.6442, allocations: 264 kB / 0.64 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005484/0.6448, allocations: 355.9 kB / 0.6404 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.6474, allocations: 2.037 MB / 0.6423 GB, free: 15.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6474, allocations: 1.219 kB / 0.6423 GB, free: 15.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6474, allocations: 0 / 0.6423 GB, free: 15.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.716e-05/0.6475, allocations: 0 / 0.6423 GB, free: 15.79 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.003926/0.6514, allocations: 1.782 MB / 0.6441 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.6515, allocations: 9.031 kB / 0.6441 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/0.6523, allocations: 247.9 kB / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.6547, allocations: 1.374 MB / 0.6457 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.6548, allocations: 75.22 kB / 0.6457 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.655, allocations: 104.8 kB / 0.6458 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.6571, allocations: 1.107 MB / 0.6469 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.6571, allocations: 1.281 kB / 0.6469 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.489e-05/0.6572, allocations: 41.22 kB / 0.647 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.6573, allocations: 31.22 kB / 0.647 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.6591, allocations: 0.9283 MB / 0.6479 GB, free: 11.98 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.006546/0.6657, allocations: 4.958 MB / 0.6527 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.6671, allocations: 0.6522 MB / 0.6534 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.6678, allocations: 0.8277 MB / 0.6542 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.6678, allocations: 47.06 kB / 0.6542 GB, free: 5.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 2.695e-06/0.6678, allocations: 0 / 0.6542 GB, free: 5.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.007213/0.6751, allocations: 1.881 MB / 0.6561 GB, free: 3.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.6751, allocations: 59.97 kB / 0.6561 GB, free: 3.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.6771, allocations: 1.249 MB / 0.6573 GB, free: 2.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.6772, allocations: 41.7 kB / 0.6574 GB, free: 2.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.6778, allocations: 0.6027 MB / 0.658 GB, free: 1.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.678, allocations: 216.8 kB / 0.6582 GB, free: 1.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.6781, allocations: 16 kB / 0.6582 GB, free: 1.359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6783, allocations: 337.9 kB / 0.6585 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.679, allocations: 293.8 kB / 0.6588 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.6798, allocations: 0.5028 MB / 0.6593 GB, free: 172 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.6806, allocations: 359 kB / 0.6596 GB, free: 15.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6806, allocations: 3.938 kB / 0.6596 GB, free: 15.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005/0.6856, allocations: 1.406 MB / 0.661 GB, free: 14.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007072/0.6863, allocations: 1.332 MB / 0.6623 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6864, allocations: 4 kB / 0.6623 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007844/0.6871, allocations: 168.7 kB / 0.6625 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.6878, allocations: 159.8 kB / 0.6626 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009454/0.6888, allocations: 0.7279 MB / 0.6633 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.6905, allocations: 167.1 kB / 0.6635 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.6906, allocations: 31.98 kB / 0.6635 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6907, allocations: 4 kB / 0.6635 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004703/0.6954, allocations: 1.249 MB / 0.6647 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6954, allocations: 7.953 kB / 0.6648 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.6961, allocations: 173 kB / 0.6649 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.6967, allocations: 159.8 kB / 0.6651 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009231/0.6976, allocations: 0.7319 MB / 0.6658 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6991, allocations: 163.9 kB / 0.6659 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.6992, allocations: 28 kB / 0.666 GB, free: 9.164 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007817/0.7, allocations: 432.8 kB / 0.6664 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.7006, allocations: 130.4 kB / 0.6665 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/0.7057, allocations: 1.417 MB / 0.6679 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.7058, allocations: 11.98 kB / 0.6679 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.7058, allocations: 0 / 0.6679 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00436/0.7101, allocations: 1.244 MB / 0.6691 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008056/0.7182, allocations: 2.778 MB / 0.6718 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7183, allocations: 0 / 0.6718 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.7188, allocations: 124.3 kB / 0.672 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/0.7195, allocations: 156.9 kB / 0.6721 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.7196, allocations: 24 kB / 0.6721 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008958/0.7205, allocations: 0.7162 MB / 0.6728 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7205, allocations: 7.953 kB / 0.6728 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/0.7265, allocations: 2.062 MB / 0.6748 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.7276, allocations: 347.1 kB / 0.6752 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.728, allocations: 12 kB / 0.6752 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.7294, allocations: 99.81 kB / 0.6753 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.7296, allocations: 60.2 kB / 0.6753 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.7297, allocations: 31.98 kB / 0.6754 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002255/0.732, allocations: 0.8972 MB / 0.6762 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.732, allocations: 0 / 0.6762 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00301/0.735, allocations: 0.7096 MB / 0.6769 GB, free: 13.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.7362, allocations: 459.3 kB / 0.6774 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.7391, allocations: 1.16 MB / 0.6785 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.7391, allocations: 8.125 kB / 0.6785 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7402, allocations: 407.1 kB / 0.6789 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/0.7445, allocations: 0.7556 MB / 0.6796 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.7504, allocations: 2.766 MB / 0.6823 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.7515, allocations: 1.192 MB / 0.6835 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001674/0.7532, allocations: 307 kB / 0.6838 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.7535, allocations: 111.4 kB / 0.6839 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of SimCode: time 2.234e-06/0.7536, allocations: 0 / 0.6839 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.05312/0.8067, allocations: 29.86 MB / 0.7131 GB, free: 8.762 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)