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.004119/0.004119, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.0009617/0.0009617, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7255/0.7255, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 71.83 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3864, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0736/0.4601, allocations: 75.2 MB / 0.7331 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.4792, allocations: 15.14 MB / 0.7479 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.4818, allocations: 67.62 kB / 0.748 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.4842, allocations: 0.8267 MB / 0.7488 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00651/0.4907, allocations: 2.591 MB / 0.7513 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.4941, allocations: 1.386 MB / 0.7527 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005167/0.4992, allocations: 4.396 MB / 0.757 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.501, allocations: 1.445 MB / 0.7584 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.504, allocations: 1.643 MB / 0.76 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.5055, allocations: 1.216 MB / 0.7612 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.5057, allocations: 160 kB / 0.7613 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.5083, allocations: 1.404 MB / 0.7627 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.5087, allocations: 398.6 kB / 0.7631 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009064/0.5096, allocations: 0.906 MB / 0.764 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.5133, allocations: 2.89 MB / 0.7668 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5134, allocations: 0 / 0.7668 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5134, allocations: 0 / 0.7668 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.306e-05/0.5134, allocations: 0 / 0.7668 GB, free: 8.23 MB / 0.5919 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.003379/0.5168, allocations: 2.135 MB / 0.7689 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5168, allocations: 12.03 kB / 0.7689 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007464/0.5176, allocations: 235.7 kB / 0.7691 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.5198, allocations: 1.539 MB / 0.7706 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.5199, allocations: 74 kB / 0.7707 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.5201, allocations: 104 kB / 0.7708 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5219, allocations: 1.112 MB / 0.7719 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.522, allocations: 0 / 0.7719 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.5221, allocations: 36 kB / 0.7719 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.5221, allocations: 24 kB / 0.7719 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5239, allocations: 0.8978 MB / 0.7728 GB, free: 1.914 MB / 0.5919 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.005399/0.5293, allocations: 4.924 MB / 0.7776 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.5306, allocations: 0.6136 MB / 0.7782 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.5313, allocations: 346.8 kB / 0.7785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/0.532, allocations: 0.8355 MB / 0.7794 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.532, allocations: 39.12 kB / 0.7794 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/0.532, allocations: 0 / 0.7794 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.006653/0.5387, allocations: 1.698 MB / 0.7811 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5387, allocations: 55.97 kB / 0.7811 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5402, allocations: 1.226 MB / 0.7823 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.5403, allocations: 45.7 kB / 0.7824 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.5408, allocations: 0.6074 MB / 0.7829 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.5409, allocations: 230 kB / 0.7832 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.5412, allocations: 154.6 kB / 0.7833 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5413, allocations: 337.9 kB / 0.7836 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.5419, allocations: 288.7 kB / 0.7839 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.5427, allocations: 0.489 MB / 0.7844 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.544, allocations: 0.709 MB / 0.7851 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.544, allocations: 0 / 0.7851 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004255/0.5483, allocations: 1.285 MB / 0.7863 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5483, allocations: 8 kB / 0.7863 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5483, allocations: 8 kB / 0.7863 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/0.5489, allocations: 135.1 kB / 0.7865 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.5494, allocations: 163.8 kB / 0.7866 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007633/0.5502, allocations: 0.7006 MB / 0.7873 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.5511, allocations: 119.4 kB / 0.7874 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.5512, allocations: 31.98 kB / 0.7875 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009673/0.5521, allocations: 0.5565 MB / 0.788 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007482/0.5529, allocations: 497.5 kB / 0.7885 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/0.5542, allocations: 0.709 MB / 0.7892 GB, free: 304 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.5542, allocations: 0 / 0.7892 GB, free: 304 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004253/0.5584, allocations: 1.277 MB / 0.7904 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5585, allocations: 15.88 kB / 0.7904 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5585, allocations: 4 kB / 0.7904 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004602/0.559, allocations: 129.1 kB / 0.7906 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.5595, allocations: 159.8 kB / 0.7907 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007426/0.5603, allocations: 0.7074 MB / 0.7914 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/0.5612, allocations: 99.66 kB / 0.7915 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.5613, allocations: 35.98 kB / 0.7915 GB, free: 13.84 MB / 0.6231 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.0002207/0.5615, allocations: 229.9 kB / 0.7918 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.5617, allocations: 147.1 kB / 0.7919 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.566, allocations: 1.256 MB / 0.7931 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.566, allocations: 11.98 kB / 0.7931 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.566, allocations: 0 / 0.7931 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00377/0.5698, allocations: 1.111 MB / 0.7942 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005979/0.5758, allocations: 2.606 MB / 0.7968 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.5758, allocations: 4.438 kB / 0.7968 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.5763, allocations: 119.8 kB / 0.7969 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.5768, allocations: 124.8 kB / 0.797 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.5768, allocations: 27.92 kB / 0.797 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.5815, allocations: 2.629 MB / 0.7996 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5815, allocations: 7.984 kB / 0.7996 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004992/0.5865, allocations: 1.712 MB / 0.8013 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/0.5872, allocations: 315.9 kB / 0.8016 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.5874, allocations: 12 kB / 0.8016 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007757/0.5882, allocations: 60 kB / 0.8016 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.5884, allocations: 56.3 kB / 0.8017 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.5884, allocations: 27.98 kB / 0.8017 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001161/0.5896, allocations: 0.8818 MB / 0.8026 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.843e-06/0.5896, allocations: 0 / 0.8026 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001725/0.5913, allocations: 0.733 MB / 0.8033 GB, free: 1.375 MB / 0.6231 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.0008912/0.5922, allocations: 464.8 kB / 0.8037 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.5948, allocations: 1.117 MB / 0.8048 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.5948, allocations: 4 kB / 0.8048 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.5963, allocations: 0.5642 MB / 0.8054 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.5998, allocations: 0.807 MB / 0.8062 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.6033, allocations: 2.308 MB / 0.8084 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.604, allocations: 1.183 MB / 0.8096 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001034/0.6051, allocations: 298.6 kB / 0.8099 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.6053, allocations: 107.4 kB / 0.81 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of SimCode: time 1.724e-06/0.6053, allocations: 3.938 kB / 0.81 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.04665/0.652, allocations: 32.42 MB / 0.8416 GB, free: 10.43 MB / 0.67 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)