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.00128/0.00128, allocations: 109.2 kB / 16.41 MB, free: 6.473 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.001234/0.001234, allocations: 187 kB / 17.34 MB, free: 5.754 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8671/0.8671, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 72.77 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1613, 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.07344/0.2348, allocations: 75.2 MB / 0.7338 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4382/0.673, allocations: 15.13 MB / 0.7486 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.6759, allocations: 68.44 kB / 0.7486 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.6785, allocations: 0.83 MB / 0.7494 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008028/0.6866, allocations: 2.583 MB / 0.752 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.6904, allocations: 1.392 MB / 0.7533 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007582/0.698, allocations: 4.397 MB / 0.7576 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.7008, allocations: 1.449 MB / 0.759 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005224/0.7061, allocations: 1.675 MB / 0.7607 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.7092, allocations: 1.213 MB / 0.7619 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.7096, allocations: 162.7 kB / 0.762 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.7135, allocations: 1.404 MB / 0.7634 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004686/0.7139, allocations: 408 kB / 0.7638 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.7152, allocations: 0.9032 MB / 0.7647 GB, free: 25.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.7206, allocations: 2.875 MB / 0.7675 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7206, allocations: 0.6562 kB / 0.7675 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7206, allocations: 0.5625 kB / 0.7675 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.7207, allocations: 0 / 0.7675 GB, free: 24.79 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.00416/0.7248, allocations: 2.085 MB / 0.7695 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7249, allocations: 8.938 kB / 0.7695 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008724/0.7258, allocations: 232.7 kB / 0.7697 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.7282, allocations: 1.521 MB / 0.7712 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.7283, allocations: 75.59 kB / 0.7713 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.7285, allocations: 99.94 kB / 0.7714 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.7305, allocations: 1.099 MB / 0.7725 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.7305, allocations: 8.406 kB / 0.7725 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.7306, allocations: 39.19 kB / 0.7725 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.7306, allocations: 28.3 kB / 0.7725 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.7324, allocations: 0.8894 MB / 0.7734 GB, free: 23.07 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.005979/0.7384, allocations: 4.915 MB / 0.7782 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.7398, allocations: 0.6094 MB / 0.7788 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/0.7405, allocations: 357.6 kB / 0.7791 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/0.7409, allocations: 0.827 MB / 0.7799 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.741, allocations: 45.03 kB / 0.78 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.526e-06/0.741, allocations: 4 kB / 0.78 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006887/0.7479, allocations: 1.688 MB / 0.7816 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.7479, allocations: 57.41 kB / 0.7817 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.7497, allocations: 1.232 MB / 0.7829 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.7498, allocations: 36.7 kB / 0.7829 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.7503, allocations: 0.6089 MB / 0.7835 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.7505, allocations: 212.6 kB / 0.7837 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.7507, allocations: 155.4 kB / 0.7839 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.7508, allocations: 335 kB / 0.7842 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.7514, allocations: 286.4 kB / 0.7845 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.7521, allocations: 0.4953 MB / 0.785 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.7533, allocations: 0.7049 MB / 0.7856 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7533, allocations: 3.938 kB / 0.7856 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004335/0.7577, allocations: 1.275 MB / 0.7869 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.7577, allocations: 6.469 kB / 0.7869 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7577, allocations: 4.938 kB / 0.7869 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.7583, allocations: 137.5 kB / 0.787 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.7589, allocations: 155 kB / 0.7872 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006881/0.7596, allocations: 0.7095 MB / 0.7879 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7607, allocations: 124.7 kB / 0.788 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.7608, allocations: 31.92 kB / 0.788 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001026/0.7618, allocations: 0.548 MB / 0.7886 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000671/0.7625, allocations: 0.4921 MB / 0.789 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/0.7637, allocations: 0.7042 MB / 0.7897 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.7637, allocations: 2.578 kB / 0.7897 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004149/0.7678, allocations: 1.266 MB / 0.791 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7679, allocations: 7.75 kB / 0.791 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7679, allocations: 7.969 kB / 0.791 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.7683, allocations: 141.5 kB / 0.7911 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.7689, allocations: 151.8 kB / 0.7913 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006098/0.7695, allocations: 0.7024 MB / 0.7919 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7706, allocations: 100.4 kB / 0.792 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.7706, allocations: 38.86 kB / 0.7921 GB, free: 13.85 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.0002291/0.7709, allocations: 234.8 kB / 0.7923 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.7711, allocations: 135.3 kB / 0.7924 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.7753, allocations: 1.262 MB / 0.7937 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.7753, allocations: 10.38 kB / 0.7937 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7753, allocations: 4 kB / 0.7937 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003645/0.779, allocations: 1.099 MB / 0.7947 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/0.7849, allocations: 2.622 MB / 0.7973 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7849, allocations: 6.375 kB / 0.7973 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.7854, allocations: 112.6 kB / 0.7974 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.7858, allocations: 126.6 kB / 0.7975 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.7859, allocations: 24.67 kB / 0.7976 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004217/0.7901, allocations: 2.631 MB / 0.8001 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7901, allocations: 5.031 kB / 0.8001 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/0.7949, allocations: 1.701 MB / 0.8018 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.7955, allocations: 307.9 kB / 0.8021 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.7957, allocations: 15.47 kB / 0.8021 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/0.7965, allocations: 52.98 kB / 0.8022 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7966, allocations: 64.69 kB / 0.8022 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.7967, allocations: 28.61 kB / 0.8023 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001084/0.7978, allocations: 0.8822 MB / 0.8031 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7978, allocations: 0 / 0.8031 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00204/0.7998, allocations: 0.7226 MB / 0.8038 GB, free: 6.188 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.0008886/0.8007, allocations: 462.2 kB / 0.8043 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.803, allocations: 1.122 MB / 0.8054 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.803, allocations: 1 kB / 0.8054 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.8043, allocations: 0.561 MB / 0.8059 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.8073, allocations: 0.8092 MB / 0.8067 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.8103, allocations: 2.301 MB / 0.8089 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.8108, allocations: 1.164 MB / 0.8101 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.8111, allocations: 111.4 kB / 0.8102 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.8111, allocations: 0 / 0.8102 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of Templates: time 0.03869/0.8498, allocations: 31.54 MB / 0.841 GB, free: 1.27 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)