Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001171/0.001171, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001085/0.001085, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7789/0.7789, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.94 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07759/0.2413, allocations: 75.2 MB / 0.7338 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4033/0.6447, allocations: 15.12 MB / 0.7486 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.648, allocations: 66.83 kB / 0.7486 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.651, allocations: 0.8351 MB / 0.7495 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00935/0.6604, allocations: 2.58 MB / 0.752 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004436/0.6649, allocations: 1.396 MB / 0.7533 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008765/0.6736, allocations: 4.384 MB / 0.7576 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.6771, allocations: 1.456 MB / 0.759 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005861/0.6829, allocations: 1.669 MB / 0.7607 GB, free: 25.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.6866, allocations: 1.211 MB / 0.7618 GB, free: 25.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.6872, allocations: 162.1 kB / 0.762 GB, free: 25.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.6922, allocations: 1.411 MB / 0.7634 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007418/0.6929, allocations: 397.8 kB / 0.7638 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.695, allocations: 0.9091 MB / 0.7646 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006597/0.7016, allocations: 2.869 MB / 0.7675 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7016, allocations: 6.562 kB / 0.7675 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7017, allocations: 0.9062 kB / 0.7675 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.906e-05/0.7017, allocations: 0 / 0.7675 GB, free: 24.87 MB / 0.5762 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.005288/0.707, allocations: 2.086 MB / 0.7695 GB, free: 23.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.7071, allocations: 9.031 kB / 0.7695 GB, free: 23.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7082, allocations: 231.2 kB / 0.7697 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.7114, allocations: 1.518 MB / 0.7712 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.7115, allocations: 75.72 kB / 0.7713 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.7116, allocations: 108.2 kB / 0.7714 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.7139, allocations: 1.099 MB / 0.7725 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.714, allocations: 4.109 kB / 0.7725 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/0.7141, allocations: 37.5 kB / 0.7725 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.7141, allocations: 30.75 kB / 0.7725 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.7161, allocations: 0.8886 MB / 0.7734 GB, free: 23.14 MB / 0.5762 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.006847/0.723, allocations: 4.909 MB / 0.7782 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.7245, allocations: 0.6131 MB / 0.7788 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/0.7253, allocations: 355.7 kB / 0.7791 GB, free: 20.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005249/0.7258, allocations: 0.8261 MB / 0.7799 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.7259, allocations: 44.47 kB / 0.78 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.116e-06/0.7259, allocations: 0 / 0.78 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007667/0.7336, allocations: 1.693 MB / 0.7816 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7337, allocations: 58.59 kB / 0.7817 GB, free: 19.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.7359, allocations: 1.23 MB / 0.7829 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.7361, allocations: 37.89 kB / 0.7829 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.7366, allocations: 0.6076 MB / 0.7835 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.7369, allocations: 219.7 kB / 0.7837 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.7371, allocations: 153.5 kB / 0.7839 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.7372, allocations: 335.5 kB / 0.7842 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.7378, allocations: 289 kB / 0.7845 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.7386, allocations: 0.4919 MB / 0.7849 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.7399, allocations: 0.7052 MB / 0.7856 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.74, allocations: 6.812 kB / 0.7856 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004881/0.7448, allocations: 1.272 MB / 0.7869 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.7449, allocations: 8.656 kB / 0.7869 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.7449, allocations: 3.812 kB / 0.7869 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006492/0.7456, allocations: 136.3 kB / 0.787 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.7463, allocations: 156.2 kB / 0.7872 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.7471, allocations: 0.7126 MB / 0.7879 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.7486, allocations: 121 kB / 0.788 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.7487, allocations: 35.36 kB / 0.788 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001296/0.75, allocations: 0.547 MB / 0.7886 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007565/0.7508, allocations: 0.4932 MB / 0.789 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.7522, allocations: 0.6994 MB / 0.7897 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.7522, allocations: 2.969 kB / 0.7897 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005158/0.7573, allocations: 1.267 MB / 0.791 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7574, allocations: 7.906 kB / 0.791 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7574, allocations: 2.5 kB / 0.791 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.758, allocations: 148.1 kB / 0.7911 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.7588, allocations: 152.8 kB / 0.7913 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007036/0.7595, allocations: 0.7004 MB / 0.7919 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.761, allocations: 104.5 kB / 0.792 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.761, allocations: 32.27 kB / 0.7921 GB, free: 13.87 MB / 0.5762 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.0002886/0.7613, allocations: 240.1 kB / 0.7923 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.7616, allocations: 134.8 kB / 0.7924 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/0.7662, allocations: 1.267 MB / 0.7937 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7663, allocations: 8.781 kB / 0.7937 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7663, allocations: 0 / 0.7937 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/0.7702, allocations: 1.099 MB / 0.7947 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.7772, allocations: 2.619 MB / 0.7973 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.7772, allocations: 5.156 kB / 0.7973 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.7777, allocations: 117.6 kB / 0.7974 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.7782, allocations: 128.4 kB / 0.7975 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.7782, allocations: 26.48 kB / 0.7976 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.7828, allocations: 2.624 MB / 0.8001 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7828, allocations: 5.594 kB / 0.8001 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.7884, allocations: 1.704 MB / 0.8018 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/0.7893, allocations: 308.8 kB / 0.8021 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/0.7899, allocations: 15.22 kB / 0.8021 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7911, allocations: 56.83 kB / 0.8022 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.7912, allocations: 60.28 kB / 0.8022 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.7913, allocations: 33.52 kB / 0.8023 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001168/0.7925, allocations: 0.8805 MB / 0.8031 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7925, allocations: 0 / 0.8031 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002322/0.7948, allocations: 0.7216 MB / 0.8038 GB, free: 6.207 MB / 0.5762 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.0009502/0.7958, allocations: 460.4 kB / 0.8043 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.7982, allocations: 1.121 MB / 0.8053 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.7982, allocations: 0 / 0.8053 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.7996, allocations: 0.5583 MB / 0.8059 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/0.8032, allocations: 0.8074 MB / 0.8067 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.8065, allocations: 2.316 MB / 0.8089 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.807, allocations: 1.164 MB / 0.8101 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.8073, allocations: 115.4 kB / 0.8102 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.8073, allocations: 0 / 0.8102 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of Templates: time 0.04557/0.8529, allocations: 31.33 MB / 0.8408 GB, free: 1.504 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)