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.0009175/0.0009174, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001173/0.001173, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 8 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 82.3 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.4072/0.6076, allocations: 69.44 MB / 0.6552 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.6252, allocations: 14.16 MB / 0.669 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.6282, allocations: 61 kB / 0.6691 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.6305, allocations: 0.5571 MB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.6376, allocations: 1.985 MB / 0.6715 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.6412, allocations: 0.9713 MB / 0.6725 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008526/0.6497, allocations: 4.806 MB / 0.6772 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.6523, allocations: 1.023 MB / 0.6782 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.6562, allocations: 1.278 MB / 0.6794 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.6594, allocations: 1.083 MB / 0.6805 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.6598, allocations: 54.31 kB / 0.6805 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.6635, allocations: 0.9207 MB / 0.6814 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.6639, allocations: 270.6 kB / 0.6817 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009729/0.6649, allocations: 356.5 kB / 0.682 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004124/0.669, allocations: 2.079 MB / 0.6841 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6691, allocations: 0 / 0.6841 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6691, allocations: 0 / 0.6841 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.643e-05/0.6691, allocations: 5.812 kB / 0.6841 GB, free: 10.33 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.004524/0.6737, allocations: 1.798 MB / 0.6858 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.6737, allocations: 9.281 kB / 0.6858 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/0.6746, allocations: 241.1 kB / 0.6861 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.6776, allocations: 1.446 MB / 0.6875 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.6777, allocations: 75.94 kB / 0.6876 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.6779, allocations: 101.3 kB / 0.6877 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.6804, allocations: 1.116 MB / 0.6887 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.6804, allocations: 1.797 kB / 0.6887 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.6805, allocations: 41.34 kB / 0.6888 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.6806, allocations: 29.83 kB / 0.6888 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.6828, allocations: 0.9232 MB / 0.6897 GB, free: 7.281 MB / 0.5137 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.007204/0.69, allocations: 4.905 MB / 0.6945 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.6915, allocations: 0.6381 MB / 0.6951 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.6922, allocations: 369.4 kB / 0.6955 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.6929, allocations: 0.8282 MB / 0.6963 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.6929, allocations: 42.75 kB / 0.6963 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.715e-06/0.6929, allocations: 0 / 0.6963 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006967/0.6999, allocations: 1.894 MB / 0.6982 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.7, allocations: 58.69 kB / 0.6982 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.7023, allocations: 1.197 MB / 0.6994 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.7025, allocations: 46.77 kB / 0.6995 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007458/0.7032, allocations: 0.6049 MB / 0.7 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.7036, allocations: 212.1 kB / 0.7002 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.7036, allocations: 15.34 kB / 0.7003 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7038, allocations: 340.1 kB / 0.7006 GB, free: 396 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.7046, allocations: 293.8 kB / 0.7009 GB, free: 308 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.7054, allocations: 0.5039 MB / 0.7014 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.7062, allocations: 368.6 kB / 0.7017 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.7062, allocations: 1.031 kB / 0.7017 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004472/0.7107, allocations: 1.399 MB / 0.7031 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.7108, allocations: 196.1 kB / 0.7033 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7108, allocations: 4.219 kB / 0.7033 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.7114, allocations: 142.6 kB / 0.7034 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.7121, allocations: 168.6 kB / 0.7036 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008444/0.7129, allocations: 0.7168 MB / 0.7043 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.7144, allocations: 171.6 kB / 0.7044 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.7145, allocations: 26.78 kB / 0.7044 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.7145, allocations: 4.594 kB / 0.7045 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004069/0.7186, allocations: 1.255 MB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7186, allocations: 4.812 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.7191, allocations: 141.5 kB / 0.7058 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.7197, allocations: 176.4 kB / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.7205, allocations: 0.7111 MB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.722, allocations: 166 kB / 0.7068 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.7221, allocations: 31 kB / 0.7069 GB, free: 12.77 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008613/0.7229, allocations: 419.6 kB / 0.7073 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.7232, allocations: 135.5 kB / 0.7074 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/0.7276, allocations: 1.403 MB / 0.7088 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.7276, allocations: 4.531 kB / 0.7088 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.7276, allocations: 0 / 0.7088 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003715/0.7314, allocations: 1.235 MB / 0.71 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/0.7383, allocations: 2.725 MB / 0.7126 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7383, allocations: 8.156 kB / 0.7126 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.7388, allocations: 121.4 kB / 0.7128 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.7393, allocations: 139.1 kB / 0.7129 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.7393, allocations: 25.66 kB / 0.7129 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.7438, allocations: 2.484 MB / 0.7153 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7438, allocations: 2.781 kB / 0.7154 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.7491, allocations: 1.849 MB / 0.7172 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000999/0.7501, allocations: 336.2 kB / 0.7175 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.7505, allocations: 14.69 kB / 0.7175 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.7518, allocations: 88.62 kB / 0.7176 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.752, allocations: 62.38 kB / 0.7176 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.7521, allocations: 27.27 kB / 0.7177 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001432/0.7535, allocations: 0.8661 MB / 0.7185 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7535, allocations: 3.938 kB / 0.7185 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002452/0.756, allocations: 0.7041 MB / 0.7192 GB, free: 4.496 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.7573, allocations: 434.7 kB / 0.7196 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002821/0.7602, allocations: 1.164 MB / 0.7207 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.7602, allocations: 4 kB / 0.7208 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.7616, allocations: 0.5878 MB / 0.7213 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.7655, allocations: 0.7623 MB / 0.7221 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.7707, allocations: 2.775 MB / 0.7248 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.7719, allocations: 1.179 MB / 0.7259 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001363/0.7733, allocations: 309.2 kB / 0.7262 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.7736, allocations: 103.4 kB / 0.7263 GB, free: 13.11 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.7736, allocations: 0 / 0.7263 GB, free: 13.11 MB / 0.545 GB Notification: Performance of Templates: time 0.05214/0.8258, allocations: 29.41 MB / 0.755 GB, free: 24 kB / 0.5606 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)