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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001183/0.001183, allocations: 191.2 kB / 16.25 MB, free: 6.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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.09 kB / 0.5013 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 80.21 MB / 0.5796 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3042/0.4547, allocations: 74.56 MB / 0.6524 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.4698, allocations: 15.03 MB / 0.6671 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.4719, allocations: 64.5 kB / 0.6672 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.4739, allocations: 0.7127 MB / 0.6679 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.4795, allocations: 2.404 MB / 0.6702 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.4826, allocations: 1.278 MB / 0.6714 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005727/0.4883, allocations: 4.425 MB / 0.6758 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.4907, allocations: 1.44 MB / 0.6772 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.4948, allocations: 1.649 MB / 0.6788 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.4971, allocations: 1.254 MB / 0.68 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.4976, allocations: 160.8 kB / 0.6802 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.5012, allocations: 1.417 MB / 0.6815 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006309/0.5018, allocations: 402.8 kB / 0.6819 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.5038, allocations: 0.9062 MB / 0.6828 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.5083, allocations: 2.854 MB / 0.6856 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5083, allocations: 0.7031 kB / 0.6856 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5083, allocations: 0 / 0.6856 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.5084, allocations: 1.5 kB / 0.6856 GB, free: 8.148 MB / 0.5137 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.004323/0.5127, allocations: 2.082 MB / 0.6876 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5128, allocations: 9.062 kB / 0.6876 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009068/0.5137, allocations: 232.3 kB / 0.6879 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.5163, allocations: 1.489 MB / 0.6893 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.5163, allocations: 84 kB / 0.6894 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.5165, allocations: 101.7 kB / 0.6895 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.5186, allocations: 1.106 MB / 0.6906 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.5187, allocations: 1.469 kB / 0.6906 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.5188, allocations: 37.69 kB / 0.6906 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.5188, allocations: 28.91 kB / 0.6906 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.5207, allocations: 0.8906 MB / 0.6915 GB, free: 4.859 MB / 0.5137 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.006691/0.5274, allocations: 4.904 MB / 0.6963 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.5289, allocations: 0.6122 MB / 0.6969 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.5296, allocations: 347.9 kB / 0.6972 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.5303, allocations: 0.8295 MB / 0.698 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.5303, allocations: 42.95 kB / 0.6981 GB, free: 84 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.685e-06/0.5303, allocations: 3.938 kB / 0.6981 GB, free: 80 kB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006883/0.5372, allocations: 1.69 MB / 0.6997 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.5373, allocations: 61.81 kB / 0.6998 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.5391, allocations: 1.218 MB / 0.701 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.5393, allocations: 39.86 kB / 0.701 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005437/0.5398, allocations: 0.6022 MB / 0.7016 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.5401, allocations: 221.2 kB / 0.7018 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.5403, allocations: 151.9 kB / 0.702 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5405, allocations: 337.2 kB / 0.7023 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.5412, allocations: 296.8 kB / 0.7026 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.542, allocations: 494.9 kB / 0.703 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.5434, allocations: 0.7087 MB / 0.7037 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5435, allocations: 5 kB / 0.7037 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004765/0.5482, allocations: 1.269 MB / 0.705 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5483, allocations: 6.375 kB / 0.705 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5483, allocations: 3.812 kB / 0.705 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.5489, allocations: 138.2 kB / 0.7051 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.5495, allocations: 161.7 kB / 0.7053 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009068/0.5504, allocations: 0.7027 MB / 0.706 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.5521, allocations: 155 kB / 0.7061 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.5522, allocations: 39.28 kB / 0.7062 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001502/0.5537, allocations: 0.55 MB / 0.7067 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009294/0.5547, allocations: 496.3 kB / 0.7072 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001526/0.5562, allocations: 0.71 MB / 0.7079 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.382e-06/0.5562, allocations: 0 / 0.7079 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00465/0.5609, allocations: 1.266 MB / 0.7091 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5609, allocations: 6.344 kB / 0.7091 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5609, allocations: 2.875 kB / 0.7091 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.5614, allocations: 142.1 kB / 0.7092 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.562, allocations: 164.8 kB / 0.7094 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007533/0.5628, allocations: 0.7067 MB / 0.7101 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5642, allocations: 134.4 kB / 0.7102 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.5643, allocations: 39.75 kB / 0.7102 GB, free: 9.641 MB / 0.5294 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.0002984/0.5646, allocations: 227 kB / 0.7105 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.565, allocations: 134.6 kB / 0.7106 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.5697, allocations: 1.267 MB / 0.7118 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.5697, allocations: 10.81 kB / 0.7118 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5698, allocations: 0 / 0.7118 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00401/0.5738, allocations: 1.098 MB / 0.7129 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00812/0.5819, allocations: 2.604 MB / 0.7155 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5819, allocations: 5.719 kB / 0.7155 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.5824, allocations: 117 kB / 0.7156 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.5829, allocations: 126.2 kB / 0.7157 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.583, allocations: 19.67 kB / 0.7157 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.5878, allocations: 2.634 MB / 0.7183 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5879, allocations: 9.375 kB / 0.7183 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.5932, allocations: 1.698 MB / 0.72 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.5942, allocations: 311.1 kB / 0.7202 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.5946, allocations: 12 kB / 0.7203 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.5958, allocations: 87.88 kB / 0.7203 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.5959, allocations: 60.25 kB / 0.7204 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/0.596, allocations: 31.97 kB / 0.7204 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001457/0.5975, allocations: 0.8662 MB / 0.7213 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5975, allocations: 0 / 0.7213 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002529/0.6001, allocations: 0.7213 MB / 0.722 GB, free: 228 kB / 0.5294 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.001031/0.6011, allocations: 447.3 kB / 0.7224 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.604, allocations: 1.16 MB / 0.7235 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.604, allocations: 4.188 kB / 0.7235 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.6055, allocations: 0.5602 MB / 0.7241 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/0.6099, allocations: 0.7936 MB / 0.7249 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.6147, allocations: 2.766 MB / 0.7276 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009247/0.6156, allocations: 1.187 MB / 0.7287 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001479/0.6171, allocations: 306.2 kB / 0.729 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.6175, allocations: 107.4 kB / 0.7291 GB, free: 8.863 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.6175, allocations: 0 / 0.7291 GB, free: 8.863 MB / 0.545 GB Notification: Performance of Templates: time 0.05201/0.6695, allocations: 31.6 MB / 0.76 GB, free: 9.66 MB / 0.5762 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)