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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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.0009381/0.000938, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.00085/0.0008499, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8273/0.8273, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002973, allocations: 13.44 kB / 0.5068 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 82.31 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2814/0.4228, allocations: 62.97 MB / 0.6487 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4352, allocations: 12.97 MB / 0.6614 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.4368, allocations: 59.16 kB / 0.6614 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.4386, allocations: 0.736 MB / 0.6621 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.4441, allocations: 2.405 MB / 0.6645 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.4479, allocations: 1.517 MB / 0.666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.4516, allocations: 2.514 MB / 0.6684 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.4529, allocations: 1.062 MB / 0.6695 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.455, allocations: 1.161 MB / 0.6706 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.4562, allocations: 0.7886 MB / 0.6714 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.4564, allocations: 55.75 kB / 0.6714 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.4587, allocations: 0.8396 MB / 0.6722 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.459, allocations: 259.6 kB / 0.6725 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.4594, allocations: 357.2 kB / 0.6728 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.4618, allocations: 2.021 MB / 0.6748 GB, free: 24 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.4618, allocations: 0 / 0.6748 GB, free: 24 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4618, allocations: 4 kB / 0.6748 GB, free: 20 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.561e-05/0.4619, allocations: 0 / 0.6748 GB, free: 20 kB / 0.4981 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.003516/0.4654, allocations: 1.775 MB / 0.6765 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.4654, allocations: 13.44 kB / 0.6765 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.4662, allocations: 236.1 kB / 0.6768 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.4686, allocations: 1.374 MB / 0.6781 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/0.4687, allocations: 80.72 kB / 0.6782 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.4688, allocations: 101.2 kB / 0.6783 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.471, allocations: 1.109 MB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.471, allocations: 1.781 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4711, allocations: 41.69 kB / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.4712, allocations: 24.91 kB / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.4732, allocations: 0.9234 MB / 0.6803 GB, free: 13.04 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.006321/0.4795, allocations: 4.961 MB / 0.6852 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.4809, allocations: 0.6281 MB / 0.6858 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.4815, allocations: 0.8292 MB / 0.6866 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.4816, allocations: 38.33 kB / 0.6866 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.4816, allocations: 1.25 kB / 0.6866 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007121/0.4887, allocations: 1.888 MB / 0.6885 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.4888, allocations: 58.86 kB / 0.6885 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.4906, allocations: 1.251 MB / 0.6898 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.4907, allocations: 43.27 kB / 0.6898 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.4913, allocations: 0.605 MB / 0.6904 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.4915, allocations: 210.4 kB / 0.6906 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.4916, allocations: 14.97 kB / 0.6906 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4917, allocations: 334.4 kB / 0.6909 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.4924, allocations: 292.7 kB / 0.6912 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008336/0.4932, allocations: 0.4979 MB / 0.6917 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.494, allocations: 367.1 kB / 0.692 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.494, allocations: 1.25 kB / 0.692 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004822/0.4988, allocations: 1.401 MB / 0.6934 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005545/0.4994, allocations: 1.421 MB / 0.6948 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4994, allocations: 7.719 kB / 0.6948 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.5, allocations: 144.1 kB / 0.6949 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.5007, allocations: 170.9 kB / 0.6951 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008834/0.5016, allocations: 0.7139 MB / 0.6958 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.5033, allocations: 170 kB / 0.696 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.5035, allocations: 31.05 kB / 0.696 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5035, allocations: 2.906 kB / 0.696 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004497/0.508, allocations: 1.253 MB / 0.6972 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.508, allocations: 3.469 kB / 0.6972 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/0.5085, allocations: 143.8 kB / 0.6974 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.5091, allocations: 175.7 kB / 0.6975 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000812/0.51, allocations: 0.714 MB / 0.6982 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.5114, allocations: 164.4 kB / 0.6984 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.5115, allocations: 29.55 kB / 0.6984 GB, free: 1.988 MB / 0.5137 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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008555/0.5124, allocations: 425 kB / 0.6988 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.5126, allocations: 138.8 kB / 0.6989 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.517, allocations: 1.393 MB / 0.7003 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5171, allocations: 10.92 kB / 0.7003 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5171, allocations: 0 / 0.7003 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0039/0.521, allocations: 1.237 MB / 0.7015 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.5273, allocations: 2.756 MB / 0.7042 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.5274, allocations: 7.016 kB / 0.7042 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.5278, allocations: 121.5 kB / 0.7043 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.5283, allocations: 142.2 kB / 0.7045 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.5283, allocations: 20.61 kB / 0.7045 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.5329, allocations: 2.538 MB / 0.707 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5329, allocations: 11.36 kB / 0.707 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.538, allocations: 2.065 MB / 0.709 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/0.5387, allocations: 340.8 kB / 0.7093 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.5389, allocations: 20.23 kB / 0.7093 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.5397, allocations: 92.62 kB / 0.7094 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5398, allocations: 61.05 kB / 0.7095 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.5399, allocations: 35.97 kB / 0.7095 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001304/0.5412, allocations: 0.8936 MB / 0.7104 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5412, allocations: 0 / 0.7104 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001964/0.5432, allocations: 0.726 MB / 0.7111 GB, free: 10.45 MB / 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 (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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007828/0.544, allocations: 447.8 kB / 0.7115 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.5464, allocations: 1.164 MB / 0.7127 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5464, allocations: 3.938 kB / 0.7127 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.5477, allocations: 0.6011 MB / 0.7133 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.551, allocations: 0.7476 MB / 0.714 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.555, allocations: 2.767 MB / 0.7167 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.5557, allocations: 1.21 MB / 0.7179 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001319/0.5571, allocations: 310.9 kB / 0.7182 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.5573, allocations: 107.3 kB / 0.7183 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.5573, allocations: 0 / 0.7183 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of Templates: time 0.04345/0.6007, allocations: 30.07 MB / 0.7476 GB, free: 6.871 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: