Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008086/0.008086, allocations: 1.794 MB / 21.35 MB, free: 3.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007045/0.0007045, allocations: 81.72 kB / 25.15 MB, free: 6.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 168.4 kB / 29.06 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.957/0.957, allocations: 177.2 MB / 210 MB, free: 3.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.614/0.614, allocations: 102.5 MB / 369.5 MB, free: 348 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 7.91e-07/7.91e-07, allocations: 0 / 470 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.455e-05, allocations: 3.297 kB / 470 MB, free: 18.98 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.1269/0.1269, allocations: 74.93 MB / 0.5321 GB, free: 12.92 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03245/0.1594, allocations: 24.67 MB / 0.5562 GB, free: 4.188 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005203/0.1646, allocations: 139 kB / 0.5564 GB, free: 4.051 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005338/0.1699, allocations: 2.89 MB / 0.5592 GB, free: 1.148 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009314/0.1792, allocations: 4.481 MB / 0.5636 GB, free: 12.64 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00822/0.1874, allocations: 4.467 MB / 0.5679 GB, free: 8.164 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.2029, allocations: 12.77 MB / 0.5804 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006878/0.2097, allocations: 4.113 MB / 0.5844 GB, free: 7.176 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1454/0.3551, allocations: 52.19 MB / 0.6354 GB, free: 4.168 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2542/0.6093, allocations: 4.491 MB / 0.6398 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002927/0.6122, allocations: 0.8048 MB / 0.6406 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007094/0.6193, allocations: 2.579 MB / 0.6431 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003416/0.6227, allocations: 2.654 MB / 0.6457 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006005/0.6287, allocations: 2.648 MB / 0.6482 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.6449, allocations: 8.63 MB / 0.6567 GB, free: 74.72 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6449, allocations: 2.109 kB / 0.6567 GB, free: 74.72 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6449, allocations: 0.5 kB / 0.6567 GB, free: 74.72 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004686/0.6454, allocations: 2.656 kB / 0.6567 GB, free: 74.72 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1530 * Number of variables: 1530 Notification: Performance of Generate backend data structure: time 0.01676/0.6621, allocations: 10.09 MB / 0.6665 GB, free: 70.98 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6622, allocations: 11.31 kB / 0.6665 GB, free: 70.98 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.665, allocations: 1.225 MB / 0.6677 GB, free: 70.5 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008567/0.6735, allocations: 4.78 MB / 0.6724 GB, free: 69.37 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.6739, allocations: 309 kB / 0.6727 GB, free: 69.36 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001466/0.6753, allocations: 422.4 kB / 0.6731 GB, free: 69.36 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.6962, allocations: 10.54 MB / 0.6834 GB, free: 62.84 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/0.6963, allocations: 45.16 kB / 0.6834 GB, free: 62.84 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009534/0.6973, allocations: 197.3 kB / 0.6836 GB, free: 62.84 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004674/0.6978, allocations: 397.9 kB / 0.684 GB, free: 62.84 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.712, allocations: 4.74 MB / 0.6886 GB, free: 62.78 MB / 0.5418 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.04072/0.7528, allocations: 48.68 MB / 0.7362 GB, free: 18.8 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.7656, allocations: 4.935 MB / 0.741 GB, free: 16.45 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00326/0.7688, allocations: 1.377 MB / 0.7423 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.7695, allocations: 276.2 kB / 0.7426 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01083/0.7804, allocations: 4.13 MB / 0.7466 GB, free: 13.52 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002777/0.7831, allocations: 0.6015 MB / 0.7472 GB, free: 13.09 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=765): time 2.652e-05/0.7832, allocations: 0 / 0.7472 GB, free: 13.09 MB / 0.5418 GB Notification: Performance of matching and sorting (n=767): time 0.05604/0.8392, allocations: 39.48 MB / 0.7858 GB, free: 13.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006303/0.8398, allocations: 2.009 MB / 0.7877 GB, free: 11.42 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006854/0.8467, allocations: 4.919 MB / 0.7926 GB, free: 6.477 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/0.8481, allocations: 101.7 kB / 0.7926 GB, free: 6.371 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002148/0.8503, allocations: 3.023 MB / 0.7956 GB, free: 3.352 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/0.8535, allocations: 2.671 MB / 0.7982 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00316/0.8566, allocations: 1.781 MB / 0.7999 GB, free: 14.93 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8567, allocations: 480.8 kB / 0.8004 GB, free: 14.45 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/0.8598, allocations: 1.557 MB / 0.8019 GB, free: 12.89 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/0.8654, allocations: 6.339 MB / 0.8081 GB, free: 4.762 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/0.8791, allocations: 8.369 MB / 0.8163 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/0.8792, allocations: 20 kB / 0.8163 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01749/0.8967, allocations: 7.452 MB / 0.8236 GB, free: 4.371 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.8968, allocations: 37.25 kB / 0.8236 GB, free: 4.336 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008118/0.9049, allocations: 4.789 MB / 0.8283 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02289/0.9278, allocations: 4.238 MB / 0.8324 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006429/0.9342, allocations: 2.242 MB / 0.8346 GB, free: 9.395 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/0.9395, allocations: 9.022 MB / 0.8434 GB, free: 56 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.9439, allocations: 353.1 kB / 0.8438 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005759/0.9445, allocations: 0.5075 MB / 0.8443 GB, free: 15.21 MB / 0.6355 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00402/0.9485, allocations: 1.752 MB / 0.846 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004593/0.9531, allocations: 6.317 MB / 0.8521 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009318/0.9624, allocations: 8.33 MB / 0.8603 GB, free: 12.02 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.166e-05/0.9625, allocations: 20 kB / 0.8603 GB, free: 12 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01166/0.9741, allocations: 7.399 MB / 0.8675 GB, free: 5.051 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.9742, allocations: 36 kB / 0.8676 GB, free: 5.016 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007835/0.982, allocations: 4.755 MB / 0.8722 GB, free: 252 kB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3125/1.294, allocations: 4.201 MB / 0.8763 GB, free: 179.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/1.3, allocations: 2.142 MB / 0.8784 GB, free: 179.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/1.305, allocations: 6.319 MB / 0.8846 GB, free: 173.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.31, allocations: 370.8 kB / 0.8849 GB, free: 173.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007922/1.311, allocations: 0.5042 MB / 0.8854 GB, free: 173.8 MB / 0.6512 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1063): * Single equations (assignments): 1056 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001997/1.313, allocations: 0.75 MB / 0.8861 GB, free: 173.5 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.315, allocations: 0.8152 MB / 0.8869 GB, free: 173.5 MB / 0.6512 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1164 equation(s) and 1113 variable(s). Error: ($cse431, $cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse279, $cse280, $cse281, $cse282, hex.shell.liq.transp.Pr, hex.shell.liq.transp.lambda, hex.shell.liq.transp.eta, hex.shell.liq.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009612/1.324, allocations: 7.985 MB / 0.8947 GB, free: 173 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.0415494199842215]