Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001461/0.00146, allocations: 105.7 kB / 16.27 MB, free: 6.418 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.001138/0.001138, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8114/0.8114, allocations: 135.1 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.91 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4184, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.073/0.4914, allocations: 75.19 MB / 0.6584 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02395/0.5154, allocations: 15.15 MB / 0.6732 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.5185, allocations: 63.67 kB / 0.6733 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.5215, allocations: 0.8306 MB / 0.6741 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008536/0.5301, allocations: 2.584 MB / 0.6766 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.5344, allocations: 1.375 MB / 0.678 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007145/0.5415, allocations: 4.389 MB / 0.6823 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.5444, allocations: 1.445 MB / 0.6837 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/0.5489, allocations: 1.628 MB / 0.6853 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.5513, allocations: 1.217 MB / 0.6864 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005433/0.5519, allocations: 167.9 kB / 0.6866 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.5556, allocations: 1.396 MB / 0.688 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007154/0.5563, allocations: 394.6 kB / 0.6883 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.5583, allocations: 0.906 MB / 0.6892 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.5642, allocations: 2.844 MB / 0.692 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5643, allocations: 0 / 0.692 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5643, allocations: 0 / 0.692 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.582e-05/0.5644, allocations: 4 kB / 0.692 GB, free: 12.74 MB / 0.5294 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.005518/0.5699, allocations: 2.079 MB / 0.694 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.57, allocations: 17.09 kB / 0.6941 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5711, allocations: 226.8 kB / 0.6943 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.5743, allocations: 1.457 MB / 0.6957 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.5744, allocations: 78 kB / 0.6958 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.5747, allocations: 104 kB / 0.6959 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.577, allocations: 1.1 MB / 0.6969 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.5771, allocations: 3.938 kB / 0.6969 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.5772, allocations: 36 kB / 0.697 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.5773, allocations: 32 kB / 0.697 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.5793, allocations: 0.8861 MB / 0.6979 GB, free: 6.574 MB / 0.5294 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.007208/0.5866, allocations: 4.95 MB / 0.7027 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.5881, allocations: 0.6172 MB / 0.7033 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/0.5889, allocations: 348.4 kB / 0.7036 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007057/0.5896, allocations: 0.8277 MB / 0.7045 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.5897, allocations: 43.12 kB / 0.7045 GB, free: 15.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 3.166e-06/0.5897, allocations: 0 / 0.7045 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.007727/0.5974, allocations: 1.701 MB / 0.7062 GB, free: 13.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.5975, allocations: 55.97 kB / 0.7062 GB, free: 13.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.5997, allocations: 1.226 MB / 0.7074 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.5998, allocations: 41.7 kB / 0.7074 GB, free: 12.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.6004, allocations: 0.5988 MB / 0.708 GB, free: 11.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.6007, allocations: 216.8 kB / 0.7082 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.601, allocations: 154.6 kB / 0.7084 GB, free: 11.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6012, allocations: 345.8 kB / 0.7087 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.6019, allocations: 284.7 kB / 0.709 GB, free: 10.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/0.6028, allocations: 0.4976 MB / 0.7095 GB, free: 10.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.6044, allocations: 0.709 MB / 0.7102 GB, free: 9.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6044, allocations: 0 / 0.7102 GB, free: 9.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005192/0.6096, allocations: 1.273 MB / 0.7114 GB, free: 7.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.6096, allocations: 12 kB / 0.7114 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6097, allocations: 4 kB / 0.7114 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.6103, allocations: 128.8 kB / 0.7115 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.611, allocations: 159.8 kB / 0.7117 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008998/0.6119, allocations: 0.7083 MB / 0.7124 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.6131, allocations: 127 kB / 0.7125 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.6132, allocations: 28 kB / 0.7125 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001178/0.6144, allocations: 0.5565 MB / 0.7131 GB, free: 6.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008754/0.6153, allocations: 492.7 kB / 0.7136 GB, free: 5.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001472/0.6168, allocations: 0.709 MB / 0.7142 GB, free: 4.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.6168, allocations: 4 kB / 0.7143 GB, free: 4.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005/0.6218, allocations: 1.265 MB / 0.7155 GB, free: 3.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6218, allocations: 12.03 kB / 0.7155 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6219, allocations: 7.938 kB / 0.7155 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.6224, allocations: 135.7 kB / 0.7156 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.6231, allocations: 163.7 kB / 0.7158 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/0.624, allocations: 0.6967 MB / 0.7165 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6252, allocations: 103.5 kB / 0.7166 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.6253, allocations: 35.98 kB / 0.7166 GB, free: 2.48 MB / 0.545 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.0002897/0.6256, allocations: 231.9 kB / 0.7168 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/0.626, allocations: 130.4 kB / 0.7169 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/0.631, allocations: 1.267 MB / 0.7182 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.631, allocations: 12 kB / 0.7182 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.631, allocations: 0 / 0.7182 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004295/0.6353, allocations: 1.107 MB / 0.7193 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007283/0.6426, allocations: 2.61 MB / 0.7218 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.6427, allocations: 8.094 kB / 0.7218 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.6432, allocations: 111.9 kB / 0.7219 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/0.6437, allocations: 130.4 kB / 0.7221 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.6438, allocations: 19.98 kB / 0.7221 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005461/0.6493, allocations: 2.632 MB / 0.7247 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.6493, allocations: 4 kB / 0.7247 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/0.6551, allocations: 1.699 MB / 0.7263 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/0.6559, allocations: 307.2 kB / 0.7266 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.6563, allocations: 20 kB / 0.7266 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6573, allocations: 51.92 kB / 0.7267 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6575, allocations: 64.25 kB / 0.7267 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.6575, allocations: 27.98 kB / 0.7268 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001639/0.6592, allocations: 0.8818 MB / 0.7276 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6592, allocations: 0 / 0.7276 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002346/0.6616, allocations: 0.7213 MB / 0.7283 GB, free: 6.051 MB / 0.5606 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.001078/0.6626, allocations: 473.9 kB / 0.7288 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.6657, allocations: 1.156 MB / 0.7299 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.6657, allocations: 0 / 0.7299 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.6673, allocations: 0.5571 MB / 0.7305 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/0.6713, allocations: 0.8111 MB / 0.7313 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.6756, allocations: 2.34 MB / 0.7335 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.6765, allocations: 1.176 MB / 0.7347 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.6769, allocations: 111.4 kB / 0.7348 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6769, allocations: 0 / 0.7348 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of Templates: time 0.3357/1.013, allocations: 31.2 MB / 0.7653 GB, free: 145.5 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)