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.01372/0.01372, allocations: 1.346 MB / 21.03 MB, free: 0.7578 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.001577/0.001577, allocations: 83.02 kB / 24.58 MB, free: 2.145 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.001489/0.001489, allocations: 168.4 kB / 28.26 MB, free: 3.406 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: 177.2 MB / 209 MB, free: 7.535 MB / 190.1 MB " [Timeout remaining time 179] 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.007/1.007, allocations: 102.5 MB / 368.3 MB, free: 4.145 MB / 334.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.06698/0.06698, allocations: 20.95 MB / 0.5569 GB, free: 4.914 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.2114, allocations: 81.88 MB / 0.6369 GB, free: 2.895 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.151/0.3623, allocations: 50.76 MB / 0.6864 GB, free: 132 kB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3576/0.7199, allocations: 25.25 MB / 0.7111 GB, free: 9.633 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007074/0.727, allocations: 157.8 kB / 0.7112 GB, free: 9.562 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00907/0.736, allocations: 3.132 MB / 0.7143 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.7502, allocations: 4.919 MB / 0.7191 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/0.763, allocations: 4.926 MB / 0.7239 GB, free: 2.121 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02163/0.7847, allocations: 13.89 MB / 0.7375 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009973/0.7946, allocations: 4.399 MB / 0.7418 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/0.8082, allocations: 5.672 MB / 0.7473 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01266/0.8208, allocations: 5.707 MB / 0.7529 GB, free: 0 / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003891/0.8247, allocations: 0.9385 MB / 0.7538 GB, free: 0 / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.8351, allocations: 2.782 MB / 0.7565 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005897/0.841, allocations: 2.992 MB / 0.7594 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009389/0.8504, allocations: 3.712 MB / 0.7631 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02873/0.8791, allocations: 14.8 MB / 0.7775 GB, free: 9.562 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.8791, allocations: 0 / 0.7775 GB, free: 9.562 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8791, allocations: 2.688 kB / 0.7775 GB, free: 9.562 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005981/0.8797, allocations: 0 / 0.7775 GB, free: 9.562 MB / 0.6232 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.0314/0.9111, allocations: 10.96 MB / 0.7882 GB, free: 14.54 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9112, allocations: 11.97 kB / 0.7882 GB, free: 14.53 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.9156, allocations: 1.153 MB / 0.7894 GB, free: 13.37 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.9307, allocations: 6.95 MB / 0.7962 GB, free: 6.371 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/0.9311, allocations: 352.8 kB / 0.7965 GB, free: 6.023 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.9327, allocations: 443.9 kB / 0.7969 GB, free: 5.59 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/0.964, allocations: 14.21 MB / 0.8108 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.9642, allocations: 47.56 kB / 0.8108 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.9654, allocations: 228 kB / 0.8111 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005757/0.966, allocations: 433.4 kB / 0.8115 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.9929, allocations: 9.886 MB / 0.8211 GB, free: 11.01 MB / 0.67 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.0604/1.053, allocations: 45.54 MB / 0.8656 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/1.076, allocations: 8.131 MB / 0.8735 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006576/1.083, allocations: 3.049 MB / 0.8765 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.084, allocations: 273 kB / 0.8768 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01826/1.102, allocations: 6.534 MB / 0.8832 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00352/1.106, allocations: 0.7005 MB / 0.8838 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=865): time 2.213e-05/1.106, allocations: 3.938 kB / 0.8838 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=866): time 0.1069/1.212, allocations: 56.48 MB / 0.939 GB, free: 220 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009852/1.213, allocations: 1.809 MB / 0.9408 GB, free: 13.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009489/1.223, allocations: 6.323 MB / 0.9469 GB, free: 7.676 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001277/1.224, allocations: 105 kB / 0.947 GB, free: 7.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003077/1.227, allocations: 3.296 MB / 0.9503 GB, free: 4.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003516/1.231, allocations: 2.984 MB / 0.9532 GB, free: 1.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003168/1.234, allocations: 1.914 MB / 0.955 GB, free: 15.32 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.234, allocations: 301.1 kB / 0.9553 GB, free: 15.02 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007906/1.242, allocations: 4.155 MB / 0.9594 GB, free: 10.86 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/1.253, allocations: 7.929 MB / 0.9671 GB, free: 1.457 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6329/1.886, allocations: 51.45 MB / 1.017 GB, free: 355.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.474e-05/1.886, allocations: 22.97 kB / 1.017 GB, free: 355.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02406/1.91, allocations: 12.59 MB / 1.03 GB, free: 351.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/1.911, allocations: 39.25 kB / 1.03 GB, free: 351.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01578/1.926, allocations: 9.424 MB / 1.039 GB, free: 346.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04864/1.975, allocations: 4.162 MB / 1.043 GB, free: 343.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/1.985, allocations: 2.542 MB / 1.045 GB, free: 341.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.996, allocations: 12.12 MB / 1.057 GB, free: 328.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007352/2.003, allocations: 447 kB / 1.058 GB, free: 328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/2.005, allocations: 0.5777 MB / 1.058 GB, free: 327.4 MB / 0.8419 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.0125/2.017, allocations: 5.84 MB / 1.064 GB, free: 321.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009715/2.027, allocations: 7.882 MB / 1.072 GB, free: 312.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3339/2.361, allocations: 51.35 MB / 1.122 GB, free: 259.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.066e-05/2.361, allocations: 31.36 kB / 1.122 GB, free: 259.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02524/2.386, allocations: 12.48 MB / 1.134 GB, free: 247.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/2.386, allocations: 42.38 kB / 1.134 GB, free: 247.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01738/2.404, allocations: 9.331 MB / 1.143 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.048/2.452, allocations: 4.038 MB / 1.147 GB, free: 234.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009215/2.461, allocations: 2.519 MB / 1.15 GB, free: 231.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009868/2.471, allocations: 11.44 MB / 1.161 GB, free: 219.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006792/2.478, allocations: 451.2 kB / 1.161 GB, free: 219.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/2.479, allocations: 0.5814 MB / 1.162 GB, free: 218.6 MB / 0.8419 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.003342/2.483, allocations: 0.7433 MB / 1.163 GB, free: 218 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002854/2.486, allocations: 0.7941 MB / 1.163 GB, free: 217.5 MB / 0.8419 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.01978/2.505, allocations: 11.16 MB / 1.174 GB, free: 206.7 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.056108121061698] Failed to read output from testmodel.py, exit status != 0: 2.6459095320897177 2.655893566 1.774182597 Calling exit ...