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.01463/0.01463, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001681/0.001681, allocations: 105.8 kB / 24.19 MB, free: 2.684 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.002255/0.002255, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.596/1.596, allocations: 230.6 MB / 262.1 MB, free: 6.02 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.106/1.106, allocations: 130.7 MB / 449.7 MB, free: 6.617 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: 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.0351/0.0351, allocations: 20.79 MB / 0.6358 GB, free: 5.148 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.2293, allocations: 81.9 MB / 0.7157 GB, free: 3.137 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.6044/0.8336, allocations: 62.03 MB / 0.7763 GB, free: 8.754 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05212/0.8857, allocations: 26.32 MB / 0.802 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01067/0.8964, allocations: 160.9 kB / 0.8022 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.9084, allocations: 3.281 MB / 0.8054 GB, free: 3.367 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02018/0.9286, allocations: 4.908 MB / 0.8102 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.9441, allocations: 4.943 MB / 0.815 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02499/0.9691, allocations: 13.91 MB / 0.8286 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008206/0.9773, allocations: 4.162 MB / 0.8327 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/0.9897, allocations: 5.665 MB / 0.8382 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/1.002, allocations: 5.998 MB / 0.844 GB, free: 15.67 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004064/1.006, allocations: 0.9375 MB / 0.845 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.017, allocations: 3.676 MB / 0.8485 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005861/1.023, allocations: 2.986 MB / 0.8515 GB, free: 8.07 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0116/1.034, allocations: 4.785 MB / 0.8561 GB, free: 3.262 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03175/1.066, allocations: 14.92 MB / 0.8707 GB, free: 4.289 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.066, allocations: 0 / 0.8707 GB, free: 4.289 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.894e-06/1.066, allocations: 0 / 0.8707 GB, free: 4.289 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005316/1.067, allocations: 4 kB / 0.8707 GB, free: 4.285 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.03044/1.097, allocations: 10.97 MB / 0.8814 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.097, allocations: 8.031 kB / 0.8814 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001945/1.099, allocations: 0.8114 MB / 0.8822 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/1.103, allocations: 1.149 MB / 0.8833 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.12, allocations: 6.938 MB / 0.8901 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/1.12, allocations: 349 kB / 0.8905 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/1.122, allocations: 439.8 kB / 0.8909 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03221/1.154, allocations: 12.17 MB / 0.9028 GB, free: 2.152 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/1.155, allocations: 58.27 kB / 0.9028 GB, free: 2.098 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000868/1.155, allocations: 224 kB / 0.903 GB, free: 1.879 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005657/1.156, allocations: 430 kB / 0.9034 GB, free: 1.461 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02865/1.185, allocations: 9.924 MB / 0.9131 GB, free: 7.543 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.07468/1.259, allocations: 49.03 MB / 0.961 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0223/1.282, allocations: 8.141 MB / 0.969 GB, free: 12.81 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007489/1.289, allocations: 3.058 MB / 0.9719 GB, free: 9.68 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.29, allocations: 303.6 kB / 0.9722 GB, free: 9.387 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01953/1.31, allocations: 6.549 MB / 0.9786 GB, free: 2.691 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004354/1.314, allocations: 0.716 MB / 0.9793 GB, free: 1.973 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.32e-05/1.314, allocations: 3 kB / 0.9793 GB, free: 1.973 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1073/1.422, allocations: 56.48 MB / 1.034 GB, free: 9.129 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001138/1.423, allocations: 1.819 MB / 1.036 GB, free: 6.887 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.435, allocations: 6.353 MB / 1.042 GB, free: 0.5508 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/1.437, allocations: 97.7 kB / 1.043 GB, free: 460 kB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003762/1.44, allocations: 3.287 MB / 1.046 GB, free: 13.14 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004792/1.445, allocations: 2.978 MB / 1.049 GB, free: 10.14 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005403/1.451, allocations: 1.91 MB / 1.051 GB, free: 8.219 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.451, allocations: 301.1 kB / 1.051 GB, free: 7.922 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009547/1.46, allocations: 4.156 MB / 1.055 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4142/1.874, allocations: 7.008 MB / 1.062 GB, free: 346.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3219/2.196, allocations: 51.44 MB / 1.112 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001835/2.197, allocations: 24 kB / 1.112 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.0326/2.229, allocations: 12.59 MB / 1.124 GB, free: 307.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/2.229, allocations: 40.22 kB / 1.124 GB, free: 307.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02041/2.25, allocations: 9.424 MB / 1.134 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04719/2.297, allocations: 4.164 MB / 1.138 GB, free: 293.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009726/2.307, allocations: 2.539 MB / 1.14 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/2.318, allocations: 12.31 MB / 1.152 GB, free: 278.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/2.327, allocations: 444.7 kB / 1.153 GB, free: 278 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/2.329, allocations: 0.5816 MB / 1.153 GB, free: 277.4 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.01296/2.342, allocations: 5.829 MB / 1.159 GB, free: 271.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009612/2.352, allocations: 6.985 MB / 1.166 GB, free: 263.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3065/2.658, allocations: 51.34 MB / 1.216 GB, free: 210.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.719e-05/2.658, allocations: 24 kB / 1.216 GB, free: 210.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02485/2.683, allocations: 12.5 MB / 1.228 GB, free: 198.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/2.683, allocations: 40 kB / 1.228 GB, free: 198.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01623/2.699, allocations: 9.32 MB / 1.237 GB, free: 189.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04587/2.745, allocations: 4.05 MB / 1.241 GB, free: 185.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009695/2.755, allocations: 2.517 MB / 1.244 GB, free: 182.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00968/2.765, allocations: 11.63 MB / 1.255 GB, free: 170.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008596/2.773, allocations: 448.4 kB / 1.255 GB, free: 170.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002634/2.776, allocations: 0.5816 MB / 1.256 GB, free: 169.5 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.003029/2.779, allocations: 0.7447 MB / 1.257 GB, free: 168.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002345/2.781, allocations: 0.8061 MB / 1.257 GB, free: 168.3 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.01677/2.798, allocations: 11.13 MB / 1.268 GB, free: 157.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.878763515000173] Failed to read output from testmodel.py, exit status != 0: 2.9728771980007878 2.983249436 1.914475129 Calling exit ...