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.008261/0.008261, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001893/0.001893, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.596/1.596, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9701/0.9701, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 0.5857 GB, free: 3.289 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4361, allocations: 80.92 MB / 0.6647 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07965/0.5158, allocations: 75.21 MB / 0.7381 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.5372, allocations: 15.14 MB / 0.7529 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.5404, allocations: 67.62 kB / 0.753 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.5435, allocations: 0.8502 MB / 0.7538 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008078/0.5517, allocations: 2.718 MB / 0.7565 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.5555, allocations: 1.397 MB / 0.7578 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006101/0.5616, allocations: 4.396 MB / 0.7621 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.5639, allocations: 1.453 MB / 0.7635 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.5677, allocations: 1.675 MB / 0.7652 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.5698, allocations: 1.214 MB / 0.7663 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.5702, allocations: 164 kB / 0.7665 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.5737, allocations: 1.4 MB / 0.7679 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.5743, allocations: 402.6 kB / 0.7683 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.5759, allocations: 0.906 MB / 0.7691 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.581, allocations: 2.865 MB / 0.7719 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.581, allocations: 8 kB / 0.7719 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.581, allocations: 0 / 0.7719 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.534e-05/0.5811, allocations: 0 / 0.7719 GB, free: 3.395 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.004581/0.5857, allocations: 2.091 MB / 0.774 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5857, allocations: 12.03 kB / 0.774 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.5866, allocations: 222.8 kB / 0.7742 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.5894, allocations: 1.528 MB / 0.7757 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.5895, allocations: 78 kB / 0.7758 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.5897, allocations: 100 kB / 0.7759 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.5919, allocations: 1.1 MB / 0.7769 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.5919, allocations: 0 / 0.7769 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.5921, allocations: 44 kB / 0.777 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.5921, allocations: 27.98 kB / 0.777 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.5944, allocations: 0.8939 MB / 0.7779 GB, free: 13.15 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.005951/0.6004, allocations: 4.915 MB / 0.7827 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.6018, allocations: 0.6129 MB / 0.7833 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/0.6026, allocations: 349.2 kB / 0.7836 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/0.6033, allocations: 0.8277 MB / 0.7844 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.6033, allocations: 47.06 kB / 0.7845 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.645e-06/0.6033, allocations: 0 / 0.7845 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007174/0.6105, allocations: 1.685 MB / 0.7861 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.6106, allocations: 59.97 kB / 0.7862 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.6124, allocations: 1.234 MB / 0.7874 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.6126, allocations: 41.7 kB / 0.7874 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.6131, allocations: 0.5987 MB / 0.788 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.6134, allocations: 216.9 kB / 0.7882 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.6136, allocations: 154.5 kB / 0.7884 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.6138, allocations: 337.9 kB / 0.7887 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.6145, allocations: 296.6 kB / 0.789 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009344/0.6155, allocations: 0.489 MB / 0.7894 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.6169, allocations: 0.7167 MB / 0.7901 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6169, allocations: 0 / 0.7901 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004791/0.6217, allocations: 1.265 MB / 0.7914 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6218, allocations: 8 kB / 0.7914 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6218, allocations: 4 kB / 0.7914 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.6224, allocations: 137 kB / 0.7915 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.6231, allocations: 159.7 kB / 0.7917 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008737/0.624, allocations: 0.7123 MB / 0.7924 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6251, allocations: 119 kB / 0.7925 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.6252, allocations: 27.98 kB / 0.7925 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.6263, allocations: 0.5527 MB / 0.793 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008341/0.6272, allocations: 496.8 kB / 0.7935 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001427/0.6286, allocations: 0.709 MB / 0.7942 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.6286, allocations: 0 / 0.7942 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005005/0.6337, allocations: 1.269 MB / 0.7955 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6337, allocations: 7.938 kB / 0.7955 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6337, allocations: 7.938 kB / 0.7955 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.6342, allocations: 141 kB / 0.7956 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.6349, allocations: 155.8 kB / 0.7958 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008677/0.6357, allocations: 0.7045 MB / 0.7964 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.6371, allocations: 103.5 kB / 0.7965 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.6372, allocations: 31.98 kB / 0.7966 GB, free: 9.113 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.0002971/0.6375, allocations: 228 kB / 0.7968 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.6378, allocations: 134.3 kB / 0.7969 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/0.6425, allocations: 1.26 MB / 0.7981 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.6425, allocations: 11.94 kB / 0.7982 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6425, allocations: 0 / 0.7982 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004177/0.6467, allocations: 1.099 MB / 0.7992 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.6536, allocations: 2.618 MB / 0.8018 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6536, allocations: 8.031 kB / 0.8018 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.6541, allocations: 115.8 kB / 0.8019 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/0.6546, allocations: 128.8 kB / 0.802 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.6547, allocations: 19.98 kB / 0.802 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.6598, allocations: 2.633 MB / 0.8046 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.6599, allocations: 7.938 kB / 0.8046 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.6655, allocations: 1.699 MB / 0.8063 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.6662, allocations: 303.2 kB / 0.8066 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.6664, allocations: 16 kB / 0.8066 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.6672, allocations: 55.98 kB / 0.8066 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6674, allocations: 64.25 kB / 0.8067 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.6675, allocations: 27.98 kB / 0.8067 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001266/0.6687, allocations: 0.8819 MB / 0.8076 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6688, allocations: 3.938 kB / 0.8076 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00181/0.6706, allocations: 0.7252 MB / 0.8083 GB, free: 12.68 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.0008604/0.6714, allocations: 470.5 kB / 0.8088 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.6741, allocations: 1.125 MB / 0.8099 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.6742, allocations: 4 kB / 0.8099 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.6757, allocations: 0.5528 MB / 0.8104 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.6793, allocations: 0.7966 MB / 0.8112 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.6831, allocations: 2.271 MB / 0.8134 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.6839, allocations: 1.183 MB / 0.8145 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001333/0.6852, allocations: 314.9 kB / 0.8148 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.6855, allocations: 103.4 kB / 0.8149 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of SimCode: time 1.674e-06/0.6855, allocations: 0 / 0.8149 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of Templates: time 0.05092/0.7364, allocations: 32.42 MB / 0.8466 GB, free: 5.676 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)