Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005442/0.005442, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001067/0.001067, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.283/1.283, 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.7302/0.7302, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5814 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4122, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06771/0.48, allocations: 75.2 MB / 0.7332 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.4994, allocations: 15.13 MB / 0.7479 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.502, allocations: 67.62 kB / 0.748 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.5047, allocations: 0.8228 MB / 0.7488 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007475/0.5123, allocations: 2.595 MB / 0.7513 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.516, allocations: 1.395 MB / 0.7527 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005957/0.522, allocations: 4.403 MB / 0.757 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.5243, allocations: 1.445 MB / 0.7584 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.5281, allocations: 1.633 MB / 0.76 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.5306, allocations: 1.224 MB / 0.7612 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.5311, allocations: 167.9 kB / 0.7614 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.5344, allocations: 1.419 MB / 0.7627 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.535, allocations: 398.6 kB / 0.7631 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.5365, allocations: 0.9099 MB / 0.764 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.5412, allocations: 2.905 MB / 0.7668 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5412, allocations: 7.922 kB / 0.7669 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5412, allocations: 0 / 0.7669 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.564e-05/0.5413, allocations: 0 / 0.7669 GB, free: 8.16 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.004164/0.5454, allocations: 2.151 MB / 0.769 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5455, allocations: 8.031 kB / 0.769 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/0.5463, allocations: 239.7 kB / 0.7692 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.549, allocations: 1.541 MB / 0.7707 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.549, allocations: 74 kB / 0.7708 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.5492, allocations: 108 kB / 0.7709 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.5513, allocations: 1.104 MB / 0.7719 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.5513, allocations: 0 / 0.7719 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/0.5514, allocations: 43.94 kB / 0.772 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.5515, allocations: 27.94 kB / 0.772 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.5533, allocations: 0.8978 MB / 0.7729 GB, free: 1.816 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.005932/0.5593, allocations: 4.924 MB / 0.7777 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.5606, allocations: 0.6173 MB / 0.7783 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.5613, allocations: 351.1 kB / 0.7786 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006315/0.562, allocations: 0.8277 MB / 0.7794 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.562, allocations: 47.11 kB / 0.7795 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.562, allocations: 4 kB / 0.7795 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.004595/0.5666, allocations: 1.402 MB / 0.7809 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.5667, allocations: 63.91 kB / 0.7809 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.5683, allocations: 1.23 MB / 0.7821 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.772e-05/0.5684, allocations: 41.7 kB / 0.7822 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.5689, allocations: 0.6152 MB / 0.7828 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.5691, allocations: 226 kB / 0.783 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.5694, allocations: 162.5 kB / 0.7831 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5695, allocations: 337.9 kB / 0.7835 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.5702, allocations: 288.7 kB / 0.7837 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/0.571, allocations: 491.8 kB / 0.7842 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.5724, allocations: 0.7121 MB / 0.7849 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5724, allocations: 0 / 0.7849 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004362/0.5767, allocations: 1.27 MB / 0.7861 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.5768, allocations: 8 kB / 0.7861 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5768, allocations: 0 / 0.7861 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.5774, allocations: 156.9 kB / 0.7863 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.578, allocations: 159.8 kB / 0.7865 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/0.579, allocations: 0.7235 MB / 0.7872 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5801, allocations: 115.4 kB / 0.7873 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.5802, allocations: 35.92 kB / 0.7873 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001068/0.5813, allocations: 0.5565 MB / 0.7878 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007849/0.5821, allocations: 496.6 kB / 0.7883 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001294/0.5834, allocations: 0.7081 MB / 0.789 GB, free: 480 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.5834, allocations: 0 / 0.789 GB, free: 480 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004363/0.5878, allocations: 1.266 MB / 0.7902 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5878, allocations: 13.56 kB / 0.7903 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5878, allocations: 0 / 0.7903 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.5885, allocations: 152.7 kB / 0.7904 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.5891, allocations: 151.8 kB / 0.7906 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/0.5901, allocations: 0.7201 MB / 0.7913 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5912, allocations: 103.7 kB / 0.7914 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/0.5913, allocations: 31.98 kB / 0.7914 GB, free: 14 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.5916, allocations: 228.8 kB / 0.7916 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.592, allocations: 143 kB / 0.7917 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.5968, allocations: 1.248 MB / 0.793 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.5969, allocations: 12 kB / 0.793 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.5969, allocations: 7.984 kB / 0.793 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003856/0.6008, allocations: 1.088 MB / 0.794 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/0.6051, allocations: 2.318 MB / 0.7963 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.6051, allocations: 4 kB / 0.7963 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.6056, allocations: 119.8 kB / 0.7964 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005683/0.6062, allocations: 156.8 kB / 0.7966 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.6062, allocations: 19.98 kB / 0.7966 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007713/0.607, allocations: 0.7084 MB / 0.7973 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.607, allocations: 7.938 kB / 0.7973 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.6097, allocations: 1.396 MB / 0.7987 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/0.6103, allocations: 315.9 kB / 0.799 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.6105, allocations: 19.98 kB / 0.799 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.6113, allocations: 56 kB / 0.799 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6114, allocations: 56.25 kB / 0.7991 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.6115, allocations: 31.98 kB / 0.7991 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001197/0.6127, allocations: 0.8818 MB / 0.8 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6127, allocations: 0 / 0.8 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001686/0.6144, allocations: 0.7173 MB / 0.8007 GB, free: 4.203 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009051/0.6153, allocations: 477.7 kB / 0.8011 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.6178, allocations: 1.117 MB / 0.8022 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6179, allocations: 0 / 0.8022 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008839/0.6188, allocations: 399.2 kB / 0.8026 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/0.6219, allocations: 0.8077 MB / 0.8034 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.6255, allocations: 2.311 MB / 0.8056 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.6262, allocations: 1.18 MB / 0.8068 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009659/0.6272, allocations: 302.4 kB / 0.8071 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.6275, allocations: 111.3 kB / 0.8072 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of SimCode: time 1.9e-07/0.6275, allocations: 0 / 0.8072 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.04738/0.6748, allocations: 32.26 MB / 0.8387 GB, free: 13.59 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)