Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01354/0.01354, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001394/0.001394, allocations: 101.5 kB / 24.93 MB, free: 2.031 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.001705/0.001705, allocations: 212.8 kB / 28.65 MB, free: 3.297 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.614/1.614, allocations: 230.6 MB / 262.8 MB, free: 5.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.174/1.174, allocations: 130.7 MB / 450.4 MB, free: 6.379 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_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.07043/0.07043, allocations: 20.99 MB / 0.6371 GB, free: 4.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.2555, allocations: 81.91 MB / 0.7171 GB, free: 2.172 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.6427/0.8981, allocations: 58.16 MB / 0.7739 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06101/0.9591, allocations: 25.27 MB / 0.7985 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01522/0.9744, allocations: 164.1 kB / 0.7987 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01242/0.9868, allocations: 3.121 MB / 0.8017 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02381/1.011, allocations: 4.918 MB / 0.8065 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01732/1.028, allocations: 4.935 MB / 0.8114 GB, free: 496 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02728/1.055, allocations: 13.88 MB / 0.8249 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/1.066, allocations: 4.395 MB / 0.8292 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01557/1.081, allocations: 5.68 MB / 0.8348 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01417/1.095, allocations: 5.695 MB / 0.8403 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004964/1.1, allocations: 0.9375 MB / 0.8412 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/1.112, allocations: 2.789 MB / 0.844 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.007076/1.119, allocations: 2.99 MB / 0.8469 GB, free: 13.17 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0122/1.131, allocations: 3.72 MB / 0.8505 GB, free: 9.438 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03537/1.167, allocations: 14.8 MB / 0.865 GB, free: 10.58 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.167, allocations: 0 / 0.865 GB, free: 10.58 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.166e-06/1.167, allocations: 0 / 0.865 GB, free: 10.58 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0006044/1.167, allocations: 0 / 0.865 GB, free: 10.58 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.03859/1.206, allocations: 10.95 MB / 0.8757 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.206, allocations: 8.031 kB / 0.8757 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/1.212, allocations: 1.149 MB / 0.8768 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/1.232, allocations: 6.96 MB / 0.8836 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/1.233, allocations: 344.9 kB / 0.8839 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002419/1.235, allocations: 443.9 kB / 0.8843 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/1.275, allocations: 14.22 MB / 0.8982 GB, free: 6.602 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003533/1.276, allocations: 56.56 kB / 0.8983 GB, free: 6.551 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/1.278, allocations: 228 kB / 0.8985 GB, free: 6.328 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008417/1.279, allocations: 422.9 kB / 0.8989 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03148/1.31, allocations: 9.892 MB / 0.9086 GB, free: 12.04 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.08093/1.391, allocations: 45.53 MB / 0.953 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02517/1.417, allocations: 8.148 MB / 0.961 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008997/1.426, allocations: 3.048 MB / 0.9639 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/1.427, allocations: 270.4 kB / 0.9642 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02339/1.451, allocations: 6.539 MB / 0.9706 GB, free: 10.78 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005271/1.456, allocations: 0.7082 MB / 0.9713 GB, free: 10.07 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 4.198e-05/1.456, allocations: 0 / 0.9713 GB, free: 10.07 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1266/1.582, allocations: 56.47 MB / 1.026 GB, free: 1.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001216/1.584, allocations: 1.816 MB / 1.028 GB, free: 15.01 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.596, allocations: 6.331 MB / 1.034 GB, free: 8.691 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.00196/1.598, allocations: 100.4 kB / 1.034 GB, free: 8.59 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00406/1.602, allocations: 3.296 MB / 1.038 GB, free: 5.27 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.005698/1.608, allocations: 2.978 MB / 1.041 GB, free: 2.266 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004504/1.612, allocations: 1.91 MB / 1.042 GB, free: 352 kB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.613, allocations: 305.1 kB / 1.043 GB, free: 44 kB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009027/1.622, allocations: 4.151 MB / 1.047 GB, free: 11.88 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01396/1.636, allocations: 7.933 MB / 1.055 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7809/2.417, allocations: 51.45 MB / 1.105 GB, free: 322.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/2.417, allocations: 24 kB / 1.105 GB, free: 322.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02988/2.447, allocations: 12.57 MB / 1.117 GB, free: 310.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/2.447, allocations: 40 kB / 1.117 GB, free: 310.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02111/2.468, allocations: 9.421 MB / 1.126 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04477/2.513, allocations: 4.17 MB / 1.13 GB, free: 296.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009587/2.522, allocations: 2.539 MB / 1.133 GB, free: 294.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/2.532, allocations: 12.11 MB / 1.145 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007556/2.54, allocations: 446.6 kB / 1.145 GB, free: 281 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002121/2.542, allocations: 0.5816 MB / 1.146 GB, free: 280.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.01289/2.555, allocations: 5.829 MB / 1.151 GB, free: 274.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009799/2.565, allocations: 7.882 MB / 1.159 GB, free: 265.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3164/2.881, allocations: 51.37 MB / 1.209 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001097/2.881, allocations: 24 kB / 1.209 GB, free: 212.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03124/2.913, allocations: 12.48 MB / 1.221 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/2.913, allocations: 40.55 kB / 1.222 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02208/2.935, allocations: 9.317 MB / 1.231 GB, free: 191.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04378/2.979, allocations: 4.048 MB / 1.235 GB, free: 187.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009486/2.988, allocations: 2.515 MB / 1.237 GB, free: 184.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009957/2.998, allocations: 11.45 MB / 1.248 GB, free: 172.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008036/3.006, allocations: 440.4 kB / 1.249 GB, free: 172.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002213/3.008, allocations: 0.5855 MB / 1.249 GB, free: 171.7 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.004129/3.012, allocations: 0.7445 MB / 1.25 GB, free: 171 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003525/3.016, allocations: 0.7897 MB / 1.251 GB, free: 170.6 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.02242/3.038, allocations: 11.17 MB / 1.262 GB, free: 159.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.31457007303834] Failed to read output from testmodel.py, exit status != 0: 3.2285262527875602 3.240099111 2.070595241 Calling exit ...