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.01336/0.01336, allocations: 1.772 MB / 18.82 MB, free: 4.246 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.00146/0.00146, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.00193/0.00193, allocations: 211.5 kB / 25.45 MB, free: 3.246 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.45/1.45, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.089/1.089, allocations: 130.6 MB / 446.3 MB, free: 14.98 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: 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.427/0.427, allocations: 46.16 MB / 0.6552 GB, free: 30.07 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.627, allocations: 89.03 MB / 0.7421 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.03243/0.6595, allocations: 29.04 MB / 0.7705 GB, free: 5.613 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04621/0.7057, allocations: 26 MB / 0.7959 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/0.7158, allocations: 158.8 kB / 0.796 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00962/0.7254, allocations: 3.222 MB / 0.7992 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.7417, allocations: 4.807 MB / 0.8039 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.7563, allocations: 4.845 MB / 0.8086 GB, free: 14.46 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02509/0.7814, allocations: 13.89 MB / 0.8222 GB, free: 0.5352 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009775/0.7912, allocations: 4.319 MB / 0.8264 GB, free: 12.14 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.8048, allocations: 5.661 MB / 0.8319 GB, free: 6.465 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/0.8173, allocations: 5.974 MB / 0.8378 GB, free: 480 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00461/0.8219, allocations: 0.9375 MB / 0.8387 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.8326, allocations: 3.432 MB / 0.842 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00657/0.8392, allocations: 2.983 MB / 0.8449 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01369/0.8528, allocations: 4.785 MB / 0.8496 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02741/0.8803, allocations: 14.85 MB / 0.8641 GB, free: 5.395 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.8803, allocations: 0 / 0.8641 GB, free: 5.395 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8803, allocations: 0 / 0.8641 GB, free: 5.395 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005377/0.8808, allocations: 0 / 0.8641 GB, free: 5.395 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.4605/1.341, allocations: 9.769 MB / 0.8736 GB, free: 110.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.341, allocations: 7.125 kB / 0.8737 GB, free: 110.4 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002317/1.342, allocations: 140.2 kB / 0.8738 GB, free: 110.4 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003288/1.345, allocations: 0.8092 MB / 0.8746 GB, free: 110 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006864/1.352, allocations: 1.155 MB / 0.8757 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/1.369, allocations: 7.139 MB / 0.8827 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/1.37, allocations: 349.5 kB / 0.883 GB, free: 106.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/1.372, allocations: 451.4 kB / 0.8834 GB, free: 106.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/1.4, allocations: 12.18 MB / 0.8953 GB, free: 99.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/1.4, allocations: 50.19 kB / 0.8954 GB, free: 99.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007123/1.401, allocations: 229.2 kB / 0.8956 GB, free: 99.06 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004464/1.401, allocations: 422.7 kB / 0.896 GB, free: 98.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/1.43, allocations: 9.931 MB / 0.9057 GB, free: 94.26 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.06277/1.492, allocations: 49.44 MB / 0.954 GB, free: 51.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/1.513, allocations: 8.524 MB / 0.9623 GB, free: 46.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006534/1.52, allocations: 3.053 MB / 0.9653 GB, free: 44.54 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/1.521, allocations: 0.6669 MB / 0.9659 GB, free: 43.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01761/1.539, allocations: 6.553 MB / 0.9723 GB, free: 37.88 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004315/1.543, allocations: 0.7049 MB / 0.973 GB, free: 37.35 MB / 0.67 GB Notification: Performance of pre-optimization done (n=865): time 3.19e-05/1.543, allocations: 0 / 0.973 GB, free: 37.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=866): time 0.1151/1.658, allocations: 56.95 MB / 1.029 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001105/1.659, allocations: 1.803 MB / 1.03 GB, free: 9.816 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/1.673, allocations: 6.359 MB / 1.037 GB, free: 3.477 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001836/1.674, allocations: 101.7 kB / 1.037 GB, free: 3.371 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003748/1.678, allocations: 3.278 MB / 1.04 GB, free: 100 kB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.004914/1.683, allocations: 2.973 MB / 1.043 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007009/1.69, allocations: 1.917 MB / 1.045 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.69, allocations: 311.7 kB / 1.045 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009362/1.7, allocations: 4.15 MB / 1.049 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/1.713, allocations: 7.01 MB / 1.056 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3518/2.065, allocations: 51.45 MB / 1.106 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.593e-05/2.065, allocations: 24 kB / 1.106 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03151/2.096, allocations: 12.61 MB / 1.118 GB, free: 13.92 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/2.096, allocations: 41.88 kB / 1.118 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0237/2.12, allocations: 9.419 MB / 1.128 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04852/2.168, allocations: 4.16 MB / 1.132 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/2.179, allocations: 2.538 MB / 1.134 GB, free: 13.73 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/2.194, allocations: 12.93 MB / 1.147 GB, free: 15.94 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007772/2.202, allocations: 439.6 kB / 1.147 GB, free: 15.51 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/2.204, allocations: 0.5829 MB / 1.148 GB, free: 14.93 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.01589/2.22, allocations: 5.834 MB / 1.154 GB, free: 9.086 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01334/2.234, allocations: 6.978 MB / 1.16 GB, free: 0.8516 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7678/3.001, allocations: 51.33 MB / 1.21 GB, free: 273.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.6e-05/3.001, allocations: 23.5 kB / 1.211 GB, free: 273.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03164/3.033, allocations: 12.51 MB / 1.223 GB, free: 270.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/3.033, allocations: 43.38 kB / 1.223 GB, free: 270.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02385/3.057, allocations: 9.315 MB / 1.232 GB, free: 267 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04604/3.103, allocations: 4.045 MB / 1.236 GB, free: 266.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009244/3.112, allocations: 2.516 MB / 1.238 GB, free: 265.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/3.122, allocations: 12.25 MB / 1.25 GB, free: 254.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008196/3.131, allocations: 443.3 kB / 1.251 GB, free: 254.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/3.133, allocations: 0.5809 MB / 1.251 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.003439/3.136, allocations: 0.7426 MB / 1.252 GB, free: 253.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003089/3.139, allocations: 0.8099 MB / 1.253 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.02216/3.162, allocations: 11.13 MB / 1.264 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.729977572977077] Failed to read output from testmodel.py, exit status != 0: 3.170646138023585 3.183732537 2.298496106 Calling exit ...