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.01248/0.01248, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001344/0.001344, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.002209/0.002209, allocations: 213 kB / 24.75 MB, free: 3.719 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.52/1.52, allocations: 230.6 MB / 258.5 MB, free: 13.13 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.165/1.165, allocations: 130.6 MB / 445.6 MB, free: 14.71 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="me",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="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: 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.4025/0.4025, allocations: 46.15 MB / 0.6545 GB, free: 30.27 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.5972, allocations: 89.06 MB / 0.7415 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.03499/0.6322, allocations: 29.02 MB / 0.7698 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04916/0.6813, allocations: 26.02 MB / 0.7952 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008996/0.6903, allocations: 158.9 kB / 0.7954 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.7006, allocations: 3.222 MB / 0.7985 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01841/0.719, allocations: 4.807 MB / 0.8032 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01451/0.7335, allocations: 4.834 MB / 0.8079 GB, free: 14.41 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02561/0.7591, allocations: 13.89 MB / 0.8215 GB, free: 496 kB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.7692, allocations: 4.319 MB / 0.8257 GB, free: 12.09 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01364/0.7828, allocations: 5.661 MB / 0.8312 GB, free: 6.414 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01248/0.7953, allocations: 5.972 MB / 0.8371 GB, free: 428 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00456/0.7998, allocations: 0.9375 MB / 0.838 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.8111, allocations: 3.44 MB / 0.8413 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006505/0.8176, allocations: 2.986 MB / 0.8443 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01179/0.8293, allocations: 4.773 MB / 0.8489 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03282/0.8622, allocations: 14.85 MB / 0.8634 GB, free: 5.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8622, allocations: 0 / 0.8634 GB, free: 5.34 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8622, allocations: 4 kB / 0.8634 GB, free: 5.336 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005518/0.8627, allocations: 0 / 0.8634 GB, free: 5.336 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.4277/1.29, allocations: 9.758 MB / 0.8729 GB, free: 110.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.29, allocations: 10.91 kB / 0.873 GB, free: 110.4 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002172/1.293, allocations: 0.8132 MB / 0.8738 GB, free: 110 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/1.297, allocations: 1.155 MB / 0.8749 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/1.312, allocations: 7.141 MB / 0.8819 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/1.312, allocations: 351.2 kB / 0.8822 GB, free: 106.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/1.314, allocations: 449.8 kB / 0.8826 GB, free: 106.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/1.34, allocations: 12.18 MB / 0.8945 GB, free: 99.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/1.34, allocations: 54.06 kB / 0.8946 GB, free: 99.16 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006663/1.341, allocations: 232.3 kB / 0.8948 GB, free: 99.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003949/1.341, allocations: 418 kB / 0.8952 GB, free: 98.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02748/1.369, allocations: 9.927 MB / 0.9049 GB, free: 94.22 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.07516/1.444, allocations: 49.45 MB / 0.9532 GB, free: 51.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/1.465, allocations: 8.515 MB / 0.9615 GB, free: 46.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006463/1.472, allocations: 3.059 MB / 0.9645 GB, free: 44.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/1.473, allocations: 0.6703 MB / 0.9651 GB, free: 43.94 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01741/1.491, allocations: 6.544 MB / 0.9715 GB, free: 38.06 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004056/1.495, allocations: 0.7191 MB / 0.9722 GB, free: 37.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=865): time 1.968e-05/1.495, allocations: 0 / 0.9722 GB, free: 37.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=866): time 0.1045/1.599, allocations: 56.94 MB / 1.028 GB, free: 12.21 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001166/1.6, allocations: 1.814 MB / 1.03 GB, free: 9.988 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.612, allocations: 6.355 MB / 1.036 GB, free: 3.652 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001858/1.614, allocations: 101.7 kB / 1.036 GB, free: 3.547 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003609/1.618, allocations: 3.278 MB / 1.039 GB, free: 280 kB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.005028/1.623, allocations: 2.976 MB / 1.042 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004123/1.627, allocations: 1.917 MB / 1.044 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.627, allocations: 303.8 kB / 1.044 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008803/1.636, allocations: 4.151 MB / 1.048 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/1.649, allocations: 7.013 MB / 1.055 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3516/2, allocations: 51.45 MB / 1.105 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-05/2, allocations: 23.94 kB / 1.105 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03148/2.032, allocations: 12.6 MB / 1.118 GB, free: 14.04 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/2.032, allocations: 41.56 kB / 1.118 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02339/2.055, allocations: 9.432 MB / 1.127 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04858/2.104, allocations: 4.153 MB / 1.131 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.115, allocations: 2.543 MB / 1.133 GB, free: 13.84 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/2.131, allocations: 12.92 MB / 1.146 GB, free: 68 kB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007958/2.139, allocations: 439.6 kB / 1.146 GB, free: 15.64 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/2.141, allocations: 0.5855 MB / 1.147 GB, free: 15.05 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.01461/2.156, allocations: 5.838 MB / 1.153 GB, free: 9.207 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01274/2.169, allocations: 6.978 MB / 1.16 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7806/2.949, allocations: 51.34 MB / 1.21 GB, free: 274 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.467e-05/2.949, allocations: 23.75 kB / 1.21 GB, free: 274 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03329/2.982, allocations: 12.5 MB / 1.222 GB, free: 270.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/2.983, allocations: 42.97 kB / 1.222 GB, free: 270.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02273/3.005, allocations: 9.317 MB / 1.231 GB, free: 267 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04504/3.05, allocations: 4.049 MB / 1.235 GB, free: 266.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009842/3.06, allocations: 2.515 MB / 1.237 GB, free: 265.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/3.072, allocations: 12.24 MB / 1.249 GB, free: 254.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009564/3.081, allocations: 444.4 kB / 1.25 GB, free: 254.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/3.083, allocations: 0.5753 MB / 1.25 GB, free: 254.1 MB / 0.8575 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.00292/3.086, allocations: 0.7553 MB / 1.251 GB, free: 253.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002514/3.089, allocations: 0.7992 MB / 1.252 GB, free: 253.7 MB / 0.8575 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.02031/3.109, allocations: 11.13 MB / 1.263 GB, free: 247.7 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.915990219000378] Failed to read output from testmodel.py, exit status != 0: 3.11703631299315 3.127690686 2.261345117 Calling exit ...