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.01466/0.01466, allocations: 1.747 MB / 21.35 MB, free: 480 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.00143/0.00143, allocations: 100.4 kB / 24.93 MB, free: 2.055 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.001851/0.001851, allocations: 209.9 kB / 28.65 MB, free: 3.34 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.505/1.505, allocations: 230.6 MB / 262.8 MB, free: 5.84 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.138/1.138, allocations: 130.7 MB / 450.4 MB, free: 6.406 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.06697/0.06697, allocations: 20.99 MB / 0.6371 GB, free: 4.168 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.2494, allocations: 81.91 MB / 0.7171 GB, free: 2.148 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.6138/0.8632, allocations: 58.16 MB / 0.7739 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04927/0.9124, allocations: 25.27 MB / 0.7985 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009319/0.9218, allocations: 162.7 kB / 0.7987 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.9327, allocations: 3.114 MB / 0.8017 GB, free: 8.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01832/0.951, allocations: 4.923 MB / 0.8066 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.9658, allocations: 4.931 MB / 0.8114 GB, free: 500 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02415/0.9899, allocations: 13.89 MB / 0.8249 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008172/0.9981, allocations: 4.4 MB / 0.8292 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/1.009, allocations: 5.673 MB / 0.8348 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/1.022, allocations: 5.696 MB / 0.8403 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00312/1.025, allocations: 0.9414 MB / 0.8413 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009279/1.034, allocations: 2.784 MB / 0.844 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004289/1.038, allocations: 2.987 MB / 0.8469 GB, free: 13.14 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.007829/1.046, allocations: 3.72 MB / 0.8505 GB, free: 9.406 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02474/1.071, allocations: 14.81 MB / 0.865 GB, free: 10.55 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.071, allocations: 2.656 kB / 0.865 GB, free: 10.55 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.694e-06/1.071, allocations: 0 / 0.865 GB, free: 10.55 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004629/1.071, allocations: 0 / 0.865 GB, free: 10.55 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.02783/1.099, allocations: 10.95 MB / 0.8757 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.099, allocations: 13.53 kB / 0.8757 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/1.103, allocations: 1.153 MB / 0.8768 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/1.12, allocations: 6.944 MB / 0.8836 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/1.12, allocations: 344.9 kB / 0.8839 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/1.121, allocations: 447.9 kB / 0.8844 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03011/1.151, allocations: 14.22 MB / 0.8982 GB, free: 6.574 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/1.151, allocations: 51.5 kB / 0.8983 GB, free: 6.523 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006857/1.152, allocations: 226.6 kB / 0.8985 GB, free: 6.305 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005141/1.153, allocations: 430.3 kB / 0.8989 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/1.181, allocations: 9.893 MB / 0.9086 GB, free: 12 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.07244/1.253, allocations: 45.52 MB / 0.953 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02397/1.277, allocations: 8.134 MB / 0.961 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007814/1.285, allocations: 3.048 MB / 0.964 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.287, allocations: 273 kB / 0.9642 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02094/1.307, allocations: 6.543 MB / 0.9706 GB, free: 10.75 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004932/1.312, allocations: 0.7044 MB / 0.9713 GB, free: 10.05 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.974e-05/1.312, allocations: 0 / 0.9713 GB, free: 10.05 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1357/1.448, allocations: 56.47 MB / 1.026 GB, free: 1.223 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001154/1.449, allocations: 1.82 MB / 1.028 GB, free: 14.98 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.46, allocations: 6.331 MB / 1.034 GB, free: 8.66 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001648/1.462, allocations: 101.7 kB / 1.035 GB, free: 8.555 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003457/1.465, allocations: 3.298 MB / 1.038 GB, free: 5.234 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004263/1.47, allocations: 2.966 MB / 1.041 GB, free: 2.242 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003758/1.474, allocations: 1.917 MB / 1.042 GB, free: 320 kB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.474, allocations: 305.1 kB / 1.043 GB, free: 12 kB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008277/1.482, allocations: 4.147 MB / 1.047 GB, free: 11.86 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/1.495, allocations: 7.929 MB / 1.055 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7803/2.275, allocations: 51.46 MB / 1.105 GB, free: 322.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.867e-05/2.275, allocations: 23.88 kB / 1.105 GB, free: 322.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02443/2.3, allocations: 12.58 MB / 1.117 GB, free: 310.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/2.3, allocations: 44.53 kB / 1.117 GB, free: 310.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01798/2.318, allocations: 9.414 MB / 1.126 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04511/2.363, allocations: 4.162 MB / 1.13 GB, free: 296.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/2.373, allocations: 2.545 MB / 1.133 GB, free: 294.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.383, allocations: 12.11 MB / 1.145 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007268/2.39, allocations: 447 kB / 1.145 GB, free: 281 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/2.392, allocations: 0.5816 MB / 1.146 GB, free: 280.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.01054/2.402, allocations: 5.84 MB / 1.151 GB, free: 274.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008281/2.411, allocations: 7.882 MB / 1.159 GB, free: 265.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3282/2.739, allocations: 51.37 MB / 1.209 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.831e-05/2.739, 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.02539/2.764, allocations: 12.48 MB / 1.222 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/2.764, allocations: 43.72 kB / 1.222 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01751/2.782, allocations: 9.317 MB / 1.231 GB, free: 191.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04343/2.825, allocations: 4.052 MB / 1.235 GB, free: 187.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009082/2.834, allocations: 2.512 MB / 1.237 GB, free: 184.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009329/2.844, allocations: 11.45 MB / 1.248 GB, free: 172.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007612/2.851, allocations: 440.4 kB / 1.249 GB, free: 172.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001767/2.853, 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.00272/2.856, allocations: 0.7399 MB / 1.25 GB, free: 171 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/2.858, allocations: 0.7964 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.01602/2.874, 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: 6.977354143280536] Failed to read output from testmodel.py, exit status != 0: 3.033323855139315 3.043053393 1.969826866 Calling exit ...