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.006185/0.006185, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 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.07718/0.07718, allocations: 18.25 MB / 42.2 MB, free: 5.168 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.001384/0.001384, allocations: 91.44 kB / 53.07 MB, free: 6.391 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.001836/0.001836, allocations: 162.4 kB / 64.04 MB, free: 10.08 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.9171/0.9171, allocations: 177.2 MB / 252.1 MB, free: 11.81 MB / 218.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.4903/0.4903, allocations: 102.5 MB / 418.6 MB, free: 5.223 MB / 362.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 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: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.6029 GB, free: 280 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.243e-05, allocations: 4.109 kB / 0.6029 GB, free: 276 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.02465/0.02467, allocations: 30.39 MB / 0.6326 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.05802, allocations: 30.52 MB / 0.6624 GB, free: 3.156 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005234/0.06325, allocations: 194.6 kB / 0.6626 GB, free: 2.965 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.2293/0.2925, allocations: 3.821 MB / 0.6663 GB, free: 16.91 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.3045, allocations: 6.143 MB / 0.6723 GB, free: 16.03 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.3155, allocations: 6.787 MB / 0.679 GB, free: 15.77 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02075/0.3362, allocations: 17.9 MB / 0.6964 GB, free: 12.41 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006619/0.3428, allocations: 5.131 MB / 0.7014 GB, free: 10.55 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01023/0.3531, allocations: 9.601 MB / 0.7108 GB, free: 6.453 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.3592, allocations: 6.229 MB / 0.7169 GB, free: 3.527 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.3605, allocations: 1.26 MB / 0.7181 GB, free: 3.527 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.3646, allocations: 3.134 MB / 0.7212 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.3664, allocations: 3.92 MB / 0.725 GB, free: 15.86 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.003411/0.3698, allocations: 3.887 MB / 0.7288 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.3836, allocations: 19.43 MB / 0.7478 GB, free: 14.54 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3836, allocations: 0 / 0.7478 GB, free: 14.54 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3836, allocations: 0 / 0.7478 GB, free: 14.54 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003983/0.384, allocations: 0 / 0.7478 GB, free: 14.54 MB / 0.573 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.01871/0.4027, allocations: 13.38 MB / 0.7609 GB, free: 1.176 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4027, allocations: 12.03 kB / 0.7609 GB, free: 1.164 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009335/0.4037, allocations: 1.071 MB / 0.7619 GB, free: 100 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.4059, allocations: 1.406 MB / 0.7633 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009662/0.4156, allocations: 8.353 MB / 0.7715 GB, free: 6.625 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.4158, allocations: 444.3 kB / 0.7719 GB, free: 6.203 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006273/0.4164, allocations: 0.5611 MB / 0.7724 GB, free: 5.66 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.4396, allocations: 18.52 MB / 0.7905 GB, free: 1.207 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.4397, allocations: 77.28 kB / 0.7906 GB, free: 1.176 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005416/0.4402, allocations: 287.9 kB / 0.7909 GB, free: 0.9102 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005228/0.4407, allocations: 0.7599 MB / 0.7916 GB, free: 152 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.4601, allocations: 13.21 MB / 0.8045 GB, free: 3.32 MB / 0.6199 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.04433/0.5044, allocations: 65.71 MB / 0.8687 GB, free: 332 kB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/0.5209, allocations: 11.19 MB / 0.8796 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004912/0.5258, allocations: 4.158 MB / 0.8837 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009583/0.5267, allocations: 339.7 kB / 0.884 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01319/0.5399, allocations: 8.906 MB / 0.8927 GB, free: 7.293 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002826/0.5427, allocations: 0.92 MB / 0.8936 GB, free: 6.367 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=1180): time 1.427e-05/0.5428, allocations: 8 kB / 0.8936 GB, free: 6.359 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1181): time 0.3087/0.8515, allocations: 81.54 MB / 0.9732 GB, free: 242.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002611/0.8518, allocations: 1.976 MB / 0.9751 GB, free: 239.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/0.8598, allocations: 7.498 MB / 0.9825 GB, free: 237.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/0.861, allocations: 121.8 kB / 0.9826 GB, free: 237.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.8631, allocations: 4.024 MB / 0.9865 GB, free: 234.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002582/0.8657, allocations: 4.001 MB / 0.9904 GB, free: 231.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002933/0.8686, allocations: 2.519 MB / 0.9929 GB, free: 230.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 2.808e-05/0.8686, allocations: 301.1 kB / 0.9932 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006546/0.8752, allocations: 5.622 MB / 0.9987 GB, free: 228 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007217/0.8824, allocations: 10.24 MB / 1.009 GB, free: 219.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1539/1.036, allocations: 55.4 MB / 1.063 GB, free: 175.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-05/1.036, allocations: 32 kB / 1.063 GB, free: 175.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.0203/1.057, allocations: 17.21 MB / 1.08 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/1.057, allocations: 56.22 kB / 1.08 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01415/1.071, allocations: 13.17 MB / 1.093 GB, free: 145.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004979/1.076, allocations: 2.131 MB / 1.095 GB, free: 143.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/1.081, allocations: 3.233 MB / 1.098 GB, free: 139.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/1.089, allocations: 12.44 MB / 1.11 GB, free: 126.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.094, allocations: 0.552 MB / 1.11 GB, free: 126.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007211/1.095, allocations: 0.7924 MB / 1.111 GB, free: 125.5 MB / 0.7605 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.008903/1.104, allocations: 7.889 MB / 1.119 GB, free: 117.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006754/1.111, allocations: 10.17 MB / 1.129 GB, free: 105.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1549/1.265, allocations: 54.89 MB / 1.182 GB, free: 49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.306e-05/1.266, allocations: 35.61 kB / 1.182 GB, free: 48.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.02049/1.286, allocations: 16.93 MB / 1.199 GB, free: 31.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.286, allocations: 52 kB / 1.199 GB, free: 31.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01386/1.3, allocations: 12.91 MB / 1.212 GB, free: 18.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/1.303, allocations: 1.572 MB / 1.213 GB, free: 17.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005191/1.308, allocations: 3.229 MB / 1.216 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2473/1.555, allocations: 11.46 MB / 1.228 GB, free: 238.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/1.563, allocations: 0.5409 MB / 1.228 GB, free: 238.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002668/1.566, allocations: 0.7845 MB / 1.229 GB, free: 238.5 MB / 0.7605 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.003526/1.569, allocations: 0.9682 MB / 1.23 GB, free: 238.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002544/1.572, allocations: 0.9804 MB / 1.231 GB, free: 238.4 MB / 0.7605 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.01881/1.59, allocations: 14.22 MB / 1.245 GB, free: 235.2 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.30661996267736]