Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.01719/0.01719, allocations: 1.796 MB / 21.15 MB, free: 3.246 MB / 18.57 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.001782/0.001782, allocations: 81.81 kB / 24.88 MB, free: 6.832 MB / 18.57 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.002486/0.002486, allocations: 170.2 kB / 28.74 MB, free: 3.66 MB / 18.57 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.583/1.583, allocations: 177.1 MB / 209.6 MB, free: 2.363 MB / 186.7 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.122/1.122, allocations: 102.5 MB / 369.1 MB, free: 0.8555 MB / 330.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.396e-05/4.631e-05, allocations: 12.5 kB / 469.1 MB, free: 12.95 MB / 442.8 MB 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_CH_simple): time 0.524/0.524, allocations: 72.47 MB / 0.5289 GB, free: 69.77 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03765/0.5617, allocations: 24.52 MB / 0.5529 GB, free: 53.68 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007993/0.5697, allocations: 138.7 kB / 0.553 GB, free: 53.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009358/0.579, allocations: 2.887 MB / 0.5558 GB, free: 52.28 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01565/0.5947, allocations: 4.473 MB / 0.5602 GB, free: 49.59 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.6091, allocations: 4.463 MB / 0.5645 GB, free: 47.18 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02404/0.6331, allocations: 12.76 MB / 0.577 GB, free: 40.46 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.6438, allocations: 4.105 MB / 0.581 GB, free: 37.35 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02144/0.6653, allocations: 6.858 MB / 0.5877 GB, free: 32.59 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.6757, allocations: 4.57 MB / 0.5922 GB, free: 28.01 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003932/0.6796, allocations: 0.8477 MB / 0.593 GB, free: 27.16 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.69, allocations: 2.631 MB / 0.5956 GB, free: 24.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005031/0.695, allocations: 2.777 MB / 0.5983 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009867/0.7049, allocations: 2.72 MB / 0.6009 GB, free: 19.02 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02491/0.7298, allocations: 13.48 MB / 0.6141 GB, free: 5.508 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.7298, allocations: 3.984 kB / 0.6141 GB, free: 5.504 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7298, allocations: 0 / 0.6141 GB, free: 5.504 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0005253/0.7303, allocations: 0 / 0.6141 GB, free: 5.504 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1530 * Number of variables: 1530 Notification: Performance of Generate backend data structure: time 0.0368/0.7671, allocations: 11.91 MB / 0.6257 GB, free: 9.527 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.7672, allocations: 8.031 kB / 0.6257 GB, free: 9.52 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.7736, allocations: 1.325 MB / 0.627 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/0.791, allocations: 5.796 MB / 0.6327 GB, free: 2.336 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004641/0.7915, allocations: 307.7 kB / 0.633 GB, free: 2.035 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/0.7937, allocations: 427.9 kB / 0.6334 GB, free: 1.617 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/0.8275, allocations: 12.9 MB / 0.646 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/0.8278, allocations: 43.56 kB / 0.646 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002218/0.83, allocations: 196 kB / 0.6462 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007344/0.8307, allocations: 404.4 kB / 0.6466 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/0.857, allocations: 7.285 MB / 0.6537 GB, free: 10.89 MB / 0.5262 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.09224/0.9493, allocations: 59.24 MB / 0.7116 GB, free: 13.57 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02374/0.973, allocations: 6.535 MB / 0.718 GB, free: 6.777 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007251/0.9803, allocations: 2.221 MB / 0.7201 GB, free: 4.457 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.9818, allocations: 272.8 kB / 0.7204 GB, free: 4.191 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02005/1.002, allocations: 6.014 MB / 0.7263 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00437/1.006, allocations: 0.5763 MB / 0.7268 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=765): time 3.132e-05/1.006, allocations: 0 / 0.7268 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=767): time 0.3763/1.383, allocations: 45.71 MB / 0.7715 GB, free: 168 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004035/1.383, allocations: 1.678 MB / 0.7731 GB, free: 166 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/1.395, allocations: 6.852 MB / 0.7798 GB, free: 164.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001839/1.397, allocations: 93.12 kB / 0.7799 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003023/1.4, allocations: 3.348 MB / 0.7831 GB, free: 162 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004183/1.404, allocations: 2.901 MB / 0.786 GB, free: 160.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0048/1.409, allocations: 2.075 MB / 0.788 GB, free: 159.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/1.409, allocations: 478.1 kB / 0.7885 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006533/1.415, allocations: 3.168 MB / 0.7916 GB, free: 157.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008319/1.424, allocations: 7.839 MB / 0.7992 GB, free: 151 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02143/1.445, allocations: 13.48 MB / 0.8124 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.103e-05/1.445, allocations: 17.41 kB / 0.8124 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02684/1.472, allocations: 10.69 MB / 0.8228 GB, free: 134.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.472, allocations: 36 kB / 0.8229 GB, free: 134.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02015/1.492, allocations: 7.603 MB / 0.8303 GB, free: 127.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04717/1.539, allocations: 4.295 MB / 0.8345 GB, free: 124.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009292/1.549, allocations: 2.206 MB / 0.8366 GB, free: 123 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/1.556, allocations: 9.715 MB / 0.8461 GB, free: 112.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007644/1.564, allocations: 355 kB / 0.8465 GB, free: 112.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/1.566, allocations: 0.5074 MB / 0.847 GB, free: 112.1 MB / 0.6043 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" 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.01177/1.578, allocations: 4.163 MB / 0.851 GB, free: 107.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009982/1.588, allocations: 7.802 MB / 0.8586 GB, free: 98.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02217/1.61, allocations: 13.38 MB / 0.8717 GB, free: 83.73 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001271/1.61, allocations: 20 kB / 0.8717 GB, free: 83.71 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02914/1.639, allocations: 10.58 MB / 0.8821 GB, free: 73.13 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/1.639, allocations: 38.03 kB / 0.8821 GB, free: 73.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01939/1.659, allocations: 7.529 MB / 0.8895 GB, free: 65.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04621/1.705, allocations: 4.213 MB / 0.8936 GB, free: 61.47 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007941/1.713, allocations: 2.108 MB / 0.8956 GB, free: 59.37 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/1.719, allocations: 7.852 MB / 0.9033 GB, free: 51.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007993/1.727, allocations: 358.6 kB / 0.9036 GB, free: 50.81 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/1.73, allocations: 0.5004 MB / 0.9041 GB, free: 50.31 MB / 0.6043 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" 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: 313 * 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 (1063): * Single equations (assignments): 1056 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * 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): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.004254/1.734, allocations: 0.7577 MB / 0.9049 GB, free: 49.59 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004596/1.739, allocations: 0.8038 MB / 0.9057 GB, free: 48.78 MB / 0.6043 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 1165 equation(s) and 1114 variable(s). Error: ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442, $cse443) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse280, $cse281, $cse282, $cse283, hex.shell.liq.transp.Pr, hex.shell.liq.transp.lambda, hex.shell.liq.transp.eta, hex.shell.liq.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.758, allocations: 8.988 MB / 0.9144 GB, free: 40.36 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.899998851004057]