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.01317/0.01317, allocations: 1.745 MB / 21.38 MB, free: 464 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.001643/0.001643, allocations: 103.6 kB / 24.97 MB, free: 2.035 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.002283/0.002283, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.438/1.438, allocations: 230.6 MB / 262.9 MB, free: 5.828 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.068/1.068, allocations: 130.7 MB / 450.4 MB, free: 6.387 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.0628/0.0628, allocations: 20.61 MB / 0.6367 GB, free: 4.539 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.2397, allocations: 81.9 MB / 0.7167 GB, free: 2.555 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.5263/0.766, allocations: 58.13 MB / 0.7735 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04665/0.8126, allocations: 25.24 MB / 0.7981 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.8232, allocations: 161.4 kB / 0.7983 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.8339, allocations: 3.149 MB / 0.8014 GB, free: 8.297 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02286/0.8568, allocations: 4.93 MB / 0.8062 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01857/0.8753, allocations: 4.944 MB / 0.811 GB, free: 0.625 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02617/0.9015, allocations: 13.89 MB / 0.8246 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.9119, allocations: 4.159 MB / 0.8286 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01431/0.9262, allocations: 5.68 MB / 0.8342 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01305/0.9392, allocations: 5.993 MB / 0.84 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004712/0.9439, allocations: 0.9375 MB / 0.8409 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.9549, allocations: 2.842 MB / 0.8437 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006316/0.9612, allocations: 2.993 MB / 0.8466 GB, free: 13.38 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.973, allocations: 3.716 MB / 0.8503 GB, free: 9.641 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02998/1.003, allocations: 14.81 MB / 0.8647 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.003, allocations: 2.688 kB / 0.8647 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.573e-06/1.003, allocations: 0 / 0.8647 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005738/1.004, allocations: 0 / 0.8647 GB, free: 10.77 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.02953/1.033, allocations: 10.95 MB / 0.8754 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.033, allocations: 12.03 kB / 0.8755 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/1.038, allocations: 1.154 MB / 0.8766 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.053, allocations: 6.949 MB / 0.8834 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/1.054, allocations: 356.9 kB / 0.8837 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/1.055, allocations: 443.9 kB / 0.8841 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/1.087, allocations: 14.21 MB / 0.898 GB, free: 6.801 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/1.087, allocations: 55.5 kB / 0.8981 GB, free: 6.746 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007197/1.088, allocations: 230.6 kB / 0.8983 GB, free: 6.523 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004904/1.088, allocations: 428.3 kB / 0.8987 GB, free: 6.105 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/1.116, allocations: 9.931 MB / 0.9084 GB, free: 12.19 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.07338/1.19, allocations: 45.53 MB / 0.9528 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02374/1.213, allocations: 8.133 MB / 0.9608 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007507/1.221, allocations: 3.06 MB / 0.9638 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/1.222, allocations: 269.1 kB / 0.964 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01956/1.242, allocations: 6.531 MB / 0.9704 GB, free: 10.95 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003974/1.246, allocations: 0.7083 MB / 0.9711 GB, free: 10.24 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 1.684e-05/1.246, allocations: 0 / 0.9711 GB, free: 10.24 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1103/1.356, allocations: 56.48 MB / 1.026 GB, free: 1.402 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001115/1.357, allocations: 1.812 MB / 1.028 GB, free: 15.16 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.368, allocations: 6.2 MB / 1.034 GB, free: 8.98 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.0017/1.37, allocations: 101.7 kB / 1.034 GB, free: 8.875 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003558/1.374, allocations: 3.292 MB / 1.037 GB, free: 5.559 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004637/1.378, allocations: 2.98 MB / 1.04 GB, free: 2.555 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004261/1.382, allocations: 1.914 MB / 1.042 GB, free: 0.6289 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.383, allocations: 301.1 kB / 1.042 GB, free: 340 kB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008929/1.392, allocations: 4.151 MB / 1.047 GB, free: 12.17 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/1.405, allocations: 7.925 MB / 1.054 GB, free: 2.773 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.69/2.095, allocations: 51.46 MB / 1.105 GB, free: 323 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-05/2.096, allocations: 20 kB / 1.105 GB, free: 322.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02533/2.121, allocations: 12.58 MB / 1.117 GB, free: 310.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/2.121, allocations: 40.77 kB / 1.117 GB, free: 310.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01708/2.138, allocations: 9.417 MB / 1.126 GB, free: 301.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04734/2.185, allocations: 4.174 MB / 1.13 GB, free: 297.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009513/2.195, allocations: 2.531 MB / 1.133 GB, free: 294.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009764/2.205, allocations: 12.11 MB / 1.144 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/2.212, allocations: 450.8 kB / 1.145 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002146/2.214, allocations: 0.5777 MB / 1.145 GB, free: 280.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.01206/2.227, allocations: 5.838 MB / 1.151 GB, free: 275 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008836/2.235, allocations: 7.886 MB / 1.159 GB, free: 265.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3161/2.552, allocations: 51.36 MB / 1.209 GB, free: 213.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.988e-05/2.552, allocations: 27.16 kB / 1.209 GB, free: 213.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02342/2.575, allocations: 12.49 MB / 1.221 GB, free: 201 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/2.575, allocations: 43.28 kB / 1.221 GB, free: 201 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01618/2.591, allocations: 9.322 MB / 1.23 GB, free: 191.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04763/2.639, allocations: 4.044 MB / 1.234 GB, free: 187.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009755/2.649, allocations: 2.515 MB / 1.237 GB, free: 185.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009942/2.659, allocations: 11.44 MB / 1.248 GB, free: 173.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008033/2.667, allocations: 454.8 kB / 1.248 GB, free: 172.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/2.669, allocations: 0.5777 MB / 1.249 GB, free: 172.1 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.004148/2.673, allocations: 0.7504 MB / 1.25 GB, free: 171.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00342/2.676, allocations: 0.7929 MB / 1.25 GB, free: 170.9 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.0205/2.697, allocations: 11.13 MB / 1.261 GB, free: 160.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.607116601895541] Failed to read output from testmodel.py, exit status != 0: 2.8655670940643176 2.879646494 1.870308168 Calling exit ...