Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01421/0.01421, allocations: 1.768 MB / 20.61 MB, free: 3.875 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08383/0.08383, allocations: 25.6 MB / 49.71 MB, free: 2.91 MB / 33.03 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.0008809/0.0008809, allocations: 118.1 kB / 60.66 MB, free: 3.012 MB / 44.04 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.001044/0.001044, allocations: 217.7 kB / 71.72 MB, free: 14.48 MB / 58.72 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.9088/0.9088, allocations: 230.6 MB / 313.3 MB, free: 11.79 MB / 234.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.8917/0.8917, allocations: 130.7 MB / 0.4963 GB, free: 2.207 MB / 362.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: 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: ClaRa 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: Performance of FrontEnd - loaded program: time 0.003405/0.003405, allocations: 158.2 kB / 0.6901 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1383, allocations: 89.26 MB / 0.7772 GB, free: 3 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.02389/0.1621, allocations: 30.43 MB / 0.8069 GB, free: 4.445 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.06241/0.2246, allocations: 30.85 MB / 0.8371 GB, free: 5.516 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006904/0.2315, allocations: 194.6 kB / 0.8373 GB, free: 5.324 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.00844/0.2399, allocations: 3.814 MB / 0.841 GB, free: 1.496 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.2525, allocations: 5.962 MB / 0.8468 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01134/0.2638, allocations: 6.712 MB / 0.8534 GB, free: 4.797 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.01785/0.2817, allocations: 17.46 MB / 0.8704 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00712/0.2888, allocations: 5.1 MB / 0.8754 GB, free: 14.12 MB / 0.6512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/0.3013, allocations: 6.993 MB / 0.8822 GB, free: 7.102 MB / 0.6512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.3122, allocations: 6.963 MB / 0.889 GB, free: 112 kB / 0.6512 GB Notification: Performance of NFPackage.collectConstants: time 0.004428/0.3166, allocations: 1.262 MB / 0.8902 GB, free: 14.84 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009128/0.3258, allocations: 3.096 MB / 0.8933 GB, free: 11.75 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 0.005886/0.3317, allocations: 3.824 MB / 0.897 GB, free: 7.914 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 0.009139/0.3408, allocations: 4.708 MB / 0.9016 GB, free: 3.184 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.3433/0.6841, allocations: 19.35 MB / 0.9205 GB, free: 45.64 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6841, allocations: 0 / 0.9205 GB, free: 45.64 MB / 0.6668 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6841, allocations: 0 / 0.9205 GB, free: 45.64 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 0.0006366/0.6847, allocations: 1.25 kB / 0.9205 GB, free: 45.64 MB / 0.6668 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2361 * Number of variables: 2361 Notification: Performance of Generate backend data structure: time 0.035/0.7197, allocations: 13.51 MB / 0.9337 GB, free: 40.86 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7198, allocations: 12.03 kB / 0.9337 GB, free: 40.86 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004233/0.724, allocations: 1.07 MB / 0.9347 GB, free: 40.76 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/0.7304, allocations: 1.409 MB / 0.9361 GB, free: 40.08 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/0.749, allocations: 8.353 MB / 0.9443 GB, free: 38.52 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/0.7494, allocations: 451 kB / 0.9447 GB, free: 38.5 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.7527, allocations: 0.5505 MB / 0.9452 GB, free: 38.5 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/0.7859, allocations: 18.53 MB / 0.9633 GB, free: 29.62 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/0.7861, allocations: 77.38 kB / 0.9634 GB, free: 29.62 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/0.7879, allocations: 285.3 kB / 0.9637 GB, free: 29.45 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005734/0.7885, allocations: 0.7573 MB / 0.9644 GB, free: 29.22 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02566/0.8141, allocations: 13.21 MB / 0.9773 GB, free: 22.83 MB / 0.6668 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.07064/0.8848, allocations: 65.9 MB / 1.042 GB, free: 6.57 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/0.9048, allocations: 11.18 MB / 1.053 GB, free: 11.24 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007799/0.9126, allocations: 4.164 MB / 1.057 GB, free: 6.977 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.9137, allocations: 334.4 kB / 1.057 GB, free: 6.652 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01815/0.9319, allocations: 8.895 MB / 1.066 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004222/0.9361, allocations: 0.9069 MB / 1.067 GB, free: 12.65 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1180): time 2.121e-05/0.9361, allocations: 4 kB / 1.067 GB, free: 12.65 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1181): time 0.1032/1.039, allocations: 81.54 MB / 1.146 GB, free: 10.56 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008171/1.04, allocations: 1.981 MB / 1.148 GB, free: 8.133 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/1.051, allocations: 7.492 MB / 1.155 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001983/1.053, allocations: 125.7 kB / 1.156 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002731/1.055, allocations: 4.043 MB / 1.159 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004591/1.06, allocations: 4.054 MB / 1.163 GB, free: 8.496 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004285/1.064, allocations: 2.532 MB / 1.166 GB, free: 5.953 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/1.064, allocations: 305.1 kB / 1.166 GB, free: 5.652 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008623/1.073, allocations: 5.622 MB / 1.172 GB, free: 20 kB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/1.085, allocations: 10.24 MB / 1.182 GB, free: 3.965 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1677/1.253, allocations: 55.37 MB / 1.236 GB, free: 11.43 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.194e-05/1.253, allocations: 32 kB / 1.236 GB, free: 11.39 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.3214/1.575, allocations: 17.19 MB / 1.253 GB, free: 345.3 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/1.575, allocations: 52.34 kB / 1.253 GB, free: 345.3 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02335/1.598, allocations: 13.17 MB / 1.266 GB, free: 341.8 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/1.604, allocations: 2.123 MB / 1.268 GB, free: 341.4 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008163/1.612, allocations: 3.244 MB / 1.271 GB, free: 341.3 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008423/1.62, allocations: 12.45 MB / 1.283 GB, free: 331.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/1.627, allocations: 0.5526 MB / 1.283 GB, free: 331.5 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/1.629, allocations: 0.7882 MB / 1.284 GB, free: 331.4 MB / 0.9168 GB Warning: Assuming fixed start value for the following 10 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 hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_i_start[1] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) 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.01167/1.641, allocations: 7.884 MB / 1.292 GB, free: 326 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008786/1.649, allocations: 10.18 MB / 1.302 GB, free: 314.6 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1554/1.805, allocations: 54.89 MB / 1.355 GB, free: 258.1 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001008/1.805, allocations: 32 kB / 1.356 GB, free: 258.1 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.02519/1.83, allocations: 16.93 MB / 1.372 GB, free: 241.6 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/1.83, allocations: 52 kB / 1.372 GB, free: 241.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0184/1.848, allocations: 12.9 MB / 1.385 GB, free: 228.5 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/1.852, allocations: 1.568 MB / 1.386 GB, free: 226.9 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007289/1.859, allocations: 3.237 MB / 1.389 GB, free: 223.7 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/1.866, allocations: 11.48 MB / 1.401 GB, free: 211.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006882/1.873, allocations: 0.5395 MB / 1.401 GB, free: 211.1 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.875, allocations: 0.7815 MB / 1.402 GB, free: 210.4 MB / 0.9168 GB Warning: Assuming fixed start value for the following 10 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 hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_i_start[1] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) 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: 508 * Number of states: 0 () * Number of discrete variables: 11 (hex.wall.nTU.smallShellFlow[2],$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,hex.wall.nTU.smallShellFlow[3],hex.wall.nTU.smallShellFlow[1],hex.wall.nTU.mass,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1622): * Single equations (assignments): 1615 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (4,3,87.5%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,41)} Notification: Performance of prepare postOptimizeDAE: time 0.003182/1.878, allocations: 0.9669 MB / 1.403 GB, free: 209.5 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002414/1.88, allocations: 0.9821 MB / 1.404 GB, free: 209.1 MB / 0.9168 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 1800 equation(s) and 1713 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.896, allocations: 14.24 MB / 1.418 GB, free: 195.4 MB / 0.9168 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.045540661551058]