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.001426/0.001426, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001797/0.001797, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7872/0.7872, allocations: 132.2 MB / 422.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 59.91 kB / 0.5019 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4397, allocations: 80.21 MB / 0.5802 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07653/0.5163, allocations: 74.56 MB / 0.653 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02105/0.5374, allocations: 15.02 MB / 0.6677 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.5407, allocations: 59.62 kB / 0.6678 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.543, allocations: 0.7189 MB / 0.6685 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006973/0.55, allocations: 2.411 MB / 0.6708 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.5534, allocations: 1.28 MB / 0.6721 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006108/0.5595, allocations: 4.417 MB / 0.6764 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.5617, allocations: 1.457 MB / 0.6778 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.5657, allocations: 1.635 MB / 0.6794 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.5674, allocations: 1.252 MB / 0.6806 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.5676, allocations: 168 kB / 0.6808 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.5706, allocations: 1.419 MB / 0.6822 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.5711, allocations: 402.6 kB / 0.6825 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.5722, allocations: 0.9021 MB / 0.6834 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.5754, allocations: 2.238 MB / 0.6856 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5754, allocations: 0 / 0.6856 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5754, allocations: 3.938 kB / 0.6856 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.5754, allocations: 4 kB / 0.6856 GB, free: 5.422 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.00366/0.5791, allocations: 2.083 MB / 0.6877 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5791, allocations: 8.031 kB / 0.6877 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007856/0.5799, allocations: 234.8 kB / 0.6879 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.5824, allocations: 1.489 MB / 0.6893 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/0.5825, allocations: 78 kB / 0.6894 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.5827, allocations: 100 kB / 0.6895 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.5853, allocations: 1.1 MB / 0.6906 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.5854, allocations: 3.984 kB / 0.6906 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.5855, allocations: 40 kB / 0.6906 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.5856, allocations: 31.98 kB / 0.6907 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.5881, allocations: 0.89 MB / 0.6915 GB, free: 15.21 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.008268/0.5964, allocations: 4.915 MB / 0.6963 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.5983, allocations: 0.6165 MB / 0.6969 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009567/0.5993, allocations: 343.1 kB / 0.6973 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008573/0.6001, allocations: 0.8277 MB / 0.6981 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.6002, allocations: 39.12 kB / 0.6981 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.619e-06/0.6002, allocations: 0 / 0.6981 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008626/0.6088, allocations: 1.693 MB / 0.6998 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.6089, allocations: 63.91 kB / 0.6998 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.6114, allocations: 1.214 MB / 0.701 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.6115, allocations: 37.7 kB / 0.701 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/0.6123, allocations: 0.6065 MB / 0.7016 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.6126, allocations: 216.9 kB / 0.7018 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.613, allocations: 154.6 kB / 0.702 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6132, allocations: 341.9 kB / 0.7023 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/0.6141, allocations: 288.7 kB / 0.7026 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.6153, allocations: 0.489 MB / 0.7031 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.6173, allocations: 0.7051 MB / 0.7038 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6173, allocations: 0 / 0.7038 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004794/0.6221, allocations: 1.273 MB / 0.705 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6221, allocations: 12 kB / 0.705 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.6221, allocations: 4 kB / 0.705 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.6229, allocations: 140.3 kB / 0.7051 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.6236, allocations: 159.8 kB / 0.7053 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009611/0.6245, allocations: 0.7006 MB / 0.706 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.6259, allocations: 161.2 kB / 0.7061 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.626, allocations: 35.98 kB / 0.7062 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/0.6272, allocations: 0.5565 MB / 0.7067 GB, free: 14.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008765/0.6281, allocations: 0.4889 MB / 0.7072 GB, free: 14.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/0.6296, allocations: 0.7051 MB / 0.7079 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.603e-06/0.6296, allocations: 4 kB / 0.7079 GB, free: 13.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004772/0.6344, allocations: 1.269 MB / 0.7091 GB, free: 12.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6344, allocations: 8 kB / 0.7091 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.6344, allocations: 7.938 kB / 0.7091 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.6351, allocations: 132.8 kB / 0.7093 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.6358, allocations: 159.8 kB / 0.7094 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008895/0.6367, allocations: 0.6967 MB / 0.7101 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6382, allocations: 139.5 kB / 0.7102 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/0.6383, allocations: 35.98 kB / 0.7103 GB, free: 11.12 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.0003411/0.6386, allocations: 224.7 kB / 0.7105 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.6391, allocations: 138.3 kB / 0.7106 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004774/0.6439, allocations: 1.271 MB / 0.7118 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.6439, allocations: 8 kB / 0.7119 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6439, allocations: 0 / 0.7119 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004215/0.6482, allocations: 1.099 MB / 0.7129 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007125/0.6553, allocations: 2.606 MB / 0.7155 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.6554, allocations: 4 kB / 0.7155 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.6559, allocations: 111.8 kB / 0.7156 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.6564, allocations: 132.8 kB / 0.7157 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.6565, allocations: 19.98 kB / 0.7157 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.6616, allocations: 2.63 MB / 0.7183 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.6617, allocations: 7.938 kB / 0.7183 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.6672, allocations: 1.699 MB / 0.72 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/0.6682, allocations: 311.1 kB / 0.7203 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.6687, allocations: 16 kB / 0.7203 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.6699, allocations: 83.88 kB / 0.7204 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.6701, allocations: 60.25 kB / 0.7204 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6702, allocations: 35.98 kB / 0.7205 GB, free: 284 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00173/0.6719, allocations: 0.8662 MB / 0.7213 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6719, allocations: 0 / 0.7213 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002622/0.6746, allocations: 0.7174 MB / 0.722 GB, free: 14.69 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.001163/0.6757, allocations: 447.4 kB / 0.7224 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003132/0.6789, allocations: 1.153 MB / 0.7235 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6789, allocations: 0 / 0.7235 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.6805, allocations: 0.5604 MB / 0.7241 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/0.6848, allocations: 0.8112 MB / 0.7249 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.69, allocations: 2.8 MB / 0.7276 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.6911, allocations: 1.164 MB / 0.7288 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.6916, allocations: 111.4 kB / 0.7289 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.6916, allocations: 4 kB / 0.7289 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of Templates: time 0.04616/0.7377, allocations: 30.97 MB / 0.7591 GB, free: 8.852 MB / 0.5919 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)