Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.006146/0.006146, 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.1192/0.1192, allocations: 18.24 MB / 42.19 MB, free: 5.199 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.001629/0.001629, allocations: 84.55 kB / 53.06 MB, free: 6.52 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.001545/0.001545, allocations: 161.6 kB / 64.04 MB, free: 10.2 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.961/0.961, allocations: 177.2 MB / 252.1 MB, free: 11.75 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.5064/0.5064, allocations: 102.6 MB / 418.7 MB, free: 5.289 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-main/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_dev_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_dev_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 1.974e-06/1.974e-06, allocations: 0 / 0.603 GB, free: 352 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.403e-05, allocations: 7.078 kB / 0.603 GB, free: 348 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.02674/0.02677, allocations: 30.4 MB / 0.6327 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04059/0.06736, allocations: 30.52 MB / 0.6625 GB, free: 3.219 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006085/0.07344, allocations: 194.6 kB / 0.6627 GB, free: 3.027 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.2924/0.3658, allocations: 3.815 MB / 0.6664 GB, free: 16.99 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.3814, allocations: 6.15 MB / 0.6724 GB, free: 16.11 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01475/0.3961, allocations: 6.78 MB / 0.679 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02626/0.4224, allocations: 17.91 MB / 0.6965 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.4332, allocations: 5.121 MB / 0.7015 GB, free: 10.66 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02472/0.4579, allocations: 9.608 MB / 0.7109 GB, free: 6.551 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.4704, allocations: 6.224 MB / 0.717 GB, free: 3.648 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.004508/0.4749, allocations: 1.26 MB / 0.7182 GB, free: 3.648 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.4855, allocations: 3.132 MB / 0.7213 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005861/0.4914, allocations: 3.92 MB / 0.7251 GB, free: 15.98 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.5019, allocations: 3.887 MB / 0.7289 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.02974/0.5316, allocations: 19.43 MB / 0.7479 GB, free: 14.67 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5316, allocations: 0 / 0.7479 GB, free: 14.67 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5316, allocations: 0 / 0.7479 GB, free: 14.67 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006633/0.5323, allocations: 0 / 0.7479 GB, free: 14.67 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.03143/0.5637, allocations: 13.38 MB / 0.761 GB, free: 1.309 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.5638, allocations: 12.03 kB / 0.761 GB, free: 1.297 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003859/0.5677, allocations: 1.062 MB / 0.762 GB, free: 240 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.573, allocations: 1.406 MB / 0.7634 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.5896, allocations: 8.357 MB / 0.7715 GB, free: 6.762 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.5901, allocations: 454.4 kB / 0.772 GB, free: 6.332 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/0.5926, allocations: 0.5484 MB / 0.7725 GB, free: 5.797 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/0.6317, allocations: 18.53 MB / 0.7906 GB, free: 1.34 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.6319, allocations: 77 kB / 0.7907 GB, free: 1.309 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001905/0.6338, allocations: 290 kB / 0.791 GB, free: 1.043 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008355/0.6347, allocations: 0.756 MB / 0.7917 GB, free: 292 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02875/0.6634, allocations: 13.22 MB / 0.8046 GB, free: 3.445 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.0729/0.7363, allocations: 65.7 MB / 0.8688 GB, free: 468 kB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/0.7566, allocations: 11.19 MB / 0.8797 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007698/0.7643, allocations: 4.159 MB / 0.8837 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.7654, allocations: 339.3 kB / 0.8841 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01843/0.7839, allocations: 8.898 MB / 0.8928 GB, free: 7.43 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004041/0.7879, allocations: 0.9286 MB / 0.8937 GB, free: 6.496 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=1180): time 1.935e-05/0.7879, allocations: 0 / 0.8937 GB, free: 6.496 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1181): time 0.4149/1.203, allocations: 81.54 MB / 0.9733 GB, free: 242.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/1.203, allocations: 1.981 MB / 0.9752 GB, free: 240.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/1.217, allocations: 7.502 MB / 0.9826 GB, free: 237.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0019/1.219, allocations: 119.9 kB / 0.9827 GB, free: 237.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003434/1.222, allocations: 4.018 MB / 0.9866 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.004639/1.227, allocations: 3.998 MB / 0.9905 GB, free: 231.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008604/1.236, allocations: 2.512 MB / 0.993 GB, free: 230.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/1.236, allocations: 306.1 kB / 0.9932 GB, free: 230.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/1.246, allocations: 5.625 MB / 0.9987 GB, free: 228.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01263/1.259, allocations: 10.24 MB / 1.009 GB, free: 220.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1679/1.427, allocations: 55.39 MB / 1.063 GB, free: 176.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.736e-05/1.427, allocations: 32 kB / 1.063 GB, free: 176.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.0315/1.459, allocations: 17.22 MB / 1.08 GB, free: 158.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/1.459, allocations: 52 kB / 1.08 GB, free: 158.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02397/1.483, allocations: 13.17 MB / 1.093 GB, free: 145.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006023/1.489, allocations: 2.135 MB / 1.095 GB, free: 143.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008137/1.497, allocations: 3.233 MB / 1.098 GB, free: 140.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008714/1.505, allocations: 12.44 MB / 1.11 GB, free: 127 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007537/1.513, allocations: 0.5408 MB / 1.111 GB, free: 126.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/1.516, allocations: 0.7924 MB / 1.111 GB, free: 125.7 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.01446/1.53, allocations: 7.894 MB / 1.119 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01088/1.541, allocations: 10.18 MB / 1.129 GB, free: 105.7 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1637/1.705, allocations: 54.88 MB / 1.183 GB, free: 49.22 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.831e-05/1.705, allocations: 39.94 kB / 1.183 GB, free: 49.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.03139/1.736, allocations: 16.93 MB / 1.199 GB, free: 32.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/1.736, allocations: 58.11 kB / 1.199 GB, free: 32.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02334/1.759, allocations: 12.9 MB / 1.212 GB, free: 19.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003592/1.763, allocations: 1.572 MB / 1.213 GB, free: 17.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008266/1.771, allocations: 3.233 MB / 1.216 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2622/2.034, allocations: 11.45 MB / 1.228 GB, free: 238.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008583/2.042, allocations: 0.5421 MB / 1.228 GB, free: 238.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003699/2.046, allocations: 0.7861 MB / 1.229 GB, free: 238.7 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.004894/2.051, allocations: 0.9642 MB / 1.23 GB, free: 238.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003666/2.054, allocations: 0.9768 MB / 1.231 GB, free: 238.5 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.02526/2.08, 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.977689765393734]