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.01026/0.01026, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001341/0.001341, allocations: 99.84 kB / 24.18 MB, free: 2.184 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.001712/0.001712, allocations: 215.5 kB / 27.9 MB, free: 3.504 MB / 19.63 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.408/1.408, allocations: 230.6 MB / 262.1 MB, free: 5.844 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.022/1.022, allocations: 130.7 MB / 449.7 MB, free: 6.395 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="me",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",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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06579/0.06579, allocations: 20.98 MB / 0.6359 GB, free: 4.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.2297, allocations: 81.91 MB / 0.7158 GB, free: 2.691 MB / 0.5294 GB 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_ntu): time 0.5391/0.7688, allocations: 63.41 MB / 0.7778 GB, free: 8.922 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05817/0.827, allocations: 30.87 MB / 0.8079 GB, free: 2.086 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/0.8389, allocations: 196.4 kB / 0.8081 GB, free: 1.996 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.8512, allocations: 3.792 MB / 0.8118 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02259/0.8737, allocations: 5.977 MB / 0.8176 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01936/0.8931, allocations: 6.699 MB / 0.8242 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03039/0.9235, allocations: 17.47 MB / 0.8412 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.9342, allocations: 5.089 MB / 0.8462 GB, free: 12.97 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/0.9503, allocations: 6.999 MB / 0.853 GB, free: 5.949 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01391/0.9642, allocations: 6.962 MB / 0.8598 GB, free: 14.96 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005342/0.9695, allocations: 1.262 MB / 0.8611 GB, free: 13.7 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.981, allocations: 3.1 MB / 0.8641 GB, free: 10.61 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.00701/0.988, allocations: 3.824 MB / 0.8678 GB, free: 6.77 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01168/0.9997, allocations: 4.713 MB / 0.8724 GB, free: 2.035 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03293/1.033, allocations: 19.35 MB / 0.8913 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/1.033, allocations: 4 kB / 0.8913 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.956e-06/1.033, allocations: 0 / 0.8913 GB, free: 14.62 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006202/1.033, allocations: 3.938 kB / 0.8913 GB, free: 14.61 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.04178/1.075, allocations: 13.5 MB / 0.9045 GB, free: 1.043 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/1.075, allocations: 10.66 kB / 0.9045 GB, free: 1.035 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004773/1.08, allocations: 1.074 MB / 0.9056 GB, free: 15.95 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007189/1.087, allocations: 1.408 MB / 0.907 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/1.108, allocations: 8.339 MB / 0.9151 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000639/1.109, allocations: 455.2 kB / 0.9155 GB, free: 5.676 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/1.111, allocations: 0.5545 MB / 0.9161 GB, free: 5.121 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04475/1.156, allocations: 18.52 MB / 0.9342 GB, free: 432 kB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003602/1.156, allocations: 75.25 kB / 0.9342 GB, free: 356 kB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/1.159, allocations: 295.9 kB / 0.9345 GB, free: 60 kB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/1.16, allocations: 0.7626 MB / 0.9353 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03952/1.2, allocations: 13.2 MB / 0.9482 GB, free: 2.094 MB / 0.7169 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.1012/1.301, allocations: 65.9 MB / 1.013 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03046/1.331, allocations: 11.18 MB / 1.023 GB, free: 2.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01055/1.342, allocations: 4.148 MB / 1.027 GB, free: 14.65 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/1.343, allocations: 345.8 kB / 1.028 GB, free: 14.31 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02679/1.37, allocations: 8.892 MB / 1.036 GB, free: 5.215 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005585/1.376, allocations: 0.9134 MB / 1.037 GB, free: 4.297 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=1180): time 3.529e-05/1.376, allocations: 0 / 1.037 GB, free: 4.297 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1181): time 0.4463/1.822, allocations: 81.52 MB / 1.117 GB, free: 305.2 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003938/1.823, allocations: 1.987 MB / 1.119 GB, free: 302.9 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.834, allocations: 7.498 MB / 1.126 GB, free: 298.8 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001883/1.836, allocations: 117.7 kB / 1.126 GB, free: 298.7 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.838, allocations: 4.039 MB / 1.13 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004241/1.843, allocations: 4.063 MB / 1.134 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005487/1.848, allocations: 2.532 MB / 1.137 GB, free: 290.2 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/1.848, allocations: 305.1 kB / 1.137 GB, free: 289.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009515/1.858, allocations: 5.625 MB / 1.143 GB, free: 285 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01311/1.871, allocations: 10.24 MB / 1.153 GB, free: 273.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3007/2.172, allocations: 55.37 MB / 1.207 GB, free: 218 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/2.172, allocations: 32 kB / 1.207 GB, free: 218 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.04163/2.213, allocations: 17.21 MB / 1.223 GB, free: 200.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/2.213, allocations: 52 kB / 1.224 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0321/2.246, allocations: 13.16 MB / 1.236 GB, free: 187.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/2.256, allocations: 2.134 MB / 1.238 GB, free: 185.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/2.268, allocations: 3.237 MB / 1.242 GB, free: 182 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/2.282, allocations: 12.45 MB / 1.254 GB, free: 168.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009552/2.291, allocations: 0.5423 MB / 1.254 GB, free: 168.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002836/2.294, allocations: 0.7846 MB / 1.255 GB, free: 167.6 MB / 0.8263 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.01755/2.312, allocations: 7.893 MB / 1.263 GB, free: 159.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0138/2.326, allocations: 10.18 MB / 1.273 GB, free: 147.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.296/2.622, allocations: 54.88 MB / 1.326 GB, free: 91.23 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001239/2.622, allocations: 35.05 kB / 1.326 GB, free: 91.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.03844/2.66, allocations: 16.93 MB / 1.343 GB, free: 74.19 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/2.66, allocations: 52.19 kB / 1.343 GB, free: 74.14 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03044/2.691, allocations: 12.9 MB / 1.356 GB, free: 61.15 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006182/2.697, allocations: 1.574 MB / 1.357 GB, free: 59.57 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/2.708, allocations: 3.229 MB / 1.36 GB, free: 56.34 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/2.721, allocations: 11.48 MB / 1.371 GB, free: 44.28 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/2.733, allocations: 0.5393 MB / 1.372 GB, free: 43.75 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003718/2.736, allocations: 0.7846 MB / 1.373 GB, free: 42.96 MB / 0.8263 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.007161/2.743, allocations: 0.9695 MB / 1.374 GB, free: 42.07 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006011/2.749, allocations: 0.9737 MB / 1.375 GB, free: 41.09 MB / 0.8263 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.03008/2.78, allocations: 14.23 MB / 1.389 GB, free: 27.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.745860324241221] Failed to read output from testmodel.py, exit status != 0: 3.1960494187660515 3.206291153 2.170958867 Calling exit ...