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.01535/0.01535, allocations: 1.761 MB / 20.59 MB, free: 1.129 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.001396/0.001396, allocations: 108.7 kB / 24.19 MB, free: 2.633 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.001911/0.001911, allocations: 209.4 kB / 27.92 MB, free: 3.938 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.488/1.488, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.1/1.1, allocations: 130.7 MB / 449.7 MB, free: 6.602 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.03468/0.03468, allocations: 20.79 MB / 0.6358 GB, free: 5.105 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.21, allocations: 81.91 MB / 0.7157 GB, free: 3.105 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.5456/0.7556, allocations: 62.04 MB / 0.7763 GB, free: 8.742 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04685/0.8024, allocations: 26.32 MB / 0.802 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008873/0.8113, allocations: 160.5 kB / 0.8022 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.8217, allocations: 3.274 MB / 0.8054 GB, free: 3.379 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01702/0.8388, allocations: 4.912 MB / 0.8102 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01409/0.8528, allocations: 4.941 MB / 0.815 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02523/0.8781, allocations: 13.92 MB / 0.8286 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.8885, allocations: 4.162 MB / 0.8327 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.9012, allocations: 5.66 MB / 0.8382 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.9141, allocations: 5.998 MB / 0.844 GB, free: 15.7 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004416/0.9185, allocations: 0.9336 MB / 0.845 GB, free: 14.76 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.9301, allocations: 3.676 MB / 0.8485 GB, free: 11.09 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006836/0.9369, allocations: 2.994 MB / 0.8515 GB, free: 8.09 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01137/0.9483, allocations: 4.773 MB / 0.8561 GB, free: 3.293 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03015/0.9784, allocations: 14.92 MB / 0.8707 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.9784, allocations: 0 / 0.8707 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9784, allocations: 0 / 0.8707 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000536/0.979, allocations: 4 kB / 0.8707 GB, free: 4.316 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.03162/1.011, allocations: 10.97 MB / 0.8814 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.011, allocations: 10.75 kB / 0.8814 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002856/1.013, allocations: 0.8075 MB / 0.8822 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/1.019, allocations: 1.149 MB / 0.8833 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/1.037, allocations: 6.939 MB / 0.8901 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/1.037, allocations: 340.9 kB / 0.8904 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/1.039, allocations: 447.9 kB / 0.8909 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03502/1.074, allocations: 12.17 MB / 0.9028 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/1.075, allocations: 60.78 kB / 0.9028 GB, free: 2.129 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002023/1.077, allocations: 232 kB / 0.903 GB, free: 1.902 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007137/1.077, allocations: 422.9 kB / 0.9034 GB, free: 1.488 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/1.107, allocations: 9.924 MB / 0.9131 GB, free: 7.57 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.0779/1.185, allocations: 49.03 MB / 0.961 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02452/1.21, allocations: 8.154 MB / 0.969 GB, free: 12.83 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007934/1.218, allocations: 3.055 MB / 0.972 GB, free: 9.699 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.219, allocations: 308.7 kB / 0.9722 GB, free: 9.402 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02073/1.24, allocations: 6.54 MB / 0.9786 GB, free: 2.719 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004256/1.244, allocations: 0.7238 MB / 0.9793 GB, free: 1.992 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.329e-05/1.244, allocations: 0 / 0.9793 GB, free: 1.992 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1126/1.357, allocations: 56.48 MB / 1.034 GB, free: 9.152 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001062/1.358, allocations: 1.818 MB / 1.036 GB, free: 6.914 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.368, allocations: 6.349 MB / 1.042 GB, free: 0.582 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001733/1.37, allocations: 101.7 kB / 1.043 GB, free: 488 kB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003462/1.374, allocations: 3.281 MB / 1.046 GB, free: 13.18 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004398/1.378, allocations: 2.985 MB / 1.049 GB, free: 10.16 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003592/1.382, allocations: 1.912 MB / 1.051 GB, free: 8.242 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.382, allocations: 301.1 kB / 1.051 GB, free: 7.945 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008362/1.39, allocations: 4.155 MB / 1.055 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3472/1.737, allocations: 7.008 MB / 1.062 GB, free: 346.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3239/2.061, allocations: 51.44 MB / 1.112 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/2.061, allocations: 20 kB / 1.112 GB, free: 319.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02409/2.085, allocations: 12.6 MB / 1.124 GB, free: 307.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/2.085, allocations: 43.98 kB / 1.124 GB, free: 307.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01587/2.101, allocations: 9.421 MB / 1.134 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04642/2.148, allocations: 4.161 MB / 1.138 GB, free: 293.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009242/2.157, allocations: 2.538 MB / 1.14 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/2.167, allocations: 12.31 MB / 1.152 GB, free: 278.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007296/2.174, allocations: 453.5 kB / 1.153 GB, free: 278.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/2.176, allocations: 0.5816 MB / 1.153 GB, free: 277.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01053/2.187, allocations: 5.832 MB / 1.159 GB, free: 271.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008323/2.195, allocations: 6.982 MB / 1.166 GB, free: 263.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3117/2.507, allocations: 51.33 MB / 1.216 GB, free: 210.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.214e-05/2.507, 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.02561/2.532, allocations: 12.51 MB / 1.228 GB, free: 198.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/2.532, allocations: 43.84 kB / 1.228 GB, free: 198.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01872/2.551, allocations: 9.328 MB / 1.237 GB, free: 189.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04639/2.598, allocations: 4.043 MB / 1.241 GB, free: 185.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008854/2.606, allocations: 2.515 MB / 1.244 GB, free: 182.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009344/2.616, allocations: 11.64 MB / 1.255 GB, free: 170.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006537/2.622, allocations: 444.4 kB / 1.255 GB, free: 170.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/2.624, allocations: 0.5777 MB / 1.256 GB, free: 169.6 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.002537/2.626, allocations: 0.7423 MB / 1.257 GB, free: 168.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001918/2.628, allocations: 0.8085 MB / 1.257 GB, free: 168.4 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.01639/2.644, allocations: 11.14 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.635581098962575] Failed to read output from testmodel.py, exit status != 0: 2.802212961949408 2.812744715 1.83169195 Calling exit ...