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.01261/0.01261, allocations: 1.752 MB / 21.38 MB, free: 452 kB / 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.001348/0.001348, allocations: 100.7 kB / 24.97 MB, free: 2.039 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.001449/0.001449, allocations: 210 kB / 28.68 MB, free: 3.32 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.434/1.434, allocations: 230.6 MB / 262.9 MB, free: 5.824 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.121/1.121, allocations: 130.7 MB / 450.4 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="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: 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.06272/0.06272, allocations: 20.61 MB / 0.6362 GB, free: 5.051 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.2492, allocations: 81.9 MB / 0.7162 GB, free: 3.051 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.5945/0.8437, allocations: 63.38 MB / 0.7781 GB, free: 9.023 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05521/0.8989, allocations: 30.84 MB / 0.8082 GB, free: 2.285 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01232/0.9113, allocations: 196.5 kB / 0.8084 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.9236, allocations: 3.824 MB / 0.8122 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02122/0.9449, allocations: 5.986 MB / 0.818 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0198/0.9646, allocations: 6.711 MB / 0.8246 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02981/0.9945, allocations: 17.47 MB / 0.8416 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/1.006, allocations: 4.811 MB / 0.8463 GB, free: 13.59 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01582/1.021, allocations: 7.004 MB / 0.8532 GB, free: 6.562 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01415/1.036, allocations: 7.289 MB / 0.8603 GB, free: 15.25 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005026/1.041, allocations: 1.262 MB / 0.8615 GB, free: 13.99 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/1.052, allocations: 3.159 MB / 0.8646 GB, free: 10.83 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007406/1.059, allocations: 3.824 MB / 0.8683 GB, free: 6.996 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01306/1.072, allocations: 4.708 MB / 0.8729 GB, free: 2.266 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.03514/1.107, allocations: 19.37 MB / 0.8918 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.107, allocations: 0 / 0.8918 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.743e-06/1.107, allocations: 0 / 0.8918 GB, free: 14.83 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006291/1.108, allocations: 3.938 kB / 0.8918 GB, free: 14.83 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.04075/1.149, allocations: 13.5 MB / 0.905 GB, free: 1.258 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.149, allocations: 12.03 kB / 0.905 GB, free: 1.246 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002848/1.149, allocations: 179.5 kB / 0.9052 GB, free: 1.07 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0047/1.154, allocations: 1.07 MB / 0.9063 GB, free: 15.98 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008433/1.162, allocations: 1.404 MB / 0.9076 GB, free: 14.57 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02579/1.188, allocations: 8.342 MB / 0.9158 GB, free: 6.164 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007393/1.189, allocations: 452 kB / 0.9162 GB, free: 5.723 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002963/1.192, allocations: 0.5584 MB / 0.9168 GB, free: 5.164 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04558/1.237, allocations: 18.52 MB / 0.9348 GB, free: 472 kB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/1.237, allocations: 71.31 kB / 0.9349 GB, free: 400 kB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/1.238, allocations: 287.9 kB / 0.9352 GB, free: 112 kB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009466/1.239, allocations: 0.7664 MB / 0.9359 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03845/1.278, allocations: 13.25 MB / 0.9489 GB, free: 2.098 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.09995/1.378, allocations: 65.9 MB / 1.013 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03229/1.41, allocations: 11.18 MB / 1.024 GB, free: 2.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01141/1.422, allocations: 4.153 MB / 1.028 GB, free: 14.64 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/1.424, allocations: 339.1 kB / 1.029 GB, free: 14.3 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02887/1.453, allocations: 8.89 MB / 1.037 GB, free: 5.211 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005583/1.458, allocations: 0.9107 MB / 1.038 GB, free: 4.297 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=1180): time 3.202e-05/1.458, allocations: 2.656 kB / 1.038 GB, free: 4.297 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1181): time 0.477/1.935, allocations: 81.53 MB / 1.118 GB, free: 305.1 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000427/1.936, allocations: 1.983 MB / 1.12 GB, free: 302.8 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/1.949, allocations: 7.325 MB / 1.127 GB, free: 298.9 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002955/1.952, allocations: 121.7 kB / 1.127 GB, free: 298.8 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002993/1.955, allocations: 4.042 MB / 1.131 GB, free: 295.5 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00512/1.96, allocations: 4.053 MB / 1.135 GB, free: 292.4 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004595/1.964, allocations: 2.537 MB / 1.137 GB, free: 290.3 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/1.964, allocations: 305.1 kB / 1.138 GB, free: 290 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008746/1.973, allocations: 5.622 MB / 1.143 GB, free: 285.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/1.985, allocations: 10.24 MB / 1.153 GB, free: 274 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3071/2.292, allocations: 55.37 MB / 1.207 GB, free: 218.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/2.292, allocations: 32.77 kB / 1.207 GB, free: 218.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.04119/2.333, allocations: 17.21 MB / 1.224 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/2.333, allocations: 52 kB / 1.224 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03238/2.366, allocations: 13.16 MB / 1.237 GB, free: 187.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/2.376, allocations: 2.132 MB / 1.239 GB, free: 185.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/2.388, allocations: 3.235 MB / 1.242 GB, free: 182.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/2.402, allocations: 12.45 MB / 1.254 GB, free: 169.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00974/2.412, allocations: 0.5514 MB / 1.255 GB, free: 168.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002935/2.414, allocations: 0.7918 MB / 1.256 GB, free: 167.8 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.0174/2.432, allocations: 7.887 MB / 1.263 GB, free: 159.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01377/2.446, allocations: 10.18 MB / 1.273 GB, free: 147.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2964/2.742, allocations: 54.88 MB / 1.327 GB, free: 91.42 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001552/2.742, allocations: 35.94 kB / 1.327 GB, free: 91.39 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.04082/2.783, allocations: 16.94 MB / 1.343 GB, free: 74.37 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/2.783, allocations: 52 kB / 1.343 GB, free: 74.32 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0301/2.813, allocations: 12.9 MB / 1.356 GB, free: 61.33 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006401/2.82, allocations: 1.582 MB / 1.358 GB, free: 59.75 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/2.832, allocations: 3.233 MB / 1.361 GB, free: 56.51 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/2.845, allocations: 11.48 MB / 1.372 GB, free: 44.45 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009452/2.854, allocations: 0.5317 MB / 1.372 GB, free: 43.92 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002758/2.857, allocations: 0.7875 MB / 1.373 GB, free: 43.14 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.005209/2.862, allocations: 0.9658 MB / 1.374 GB, free: 42.25 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004281/2.866, allocations: 0.9776 MB / 1.375 GB, free: 41.26 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.02852/2.895, allocations: 14.17 MB / 1.389 GB, free: 27.51 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.984216226032004] Failed to read output from testmodel.py, exit status != 0: 3.285928830038756 3.298453974 2.186966664 Calling exit ...