Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple.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.01416/0.01416, allocations: 1.745 MB / 21.38 MB, free: 464 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.001724/0.001724, allocations: 101.6 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.002413/0.002413, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.425/1.425, allocations: 230.6 MB / 262.9 MB, free: 5.805 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.079/1.079, allocations: 130.7 MB / 450.4 MB, free: 6.402 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_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",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.06999/0.06999, allocations: 20.61 MB / 0.6363 GB, free: 5.039 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.2445, allocations: 81.89 MB / 0.7162 GB, free: 3.047 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_CU_simple): time 0.5871/0.8316, allocations: 58.14 MB / 0.773 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04692/0.8785, allocations: 25.24 MB / 0.7977 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009927/0.8884, allocations: 158.3 kB / 0.7978 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.8988, allocations: 3.155 MB / 0.8009 GB, free: 8.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0173/0.9161, allocations: 4.929 MB / 0.8057 GB, free: 4.402 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.9304, allocations: 4.945 MB / 0.8105 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02476/0.9551, allocations: 13.89 MB / 0.8241 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008776/0.9639, allocations: 4.148 MB / 0.8282 GB, free: 144 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01321/0.9771, allocations: 5.695 MB / 0.8337 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.9891, allocations: 5.992 MB / 0.8396 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004067/0.9931, allocations: 0.9413 MB / 0.8405 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.004, allocations: 2.854 MB / 0.8433 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006394/1.01, allocations: 2.987 MB / 0.8462 GB, free: 13.63 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01123/1.021, allocations: 3.708 MB / 0.8498 GB, free: 9.906 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03465/1.056, allocations: 14.81 MB / 0.8643 GB, free: 11.04 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.056, allocations: 6.688 kB / 0.8643 GB, free: 11.04 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.204e-06/1.056, allocations: 0 / 0.8643 GB, free: 11.04 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005438/1.057, allocations: 0 / 0.8643 GB, free: 11.04 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.03403/1.091, allocations: 10.96 MB / 0.875 GB, free: 20 kB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/1.091, allocations: 12.03 kB / 0.875 GB, free: 8 kB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002383/1.091, allocations: 133.2 kB / 0.8751 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003501/1.094, allocations: 0.8075 MB / 0.8759 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006375/1.101, allocations: 1.153 MB / 0.877 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/1.12, allocations: 6.932 MB / 0.8838 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/1.121, allocations: 355.5 kB / 0.8841 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/1.123, allocations: 447.9 kB / 0.8846 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/1.16, allocations: 14.22 MB / 0.8985 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002819/1.16, allocations: 50.19 kB / 0.8985 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.162, allocations: 224 kB / 0.8987 GB, free: 5.844 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007138/1.163, allocations: 434.8 kB / 0.8991 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03114/1.194, allocations: 9.928 MB / 0.9088 GB, free: 11.5 MB / 0.6857 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.0807/1.275, allocations: 46.24 MB / 0.954 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/1.299, allocations: 8.138 MB / 0.9619 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008035/1.307, allocations: 3.059 MB / 0.9649 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/1.308, allocations: 266.4 kB / 0.9652 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02152/1.33, allocations: 6.543 MB / 0.9716 GB, free: 9.516 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005099/1.335, allocations: 0.7194 MB / 0.9723 GB, free: 8.797 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 5.221e-05/1.335, allocations: 0 / 0.9723 GB, free: 8.797 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1395/1.475, allocations: 56.48 MB / 1.027 GB, free: 15.96 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001114/1.476, allocations: 1.813 MB / 1.029 GB, free: 13.73 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/1.49, allocations: 6.355 MB / 1.035 GB, free: 7.387 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001858/1.492, allocations: 97.7 kB / 1.035 GB, free: 7.285 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00432/1.497, allocations: 3.285 MB / 1.039 GB, free: 3.977 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004843/1.501, allocations: 2.982 MB / 1.042 GB, free: 0.9688 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007137/1.509, allocations: 1.91 MB / 1.043 GB, free: 15.04 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.509, allocations: 301.1 kB / 1.044 GB, free: 14.75 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009923/1.519, allocations: 4.157 MB / 1.048 GB, free: 10.58 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/1.533, allocations: 7.926 MB / 1.056 GB, free: 1.184 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7189/2.252, allocations: 51.45 MB / 1.106 GB, free: 321.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.359e-05/2.252, allocations: 24 kB / 1.106 GB, free: 321.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02686/2.279, allocations: 12.59 MB / 1.118 GB, free: 309.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/2.279, allocations: 42.06 kB / 1.118 GB, free: 309.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01974/2.298, allocations: 9.423 MB / 1.127 GB, free: 299.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04938/2.348, allocations: 4.161 MB / 1.131 GB, free: 295.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009963/2.358, allocations: 2.539 MB / 1.134 GB, free: 293.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/2.369, allocations: 12.24 MB / 1.146 GB, free: 280.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008209/2.377, allocations: 441.4 kB / 1.146 GB, free: 279.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002422/2.379, allocations: 0.5777 MB / 1.147 GB, free: 279.2 MB / 0.8263 GB Warning: Assuming fixed start value for the following 4 variables: 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 PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01367/2.393, allocations: 5.845 MB / 1.153 GB, free: 273.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01069/2.404, allocations: 7.89 MB / 1.16 GB, free: 264 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3271/2.731, allocations: 51.35 MB / 1.21 GB, free: 211.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001077/2.731, allocations: 24 kB / 1.21 GB, free: 211.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02937/2.76, allocations: 12.51 MB / 1.223 GB, free: 199.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/2.76, allocations: 40 kB / 1.223 GB, free: 199.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02305/2.783, allocations: 9.323 MB / 1.232 GB, free: 190 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04881/2.832, allocations: 4.036 MB / 1.236 GB, free: 186 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009206/2.842, allocations: 2.523 MB / 1.238 GB, free: 183.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/2.852, allocations: 11.57 MB / 1.25 GB, free: 171.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008289/2.86, allocations: 448.4 kB / 1.25 GB, free: 170.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/2.862, allocations: 0.5777 MB / 1.25 GB, free: 170.2 MB / 0.8263 GB Warning: Assuming fixed start value for the following 4 variables: 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 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: 370 * Number of states: 0 () * Number of discrete variables: 7 ($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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.004275/2.867, allocations: 0.7468 MB / 1.251 GB, free: 169.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003222/2.87, allocations: 0.8094 MB / 1.252 GB, free: 169 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0215/2.891, allocations: 11.13 MB / 1.263 GB, free: 158.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.747567160986364] Failed to read output from testmodel.py, exit status != 0: 3.0447146859951317 3.064650184 2.002951779 Calling exit ...