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.01583/0.01583, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.001677/0.001677, allocations: 77.5 kB / 26.19 MB, free: 6.078 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.001915/0.001915, allocations: 165.8 kB / 30.12 MB, free: 2.184 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.016/1.016, allocations: 177.2 MB / 211.1 MB, free: 3.473 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6082/0.6082, allocations: 102.5 MB / 370.7 MB, free: 236 kB / 330.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.592e-06/1.592e-06, allocations: 0 / 471.3 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.232e-05, allocations: 4.562 kB / 471.3 MB, free: 18.82 MB / 410.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.1492/0.1492, allocations: 74.28 MB / 0.5327 GB, free: 13.32 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03324/0.1824, allocations: 24.53 MB / 0.5567 GB, free: 4.719 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005154/0.1876, allocations: 142.9 kB / 0.5568 GB, free: 4.578 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006314/0.1939, allocations: 2.88 MB / 0.5597 GB, free: 1.684 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.2039, allocations: 4.489 MB / 0.564 GB, free: 13.17 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008354/0.2123, allocations: 4.467 MB / 0.5684 GB, free: 8.691 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01593/0.2282, allocations: 12.76 MB / 0.5809 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006409/0.2346, allocations: 4.113 MB / 0.5849 GB, free: 7.711 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1426/0.3772, allocations: 52.2 MB / 0.6359 GB, free: 4.668 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008599/0.3858, allocations: 4.468 MB / 0.6402 GB, free: 192 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.2623/0.6481, allocations: 0.8051 MB / 0.641 GB, free: 79.88 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007764/0.6558, allocations: 2.583 MB / 0.6435 GB, free: 79.88 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003261/0.6591, allocations: 2.651 MB / 0.6461 GB, free: 79.88 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005043/0.6641, allocations: 2.648 MB / 0.6487 GB, free: 79.88 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.6757, allocations: 8.624 MB / 0.6571 GB, free: 79.21 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6757, allocations: 0.6562 kB / 0.6571 GB, free: 79.21 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6757, allocations: 0.8125 kB / 0.6571 GB, free: 79.21 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000308/0.676, allocations: 0 / 0.6571 GB, free: 79.21 MB / 0.5418 GB 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.01321/0.6892, allocations: 10.19 MB / 0.6671 GB, free: 75.47 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6892, allocations: 11.75 kB / 0.6671 GB, free: 75.47 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.6914, allocations: 1.219 MB / 0.6683 GB, free: 75 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/0.697, allocations: 4.647 MB / 0.6728 GB, free: 73.86 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.6972, allocations: 307.5 kB / 0.6731 GB, free: 73.86 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/0.6977, allocations: 424.3 kB / 0.6735 GB, free: 73.85 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.7094, allocations: 10.14 MB / 0.6834 GB, free: 67.34 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.7095, allocations: 40.62 kB / 0.6835 GB, free: 67.34 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.71, allocations: 201.5 kB / 0.6836 GB, free: 67.34 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003906/0.7104, allocations: 404.8 kB / 0.684 GB, free: 67.33 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008453/0.7188, allocations: 4.175 MB / 0.6881 GB, free: 67.19 MB / 0.5418 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.03116/0.75, allocations: 47.6 MB / 0.7346 GB, free: 26.24 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007708/0.7577, allocations: 4.561 MB / 0.739 GB, free: 24.12 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.7592, allocations: 1.182 MB / 0.7402 GB, free: 23.57 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.7596, allocations: 264.6 kB / 0.7405 GB, free: 23.49 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006358/0.766, allocations: 3.915 MB / 0.7443 GB, free: 21.62 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002709/0.7687, allocations: 0.6013 MB / 0.7449 GB, free: 21.19 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=765): time 1.477e-05/0.7687, allocations: 0 / 0.7449 GB, free: 21.19 MB / 0.5418 GB Notification: Performance of matching and sorting (n=767): time 0.03155/0.8003, allocations: 12.92 MB / 0.7575 GB, free: 16.25 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002505/0.8005, allocations: 2.005 MB / 0.7594 GB, free: 13.78 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.8044, allocations: 4.831 MB / 0.7642 GB, free: 9.727 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/0.8048, allocations: 101.7 kB / 0.7643 GB, free: 9.621 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.8063, allocations: 3.068 MB / 0.7672 GB, free: 6.758 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001317/0.8076, allocations: 2.701 MB / 0.7699 GB, free: 4.219 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/0.8094, allocations: 1.824 MB / 0.7717 GB, free: 2.555 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.8095, allocations: 476.8 kB / 0.7721 GB, free: 2.086 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.8109, allocations: 1.232 MB / 0.7733 GB, free: 0.8398 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/0.8148, allocations: 6.065 MB / 0.7792 GB, free: 9.188 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008221/0.8231, allocations: 7.558 MB / 0.7866 GB, free: 0.8125 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.959e-05/0.8231, allocations: 20.55 kB / 0.7866 GB, free: 0.793 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01108/0.8342, allocations: 6.576 MB / 0.7931 GB, free: 10.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.8343, allocations: 36 kB / 0.7931 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006679/0.8409, allocations: 4.062 MB / 0.7971 GB, free: 6.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/0.8646, allocations: 4.022 MB / 0.801 GB, free: 2.758 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00677/0.8713, allocations: 2.228 MB / 0.8032 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.8768, allocations: 8.94 MB / 0.8119 GB, free: 7.473 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/0.8814, allocations: 328.3 kB / 0.8122 GB, free: 7.152 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006964/0.8821, allocations: 451.6 kB / 0.8126 GB, free: 6.711 MB / 0.5887 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.003871/0.886, allocations: 1.433 MB / 0.814 GB, free: 5.273 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003861/0.8899, allocations: 6.039 MB / 0.8199 GB, free: 13.65 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007298/0.8972, allocations: 7.524 MB / 0.8273 GB, free: 5.301 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.778e-05/0.8972, allocations: 22.69 kB / 0.8273 GB, free: 5.281 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.009886/0.9071, allocations: 6.536 MB / 0.8337 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.9071, allocations: 32 kB / 0.8337 GB, free: 15.17 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006175/0.9133, allocations: 4.032 MB / 0.8377 GB, free: 11.13 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/0.9364, allocations: 3.988 MB / 0.8416 GB, free: 7.348 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005599/0.942, allocations: 2.132 MB / 0.8436 GB, free: 5.324 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.9463, allocations: 6.243 MB / 0.8497 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/0.951, allocations: 343.6 kB / 0.8501 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007519/0.9517, allocations: 448.4 kB / 0.8505 GB, free: 14.09 MB / 0.6355 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.002071/0.9538, allocations: 0.7628 MB / 0.8512 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/0.9556, allocations: 0.8077 MB / 0.852 GB, free: 12.51 MB / 0.6355 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 1164 equation(s) and 1113 variable(s). Error: ($cse431, $cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse279, $cse280, $cse281, $cse282, 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.00913/0.9647, allocations: 7.729 MB / 0.8596 GB, free: 5.336 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9567826888523996]