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.01213/0.01213, allocations: 1.76 MB / 21.38 MB, free: 0.5625 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.001422/0.001422, allocations: 108 kB / 24.98 MB, free: 2.164 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.001747/0.001747, allocations: 212 kB / 28.71 MB, free: 3.438 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.387/1.387, allocations: 230.6 MB / 262.9 MB, free: 6.02 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.047/1.047, allocations: 130.7 MB / 450.4 MB, free: 6.547 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.03134/0.03134, allocations: 20.61 MB / 0.6368 GB, free: 4.793 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.2027, allocations: 81.91 MB / 0.7168 GB, free: 2.809 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.5326/0.7353, allocations: 62.02 MB / 0.7774 GB, free: 8.922 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0454/0.7807, allocations: 26.33 MB / 0.8031 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009809/0.7905, allocations: 156.7 kB / 0.8032 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.8011, allocations: 3.276 MB / 0.8064 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.8186, allocations: 4.923 MB / 0.8112 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01408/0.8327, allocations: 4.947 MB / 0.8161 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02689/0.8596, allocations: 13.91 MB / 0.8297 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008911/0.8685, allocations: 4.162 MB / 0.8337 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01419/0.8827, allocations: 5.665 MB / 0.8392 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.8953, allocations: 5.988 MB / 0.8451 GB, free: 15.64 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004232/0.8996, allocations: 0.9375 MB / 0.846 GB, free: 14.7 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.9112, allocations: 3.674 MB / 0.8496 GB, free: 11.04 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006111/0.9173, allocations: 2.998 MB / 0.8525 GB, free: 8.027 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01163/0.929, allocations: 4.777 MB / 0.8572 GB, free: 3.227 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02962/0.9586, allocations: 14.93 MB / 0.8718 GB, free: 4.25 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.9586, allocations: 0 / 0.8718 GB, free: 4.25 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9586, allocations: 0 / 0.8718 GB, free: 4.25 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005193/0.9591, allocations: 0 / 0.8718 GB, free: 4.25 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.03019/0.9893, allocations: 10.96 MB / 0.8825 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.9894, allocations: 12.03 kB / 0.8825 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.9947, allocations: 1.153 MB / 0.8836 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.012, allocations: 6.934 MB / 0.8904 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/1.012, allocations: 352.9 kB / 0.8907 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002065/1.014, allocations: 450.5 kB / 0.8911 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/1.048, allocations: 12.17 MB / 0.903 GB, free: 2.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002952/1.048, allocations: 47.56 kB / 0.9031 GB, free: 2.883 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/1.05, allocations: 228 kB / 0.9033 GB, free: 2.66 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007422/1.051, allocations: 425.5 kB / 0.9037 GB, free: 2.246 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/1.082, allocations: 9.93 MB / 0.9134 GB, free: 8.32 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.08027/1.163, allocations: 49.02 MB / 0.9613 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02516/1.188, allocations: 8.153 MB / 0.9692 GB, free: 13.58 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008079/1.196, allocations: 3.051 MB / 0.9722 GB, free: 10.45 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.197, allocations: 311.4 kB / 0.9725 GB, free: 10.16 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02126/1.218, allocations: 6.541 MB / 0.9789 GB, free: 3.469 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004456/1.223, allocations: 0.7121 MB / 0.9796 GB, free: 2.754 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.395e-05/1.223, allocations: 2.531 kB / 0.9796 GB, free: 2.754 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1196/1.343, allocations: 56.48 MB / 1.035 GB, free: 9.914 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00103/1.344, allocations: 1.811 MB / 1.037 GB, free: 7.68 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.355, allocations: 6.36 MB / 1.043 GB, free: 1.336 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/1.357, allocations: 104.4 kB / 1.043 GB, free: 1.23 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003459/1.36, allocations: 3.277 MB / 1.046 GB, free: 13.93 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004823/1.365, allocations: 2.982 MB / 1.049 GB, free: 10.92 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003802/1.369, allocations: 1.914 MB / 1.051 GB, free: 8.996 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.369, allocations: 305.1 kB / 1.051 GB, free: 8.695 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008448/1.378, allocations: 4.149 MB / 1.055 GB, free: 4.539 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3814/1.759, allocations: 7.01 MB / 1.062 GB, free: 346.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3276/2.087, allocations: 51.45 MB / 1.112 GB, free: 320.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002199/2.087, allocations: 22.38 kB / 1.112 GB, free: 320.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03064/2.117, allocations: 12.58 MB / 1.125 GB, free: 308.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/2.118, allocations: 40 kB / 1.125 GB, free: 308.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02183/2.14, allocations: 9.432 MB / 1.134 GB, free: 298.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04667/2.186, allocations: 4.156 MB / 1.138 GB, free: 294.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009762/2.196, allocations: 2.543 MB / 1.14 GB, free: 292 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/2.206, allocations: 12.3 MB / 1.152 GB, free: 279.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008006/2.214, allocations: 440.5 kB / 1.153 GB, free: 278.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002321/2.217, allocations: 0.5855 MB / 1.153 GB, free: 278.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01274/2.229, allocations: 5.833 MB / 1.159 GB, free: 272.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009641/2.239, allocations: 6.985 MB / 1.166 GB, free: 264 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3134/2.553, allocations: 51.34 MB / 1.216 GB, free: 211.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.921e-05/2.553, allocations: 24 kB / 1.216 GB, free: 211.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02728/2.58, allocations: 12.5 MB / 1.228 GB, free: 199.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/2.58, allocations: 40 kB / 1.228 GB, free: 199.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01952/2.6, allocations: 9.321 MB / 1.237 GB, free: 190 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04477/2.644, allocations: 4.048 MB / 1.241 GB, free: 186 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009232/2.654, allocations: 2.519 MB / 1.244 GB, free: 183.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009837/2.663, allocations: 11.63 MB / 1.255 GB, free: 171.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007442/2.671, allocations: 444.4 kB / 1.256 GB, free: 170.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/2.673, allocations: 0.5816 MB / 1.256 GB, free: 170.2 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.004253/2.677, allocations: 0.7385 MB / 1.257 GB, free: 169.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00336/2.681, allocations: 0.8139 MB / 1.258 GB, free: 169 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.02197/2.702, allocations: 11.13 MB / 1.269 GB, free: 158.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.46159193397034] Failed to read output from testmodel.py, exit status != 0: 2.8625961280195042 2.873296789 1.910662934 Calling exit ...