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.001623/0.001622, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001664/0.001665, allocations: 187 kB / 17.34 MB, free: 5.742 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.75 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06939/0.2374, allocations: 75.21 MB / 0.7388 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4477/0.6852, allocations: 15.12 MB / 0.7535 GB, free: 26.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.6888, allocations: 66.75 kB / 0.7536 GB, free: 26.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.6918, allocations: 0.8303 MB / 0.7544 GB, free: 26.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008873/0.7007, allocations: 2.592 MB / 0.757 GB, free: 26.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.705, allocations: 1.389 MB / 0.7583 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008837/0.7138, allocations: 4.392 MB / 0.7626 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003618/0.7175, allocations: 1.443 MB / 0.764 GB, free: 26.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.7234, allocations: 1.68 MB / 0.7656 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.7269, allocations: 1.227 MB / 0.7668 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005262/0.7275, allocations: 163.4 kB / 0.767 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.7323, allocations: 1.426 MB / 0.7684 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.7329, allocations: 402.2 kB / 0.7688 GB, free: 25.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.7349, allocations: 0.9091 MB / 0.7697 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006413/0.7413, allocations: 2.892 MB / 0.7725 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7414, allocations: 0 / 0.7725 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7414, allocations: 0 / 0.7725 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.559e-05/0.7414, allocations: 1.281 kB / 0.7725 GB, free: 25.24 MB / 0.5762 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.004728/0.7462, allocations: 2.1 MB / 0.7745 GB, free: 24.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7462, allocations: 11.14 kB / 0.7746 GB, free: 24.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.7472, allocations: 228.1 kB / 0.7748 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.7499, allocations: 1.525 MB / 0.7763 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.75, allocations: 78.06 kB / 0.7763 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7502, allocations: 109 kB / 0.7764 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.7525, allocations: 1.102 MB / 0.7775 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.7525, allocations: 1.062 kB / 0.7775 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7526, allocations: 38.69 kB / 0.7776 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.7527, allocations: 25.84 kB / 0.7776 GB, free: 23.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.7547, allocations: 0.8932 MB / 0.7784 GB, free: 23.52 MB / 0.5762 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.006382/0.7611, allocations: 4.915 MB / 0.7832 GB, free: 20.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.7625, allocations: 0.6138 MB / 0.7838 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.7633, allocations: 353.1 kB / 0.7842 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.7638, allocations: 0.8322 MB / 0.785 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.7638, allocations: 50.5 kB / 0.785 GB, free: 19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.946e-06/0.7638, allocations: 0 / 0.785 GB, free: 19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.005182/0.769, allocations: 1.403 MB / 0.7864 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.7691, allocations: 57.31 kB / 0.7865 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.7708, allocations: 1.242 MB / 0.7877 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7709, allocations: 38.36 kB / 0.7877 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.7713, allocations: 0.6085 MB / 0.7883 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.7715, allocations: 213.8 kB / 0.7885 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.7718, allocations: 156.6 kB / 0.7887 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.7718, allocations: 336.3 kB / 0.789 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.7724, allocations: 291.9 kB / 0.7893 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.7732, allocations: 492.1 kB / 0.7897 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.7745, allocations: 0.7076 MB / 0.7904 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7745, allocations: 5.219 kB / 0.7904 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004757/0.7793, allocations: 1.271 MB / 0.7917 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7794, allocations: 7.75 kB / 0.7917 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7794, allocations: 2.406 kB / 0.7917 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000665/0.78, allocations: 156.3 kB / 0.7918 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.7806, allocations: 164.5 kB / 0.792 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/0.7814, allocations: 0.7059 MB / 0.7927 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7827, allocations: 111.9 kB / 0.7928 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.7828, allocations: 41.14 kB / 0.7928 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001118/0.7839, allocations: 0.5576 MB / 0.7934 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006962/0.7846, allocations: 495.9 kB / 0.7938 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/0.7858, allocations: 0.7016 MB / 0.7945 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.7858, allocations: 0 / 0.7945 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00454/0.7904, allocations: 1.259 MB / 0.7958 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7904, allocations: 11.47 kB / 0.7958 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7904, allocations: 4.625 kB / 0.7958 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.791, allocations: 158.2 kB / 0.7959 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.7916, allocations: 152.4 kB / 0.7961 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006966/0.7923, allocations: 0.7279 MB / 0.7968 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.7937, allocations: 106.1 kB / 0.7969 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.7937, allocations: 32.19 kB / 0.7969 GB, free: 11.84 MB / 0.5762 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.0002807/0.794, allocations: 220.9 kB / 0.7971 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.7943, allocations: 136.2 kB / 0.7972 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004563/0.7989, allocations: 1.255 MB / 0.7985 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.7989, allocations: 8.344 kB / 0.7985 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7989, allocations: 0 / 0.7985 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/0.8028, allocations: 1.09 MB / 0.7995 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/0.8075, allocations: 2.313 MB / 0.8018 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.8075, allocations: 3.094 kB / 0.8018 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.808, allocations: 116.9 kB / 0.8019 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005829/0.8086, allocations: 151.9 kB / 0.8021 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.8087, allocations: 23.02 kB / 0.8021 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006915/0.8094, allocations: 0.7047 MB / 0.8028 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8094, allocations: 2.5 kB / 0.8028 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.8122, allocations: 1.399 MB / 0.8041 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.8131, allocations: 306.7 kB / 0.8044 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/0.8136, allocations: 15.25 kB / 0.8045 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.8147, allocations: 64.08 kB / 0.8045 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.8149, allocations: 54.88 kB / 0.8046 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.815, allocations: 29.58 kB / 0.8046 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001534/0.8165, allocations: 0.8842 MB / 0.8055 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8165, allocations: 0 / 0.8055 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002523/0.819, allocations: 0.7145 MB / 0.8062 GB, free: 6.004 MB / 0.5762 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.001045/0.8201, allocations: 473.8 kB / 0.8066 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.8228, allocations: 1.127 MB / 0.8077 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.8228, allocations: 0 / 0.8077 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/0.8238, allocations: 398.2 kB / 0.8081 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/0.828, allocations: 0.7909 MB / 0.8089 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.8316, allocations: 2.326 MB / 0.8111 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.8321, allocations: 1.168 MB / 0.8123 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.8324, allocations: 107.4 kB / 0.8124 GB, free: 404 kB / 0.5762 GB Notification: Performance of SimCode: time 2.083e-06/0.8324, allocations: 0 / 0.8124 GB, free: 404 kB / 0.5762 GB Notification: Performance of Templates: time 0.04457/0.877, allocations: 31.37 MB / 0.843 GB, free: 1.234 MB / 0.6075 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)