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.007905/0.007905, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.00134/0.00134, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.042/1.042, allocations: 135.1 MB / 425.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 0.5857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3922, allocations: 80.92 MB / 0.6647 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06853/0.4608, allocations: 75.2 MB / 0.7381 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.4802, allocations: 15.13 MB / 0.7529 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.4826, allocations: 67.62 kB / 0.753 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.485, allocations: 0.8306 MB / 0.7538 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00723/0.4923, allocations: 2.584 MB / 0.7563 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.4958, allocations: 1.389 MB / 0.7577 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005709/0.5015, allocations: 4.389 MB / 0.7619 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.5039, allocations: 1.457 MB / 0.7634 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.5076, allocations: 1.635 MB / 0.765 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.5096, allocations: 1.21 MB / 0.7661 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.5099, allocations: 164 kB / 0.7663 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.5127, allocations: 1.4 MB / 0.7677 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.5132, allocations: 394.6 kB / 0.768 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5142, allocations: 0.9099 MB / 0.7689 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.5183, allocations: 2.883 MB / 0.7717 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5183, allocations: 0 / 0.7717 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5183, allocations: 4 kB / 0.7717 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.88e-05/0.5183, allocations: 7.938 kB / 0.7718 GB, free: 3.617 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.003533/0.5219, allocations: 2.132 MB / 0.7738 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5219, allocations: 8.031 kB / 0.7738 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.5227, allocations: 243.7 kB / 0.7741 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.5251, allocations: 1.54 MB / 0.7756 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.5252, allocations: 74 kB / 0.7757 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.5253, allocations: 100 kB / 0.7757 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5273, allocations: 1.1 MB / 0.7768 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.5273, allocations: 0 / 0.7768 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.5274, allocations: 47.98 kB / 0.7769 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.5275, allocations: 24 kB / 0.7769 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.5297, allocations: 0.89 MB / 0.7778 GB, free: 13.31 MB / 0.6075 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.00569/0.5354, allocations: 4.932 MB / 0.7826 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.5368, allocations: 0.6196 MB / 0.7832 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.5376, allocations: 355.6 kB / 0.7835 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/0.5382, allocations: 0.8238 MB / 0.7843 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5382, allocations: 43.12 kB / 0.7844 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 1.954e-06/0.5382, allocations: 0 / 0.7844 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007169/0.5454, allocations: 1.694 MB / 0.786 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5455, allocations: 63.97 kB / 0.7861 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.5471, allocations: 1.226 MB / 0.7873 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/0.5472, allocations: 41.7 kB / 0.7873 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.5478, allocations: 0.6074 MB / 0.7879 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.548, allocations: 230 kB / 0.7881 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.5483, allocations: 150.6 kB / 0.7883 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5484, allocations: 337.9 kB / 0.7886 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/0.5491, allocations: 288.7 kB / 0.7889 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/0.5499, allocations: 0.4968 MB / 0.7894 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.5513, allocations: 0.7011 MB / 0.79 GB, free: 52 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5514, allocations: 8 kB / 0.79 GB, free: 44 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004685/0.556, allocations: 1.277 MB / 0.7913 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5561, allocations: 6.969 kB / 0.7913 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5561, allocations: 4 kB / 0.7913 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/0.5568, allocations: 156.9 kB / 0.7915 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.5575, allocations: 151.8 kB / 0.7916 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009243/0.5584, allocations: 0.7045 MB / 0.7923 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.5595, allocations: 111.3 kB / 0.7924 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.5596, allocations: 35.98 kB / 0.7924 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001092/0.5607, allocations: 0.5581 MB / 0.793 GB, free: 13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008361/0.5615, allocations: 492.7 kB / 0.7934 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/0.5629, allocations: 0.7051 MB / 0.7941 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.5629, allocations: 0 / 0.7941 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004762/0.5677, allocations: 1.285 MB / 0.7954 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5677, allocations: 11.88 kB / 0.7954 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.5678, allocations: 7.938 kB / 0.7954 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.5683, allocations: 141.1 kB / 0.7955 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.5689, allocations: 155.8 kB / 0.7957 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/0.5697, allocations: 0.7007 MB / 0.7964 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5708, allocations: 107.5 kB / 0.7965 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.5709, allocations: 27.98 kB / 0.7965 GB, free: 9.227 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.000268/0.5712, allocations: 236 kB / 0.7967 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.5714, allocations: 143.1 kB / 0.7969 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.5759, allocations: 1.264 MB / 0.7981 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.576, allocations: 15.97 kB / 0.7981 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.576, allocations: 0 / 0.7981 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004003/0.58, allocations: 1.099 MB / 0.7992 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006533/0.5865, allocations: 2.618 MB / 0.8017 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.5866, allocations: 4 kB / 0.8017 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.5871, allocations: 111.8 kB / 0.8019 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.5876, allocations: 136.8 kB / 0.802 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.5877, allocations: 19.98 kB / 0.802 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005117/0.5928, allocations: 2.626 MB / 0.8046 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5928, allocations: 7.938 kB / 0.8046 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/0.5982, allocations: 1.7 MB / 0.8062 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/0.599, allocations: 319.9 kB / 0.8065 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.5993, allocations: 16 kB / 0.8066 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6004, allocations: 52 kB / 0.8066 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6006, allocations: 68.23 kB / 0.8067 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/0.6007, allocations: 28.09 kB / 0.8067 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001667/0.6023, allocations: 0.8857 MB / 0.8076 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6024, allocations: 4 kB / 0.8076 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00236/0.6047, allocations: 0.7251 MB / 0.8083 GB, free: 12.75 MB / 0.6387 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.001131/0.6059, allocations: 464.2 kB / 0.8087 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.6087, allocations: 1.125 MB / 0.8098 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6087, allocations: 0 / 0.8098 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.6103, allocations: 0.5566 MB / 0.8104 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/0.6141, allocations: 0.8048 MB / 0.8111 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.6184, allocations: 2.316 MB / 0.8134 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009799/0.6194, allocations: 1.175 MB / 0.8146 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001239/0.6206, allocations: 311 kB / 0.8149 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6209, allocations: 103.4 kB / 0.8149 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.621, allocations: 0 / 0.8149 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of Templates: time 0.05146/0.6724, allocations: 32.42 MB / 0.8466 GB, free: 5.715 MB / 0.67 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)