Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.00946/0.00946, allocations: 102.2 kB / 15.73 MB, free: 6.488 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.002044/0.002044, allocations: 199.6 kB / 16.68 MB, free: 6.375 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9331/0.9331, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.91 kB / 0.5857 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4073, allocations: 80.91 MB / 0.6647 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06893/0.4763, allocations: 75.21 MB / 0.7381 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.496, allocations: 15.13 MB / 0.7529 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.4985, allocations: 67.62 kB / 0.753 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.5007, allocations: 0.8502 MB / 0.7538 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006322/0.5071, allocations: 2.724 MB / 0.7565 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5103, allocations: 1.393 MB / 0.7578 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005053/0.5154, allocations: 4.408 MB / 0.7621 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.5174, allocations: 1.453 MB / 0.7635 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.5208, allocations: 1.681 MB / 0.7652 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.5228, allocations: 1.221 MB / 0.7664 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004171/0.5232, allocations: 160 kB / 0.7665 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.5263, allocations: 1.423 MB / 0.7679 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005646/0.5269, allocations: 402.6 kB / 0.7683 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.5284, allocations: 0.906 MB / 0.7692 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.5331, allocations: 2.896 MB / 0.772 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5331, allocations: 0 / 0.772 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5331, allocations: 0 / 0.772 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.796e-05/0.5332, allocations: 0 / 0.772 GB, free: 3.344 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.004197/0.5374, allocations: 2.098 MB / 0.7741 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5375, allocations: 8.031 kB / 0.7741 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.5382, allocations: 226.9 kB / 0.7743 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.5407, allocations: 1.532 MB / 0.7758 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.5408, allocations: 74 kB / 0.7759 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.5409, allocations: 104 kB / 0.776 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.5428, allocations: 1.116 MB / 0.777 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.5428, allocations: 3.938 kB / 0.7771 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.5429, allocations: 36 kB / 0.7771 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.5429, allocations: 28 kB / 0.7771 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.5447, allocations: 0.8939 MB / 0.778 GB, free: 13.07 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.005915/0.5506, allocations: 4.915 MB / 0.7828 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.552, allocations: 0.6244 MB / 0.7834 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.5527, allocations: 347.1 kB / 0.7837 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.5534, allocations: 0.8355 MB / 0.7845 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.5535, allocations: 39.12 kB / 0.7846 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/0.5535, allocations: 7.938 kB / 0.7846 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.004675/0.5582, allocations: 1.397 MB / 0.786 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.5582, allocations: 59.97 kB / 0.786 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.5599, allocations: 1.23 MB / 0.7872 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.56, allocations: 45.7 kB / 0.7873 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.5605, allocations: 0.6065 MB / 0.7878 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.5607, allocations: 212.9 kB / 0.788 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.561, allocations: 158.5 kB / 0.7882 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5611, allocations: 337.9 kB / 0.7885 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.5617, allocations: 288.7 kB / 0.7888 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/0.5625, allocations: 499.8 kB / 0.7893 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.5638, allocations: 0.7082 MB / 0.79 GB, free: 124 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5639, allocations: 0 / 0.79 GB, free: 124 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004219/0.5681, allocations: 1.273 MB / 0.7912 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5681, allocations: 11.94 kB / 0.7912 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5681, allocations: 0 / 0.7912 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.5688, allocations: 156.8 kB / 0.7914 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.5694, allocations: 151.8 kB / 0.7915 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/0.5702, allocations: 0.72 MB / 0.7922 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.5712, allocations: 115.2 kB / 0.7923 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.5712, allocations: 35.98 kB / 0.7924 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001002/0.5722, allocations: 0.5502 MB / 0.7929 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007398/0.573, allocations: 495.8 kB / 0.7934 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001265/0.5743, allocations: 0.7043 MB / 0.7941 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.5743, allocations: 0 / 0.7941 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004219/0.5785, allocations: 1.257 MB / 0.7953 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5785, allocations: 8.375 kB / 0.7953 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5785, allocations: 4 kB / 0.7953 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/0.5791, allocations: 152.7 kB / 0.7954 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.5797, allocations: 163.7 kB / 0.7956 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007831/0.5805, allocations: 0.7123 MB / 0.7963 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5816, allocations: 99.52 kB / 0.7964 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.5817, allocations: 35.98 kB / 0.7964 GB, free: 9.297 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.0002873/0.582, allocations: 231.9 kB / 0.7966 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.5823, allocations: 134.3 kB / 0.7968 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.5865, allocations: 1.256 MB / 0.798 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5866, allocations: 11.98 kB / 0.798 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5866, allocations: 4 kB / 0.798 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003579/0.5902, allocations: 1.084 MB / 0.7991 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.594, allocations: 2.321 MB / 0.8013 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.594, allocations: 4 kB / 0.8013 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.5945, allocations: 111.9 kB / 0.8015 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/0.595, allocations: 153.2 kB / 0.8016 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.5951, allocations: 27.98 kB / 0.8016 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007407/0.5958, allocations: 0.7006 MB / 0.8023 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.5959, allocations: 7.938 kB / 0.8023 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.5984, allocations: 1.395 MB / 0.8037 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.5989, allocations: 303.2 kB / 0.804 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.5991, allocations: 23.98 kB / 0.804 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.5998, allocations: 56 kB / 0.804 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.6, allocations: 56.19 kB / 0.8041 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.6, allocations: 31.98 kB / 0.8041 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001201/0.6012, allocations: 0.8857 MB / 0.805 GB, free: 244 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6012, allocations: 0 / 0.805 GB, free: 244 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001728/0.603, allocations: 0.7097 MB / 0.8057 GB, free: 15.52 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008865/0.6039, allocations: 469.3 kB / 0.8061 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.6065, allocations: 1.121 MB / 0.8072 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6065, allocations: 3.938 kB / 0.8072 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.6074, allocations: 391.3 kB / 0.8076 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.6106, allocations: 0.8044 MB / 0.8084 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.6145, allocations: 2.284 MB / 0.8106 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000803/0.6153, allocations: 1.172 MB / 0.8118 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001134/0.6164, allocations: 315 kB / 0.8121 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.6167, allocations: 107.4 kB / 0.8122 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.6167, allocations: 0 / 0.8122 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of Templates: time 0.05042/0.6671, allocations: 32.24 MB / 0.8437 GB, free: 8.879 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)