Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01744/0.01744, 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.001791/0.001791, allocations: 76.78 kB / 24.88 MB, free: 6.824 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.00196/0.00196, allocations: 160.8 kB / 28.74 MB, free: 3.656 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.482/1.482, allocations: 177.2 MB / 209.6 MB, free: 2.395 MB / 186.7 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.188/1.188, allocations: 102.5 MB / 369.1 MB, free: 0.8945 MB / 330.8 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 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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 469.2 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.577e-05, allocations: 2.312 kB / 469.2 MB, free: 12.96 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.4978/0.4978, allocations: 72.48 MB / 0.529 GB, free: 69.85 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0335/0.5313, allocations: 24.52 MB / 0.5529 GB, free: 53.76 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007356/0.5387, allocations: 138.7 kB / 0.553 GB, free: 53.7 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008272/0.5469, allocations: 2.885 MB / 0.5558 GB, free: 52.36 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.5612, allocations: 4.467 MB / 0.5602 GB, free: 49.68 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.5741, allocations: 4.461 MB / 0.5646 GB, free: 47.27 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01903/0.5932, allocations: 12.78 MB / 0.577 GB, free: 40.55 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007805/0.601, allocations: 4.103 MB / 0.581 GB, free: 37.44 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01436/0.6153, allocations: 6.848 MB / 0.5877 GB, free: 32.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008649/0.624, allocations: 4.573 MB / 0.5922 GB, free: 28.03 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003006/0.627, allocations: 0.8477 MB / 0.593 GB, free: 27.18 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008359/0.6353, allocations: 2.636 MB / 0.5956 GB, free: 24.55 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004061/0.6394, allocations: 2.769 MB / 0.5983 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007714/0.6471, allocations: 2.73 MB / 0.601 GB, free: 19.04 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02156/0.6687, allocations: 13.48 MB / 0.6141 GB, free: 5.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6687, allocations: 0 / 0.6141 GB, free: 5.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6687, allocations: 0 / 0.6141 GB, free: 5.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004821/0.6692, allocations: 2.656 kB / 0.6141 GB, free: 5.52 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.03069/0.6999, allocations: 11.9 MB / 0.6258 GB, free: 9.547 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.6999, allocations: 11.97 kB / 0.6258 GB, free: 9.535 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.7048, allocations: 1.325 MB / 0.6271 GB, free: 8.207 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.721, allocations: 5.793 MB / 0.6327 GB, free: 2.352 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.7214, allocations: 307.7 kB / 0.633 GB, free: 2.051 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.7233, allocations: 427.9 kB / 0.6334 GB, free: 1.633 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/0.7532, allocations: 12.9 MB / 0.646 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.7533, allocations: 43.56 kB / 0.6461 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006786/0.754, allocations: 198.6 kB / 0.6463 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005283/0.7545, allocations: 402.2 kB / 0.6466 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/0.7782, allocations: 7.275 MB / 0.6537 GB, free: 10.91 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.08508/0.8633, allocations: 59.24 MB / 0.7116 GB, free: 13.58 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/0.8838, allocations: 6.535 MB / 0.718 GB, free: 6.793 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005945/0.8897, allocations: 2.222 MB / 0.7201 GB, free: 4.469 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.891, allocations: 270.1 kB / 0.7204 GB, free: 4.203 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01814/0.9091, allocations: 6.016 MB / 0.7263 GB, free: 14 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005102/0.9142, allocations: 0.5801 MB / 0.7268 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=765): time 3.228e-05/0.9143, allocations: 0 / 0.7268 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of matching and sorting (n=767): time 0.3795/1.294, allocations: 45.71 MB / 0.7715 GB, free: 167.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004457/1.294, allocations: 1.678 MB / 0.7731 GB, free: 165.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/1.307, allocations: 6.848 MB / 0.7798 GB, free: 164.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001667/1.308, allocations: 96.73 kB / 0.7799 GB, free: 164.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003224/1.312, allocations: 3.346 MB / 0.7832 GB, free: 161.9 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004297/1.316, allocations: 2.894 MB / 0.786 GB, free: 160 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003904/1.32, allocations: 2.08 MB / 0.788 GB, free: 159.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/1.32, allocations: 476.8 kB / 0.7885 GB, free: 158.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006177/1.326, allocations: 3.168 MB / 0.7916 GB, free: 157.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008643/1.335, allocations: 7.837 MB / 0.7992 GB, free: 151 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02007/1.355, allocations: 13.48 MB / 0.8124 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.543e-05/1.355, allocations: 21.5 kB / 0.8124 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02402/1.379, allocations: 10.7 MB / 0.8229 GB, free: 134.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/1.379, allocations: 36.55 kB / 0.8229 GB, free: 134.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01617/1.395, allocations: 7.597 MB / 0.8303 GB, free: 127.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04681/1.442, allocations: 4.303 MB / 0.8345 GB, free: 124.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009369/1.451, allocations: 2.203 MB / 0.8367 GB, free: 123 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007563/1.459, allocations: 9.713 MB / 0.8462 GB, free: 112.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009279/1.468, allocations: 358.7 kB / 0.8465 GB, free: 112.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/1.47, 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.01107/1.482, allocations: 4.155 MB / 0.851 GB, free: 107.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008783/1.49, allocations: 7.806 MB / 0.8587 GB, free: 98.41 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02054/1.511, allocations: 13.38 MB / 0.8717 GB, free: 83.75 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001092/1.511, allocations: 20 kB / 0.8718 GB, free: 83.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02536/1.536, allocations: 10.59 MB / 0.8821 GB, free: 73.15 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/1.536, allocations: 36 kB / 0.8821 GB, free: 73.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01925/1.556, allocations: 7.526 MB / 0.8895 GB, free: 65.54 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0471/1.603, allocations: 4.224 MB / 0.8936 GB, free: 61.48 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00801/1.611, allocations: 2.105 MB / 0.8957 GB, free: 59.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/1.617, allocations: 7.851 MB / 0.9033 GB, free: 51.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007519/1.625, allocations: 356.2 kB / 0.9037 GB, free: 50.82 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/1.627, allocations: 0.5022 MB / 0.9042 GB, free: 50.32 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.003742/1.631, allocations: 0.7541 MB / 0.9049 GB, free: 49.6 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004105/1.635, allocations: 0.8025 MB / 0.9057 GB, free: 48.8 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.01947/1.654, allocations: 8.999 MB / 0.9145 GB, free: 40.37 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.734222360071726]