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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01407/0.01407, allocations: 1.771 MB / 18.83 MB, free: 4.332 MB / 14.72 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.001553/0.001553, allocations: 99.7 kB / 22.07 MB, free: 1.09 MB / 14.72 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.001751/0.001751, allocations: 214 kB / 25.45 MB, free: 2.797 MB / 14.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 1.501/1.501, allocations: 230.6 MB / 259.2 MB, free: 13.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.092/1.092, allocations: 130.6 MB / 446.3 MB, free: 14.67 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) 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="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="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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4436/0.4436, allocations: 46.15 MB / 0.6552 GB, free: 30.35 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.6414, allocations: 89.06 MB / 0.7421 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.04063/0.682, allocations: 35.3 MB / 0.7766 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05647/0.7385, allocations: 31.66 MB / 0.8075 GB, free: 15.48 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01089/0.7494, allocations: 198.6 kB / 0.8077 GB, free: 15.29 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.7606, allocations: 3.928 MB / 0.8116 GB, free: 11.34 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02052/0.7811, allocations: 5.864 MB / 0.8173 GB, free: 5.449 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01772/0.7988, allocations: 6.61 MB / 0.8237 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03119/0.83, allocations: 17.48 MB / 0.8408 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.8425, allocations: 4.992 MB / 0.8457 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0159/0.8584, allocations: 6.977 MB / 0.8525 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01519/0.8736, allocations: 7.27 MB / 0.8596 GB, free: 9.938 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005678/0.8793, allocations: 1.262 MB / 0.8608 GB, free: 8.676 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.8911, allocations: 3.744 MB / 0.8645 GB, free: 4.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.008037/0.8992, allocations: 3.82 MB / 0.8682 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.4731/1.372, allocations: 6.153 MB / 0.8742 GB, free: 34.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03353/1.406, allocations: 19.38 MB / 0.8932 GB, free: 32.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.406, allocations: 0 / 0.8932 GB, free: 32.95 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/1.406, allocations: 0.5312 kB / 0.8932 GB, free: 32.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007447/1.407, allocations: 0.8438 kB / 0.8932 GB, free: 32.95 MB / 0.67 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.04505/1.452, allocations: 11.86 MB / 0.9047 GB, free: 28.08 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.452, allocations: 10.22 kB / 0.9047 GB, free: 28.08 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000314/1.452, allocations: 179.9 kB / 0.9049 GB, free: 28.07 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005957/1.458, allocations: 1.072 MB / 0.906 GB, free: 27.97 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008973/1.467, allocations: 1.402 MB / 0.9073 GB, free: 27.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02405/1.491, allocations: 8.545 MB / 0.9157 GB, free: 25.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009075/1.492, allocations: 448.4 kB / 0.9161 GB, free: 25.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003902/1.496, allocations: 0.5558 MB / 0.9166 GB, free: 25.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05143/1.547, allocations: 16.71 MB / 0.933 GB, free: 18.49 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005641/1.548, allocations: 79.34 kB / 0.933 GB, free: 18.49 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003915/1.552, allocations: 290.7 kB / 0.9333 GB, free: 18.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/1.553, allocations: 0.7555 MB / 0.9341 GB, free: 18.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03921/1.592, allocations: 13.25 MB / 0.947 GB, free: 11.73 MB / 0.67 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.1138/1.706, allocations: 69.62 MB / 1.015 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03278/1.739, allocations: 12.5 MB / 1.027 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01158/1.75, allocations: 4.16 MB / 1.031 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/1.752, allocations: 0.7498 MB / 1.032 GB, free: 15.88 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02894/1.781, allocations: 8.895 MB / 1.041 GB, free: 6.82 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006291/1.788, allocations: 0.9134 MB / 1.042 GB, free: 5.902 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=1180): time 3.529e-05/1.788, allocations: 0 / 1.042 GB, free: 5.902 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1181): time 0.1871/1.975, allocations: 81.98 MB / 1.122 GB, free: 3.328 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001071/1.976, allocations: 1.982 MB / 1.124 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01617/1.992, allocations: 7.334 MB / 1.131 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.002596/1.995, allocations: 117.7 kB / 1.131 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.005022/2, allocations: 4.043 MB / 1.135 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.006795/2.006, allocations: 4.058 MB / 1.139 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01094/2.017, allocations: 2.532 MB / 1.141 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001317/2.017, allocations: 305.1 kB / 1.142 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01414/2.032, allocations: 5.623 MB / 1.147 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01922/2.051, allocations: 9.403 MB / 1.156 GB, free: 14.05 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7615/2.812, allocations: 55.34 MB / 1.21 GB, free: 319.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/2.812, allocations: 30.06 kB / 1.21 GB, free: 319.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.04933/2.862, allocations: 17.22 MB / 1.227 GB, free: 314.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/2.862, allocations: 53.94 kB / 1.227 GB, free: 314.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03992/2.902, allocations: 13.16 MB / 1.24 GB, free: 309.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/2.913, allocations: 2.125 MB / 1.242 GB, free: 309.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/2.926, allocations: 3.234 MB / 1.245 GB, free: 309.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/2.941, allocations: 13.04 MB / 1.258 GB, free: 298.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/2.951, allocations: 0.5462 MB / 1.258 GB, free: 298.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003372/2.955, allocations: 0.7878 MB / 1.259 GB, free: 298.5 MB / 0.9044 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.01877/2.974, allocations: 7.886 MB / 1.267 GB, free: 294.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01587/2.989, allocations: 9.351 MB / 1.276 GB, free: 287.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3125/3.302, allocations: 54.87 MB / 1.33 GB, free: 236.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.692e-05/3.302, allocations: 39.92 kB / 1.33 GB, free: 236.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.03942/3.341, allocations: 16.92 MB / 1.346 GB, free: 219.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/3.342, allocations: 53 kB / 1.346 GB, free: 219.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03001/3.372, allocations: 12.9 MB / 1.359 GB, free: 206.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/3.378, allocations: 1.577 MB / 1.36 GB, free: 205.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/3.389, allocations: 3.233 MB / 1.364 GB, free: 202 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/3.401, allocations: 12.05 MB / 1.375 GB, free: 189.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/3.412, allocations: 0.5373 MB / 1.376 GB, free: 188.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003171/3.415, allocations: 0.7885 MB / 1.377 GB, free: 188 MB / 0.9044 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.005156/3.42, allocations: 0.9673 MB / 1.378 GB, free: 187.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004363/3.425, allocations: 0.9715 MB / 1.379 GB, free: 186.4 MB / 0.9044 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.02816/3.453, allocations: 14.18 MB / 1.392 GB, free: 172.6 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.061579378962051] Failed to read output from testmodel.py, exit status != 0: 3.462655936018564 3.472915075 2.062004726 Calling exit ...