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.01097/0.01097, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.00138/0.00138, allocations: 114.8 kB / 24.19 MB, free: 2.652 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.001843/0.001843, allocations: 208.8 kB / 27.92 MB, free: 4.004 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.477/1.477, allocations: 230.6 MB / 262.1 MB, free: 6.023 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.57 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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [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.03391/0.03391, allocations: 20.78 MB / 0.6362 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.2171, allocations: 81.91 MB / 0.7162 GB, free: 2.656 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.5131/0.7302, allocations: 62.02 MB / 0.7768 GB, free: 8.707 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05169/0.7819, allocations: 26.33 MB / 0.8025 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01136/0.7932, allocations: 157 kB / 0.8027 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.8056, allocations: 3.279 MB / 0.8059 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02018/0.8258, allocations: 4.912 MB / 0.8107 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.842, allocations: 4.948 MB / 0.8155 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02528/0.8672, allocations: 13.92 MB / 0.8291 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009477/0.8767, allocations: 4.16 MB / 0.8331 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/0.8898, allocations: 5.657 MB / 0.8387 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/0.9019, allocations: 6.001 MB / 0.8445 GB, free: 15.38 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.00386/0.9058, allocations: 0.9414 MB / 0.8454 GB, free: 14.44 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.9164, allocations: 3.675 MB / 0.849 GB, free: 10.77 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005668/0.9221, allocations: 2.986 MB / 0.852 GB, free: 7.777 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01117/0.9332, allocations: 4.777 MB / 0.8566 GB, free: 2.977 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03004/0.9633, allocations: 14.92 MB / 0.8712 GB, free: 4 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.9633, allocations: 2.656 kB / 0.8712 GB, free: 4 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9633, allocations: 0 / 0.8712 GB, free: 4 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005645/0.9639, allocations: 0 / 0.8712 GB, free: 4 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.03634/1, allocations: 10.96 MB / 0.8819 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1, allocations: 12.03 kB / 0.8819 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/1.006, allocations: 1.153 MB / 0.883 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/1.027, allocations: 6.949 MB / 0.8898 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006416/1.028, allocations: 348.9 kB / 0.8902 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/1.03, allocations: 443.9 kB / 0.8906 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03741/1.068, allocations: 12.17 MB / 0.9025 GB, free: 2.676 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003016/1.068, allocations: 51.5 kB / 0.9025 GB, free: 2.625 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002223/1.07, allocations: 228 kB / 0.9027 GB, free: 2.402 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008269/1.071, allocations: 422.9 kB / 0.9031 GB, free: 1.988 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/1.104, allocations: 9.932 MB / 0.9128 GB, free: 8.066 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.08504/1.189, allocations: 49.03 MB / 0.9607 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02544/1.214, allocations: 8.149 MB / 0.9687 GB, free: 13.33 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008425/1.223, allocations: 3.054 MB / 0.9717 GB, free: 10.2 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.224, allocations: 303.5 kB / 0.9719 GB, free: 9.91 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02189/1.246, allocations: 6.545 MB / 0.9783 GB, free: 3.219 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00502/1.251, allocations: 0.716 MB / 0.979 GB, free: 2.5 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 3.184e-05/1.251, allocations: 0 / 0.979 GB, free: 2.5 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1391/1.39, allocations: 56.48 MB / 1.034 GB, free: 9.66 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00111/1.391, allocations: 1.815 MB / 1.036 GB, free: 7.422 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.403, allocations: 6.353 MB / 1.042 GB, free: 1.086 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001728/1.405, allocations: 104.4 kB / 1.042 GB, free: 0.9805 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.004228/1.409, allocations: 3.281 MB / 1.045 GB, free: 13.68 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005228/1.414, allocations: 2.982 MB / 1.048 GB, free: 10.67 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007944/1.422, allocations: 1.913 MB / 1.05 GB, free: 8.742 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.422, allocations: 301.1 kB / 1.051 GB, free: 8.445 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/1.433, allocations: 4.153 MB / 1.055 GB, free: 4.285 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3189/1.752, allocations: 7.01 MB / 1.061 GB, free: 346.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3281/2.08, allocations: 51.44 MB / 1.112 GB, free: 320.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002246/2.08, allocations: 24 kB / 1.112 GB, free: 320.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02927/2.109, allocations: 12.59 MB / 1.124 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/2.109, allocations: 51.11 kB / 1.124 GB, free: 308 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02042/2.13, allocations: 9.41 MB / 1.133 GB, free: 298.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0493/2.179, allocations: 4.167 MB / 1.137 GB, free: 294.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/2.189, allocations: 2.543 MB / 1.14 GB, free: 291.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/2.2, allocations: 12.3 MB / 1.152 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/2.209, allocations: 444.4 kB / 1.152 GB, free: 278.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002481/2.211, allocations: 0.5777 MB / 1.153 GB, free: 277.9 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.01295/2.224, allocations: 5.836 MB / 1.158 GB, free: 272.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009575/2.234, allocations: 6.982 MB / 1.165 GB, free: 263.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.332/2.566, allocations: 51.34 MB / 1.215 GB, free: 211.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.286e-05/2.566, allocations: 24 kB / 1.215 GB, free: 211.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02739/2.593, allocations: 12.5 MB / 1.228 GB, free: 199.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/2.594, allocations: 41.09 kB / 1.228 GB, free: 199.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01895/2.612, allocations: 9.323 MB / 1.237 GB, free: 189.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04953/2.662, allocations: 4.047 MB / 1.241 GB, free: 185.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009442/2.671, allocations: 2.515 MB / 1.243 GB, free: 183.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/2.682, allocations: 11.63 MB / 1.255 GB, free: 171 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00745/2.689, allocations: 455.4 kB / 1.255 GB, free: 170.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/2.691, allocations: 0.5738 MB / 1.256 GB, free: 170 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.003958/2.695, allocations: 0.7441 MB / 1.256 GB, free: 169.3 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002901/2.698, allocations: 0.8047 MB / 1.257 GB, free: 168.8 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.02217/2.72, allocations: 11.14 MB / 1.268 GB, free: 158.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.7172223560046405] Failed to read output from testmodel.py, exit status != 0: 2.8802108021918684 2.891830341 1.9256622349999999 Calling exit ...