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.008244/0.008244, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.001046/0.001046, allocations: 80.11 kB / 25.15 MB, free: 6.375 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.0009993/0.0009993, allocations: 164 kB / 29.06 MB, free: 3.379 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 0.9742/0.9742, allocations: 177.2 MB / 210 MB, free: 3.613 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.694/0.694, allocations: 102.5 MB / 369.5 MB, free: 388 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.342e-06/1.342e-06, allocations: 0 / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.439e-05, allocations: 6.109 kB / 470 MB, free: 18.97 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.1263/0.1263, allocations: 74.94 MB / 0.5321 GB, free: 12.95 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03262/0.1589, allocations: 24.65 MB / 0.5562 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006072/0.165, allocations: 139 kB / 0.5564 GB, free: 4.098 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005481/0.1705, allocations: 2.887 MB / 0.5592 GB, free: 1.195 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009255/0.1797, allocations: 4.474 MB / 0.5635 GB, free: 12.69 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007608/0.1873, allocations: 4.463 MB / 0.5679 GB, free: 8.219 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01379/0.2011, allocations: 12.78 MB / 0.5804 GB, free: 11.4 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005833/0.207, allocations: 4.101 MB / 0.5844 GB, free: 7.238 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009196/0.2162, allocations: 6.852 MB / 0.5911 GB, free: 380 kB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005809/0.222, allocations: 4.573 MB / 0.5955 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.2238, allocations: 0.8477 MB / 0.5964 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.2289, allocations: 2.628 MB / 0.5989 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.2308, allocations: 2.773 MB / 0.6016 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.234, allocations: 2.72 MB / 0.6043 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.2468, allocations: 8.732 MB / 0.6128 GB, free: 10.04 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2469, allocations: 4 kB / 0.6128 GB, free: 10.03 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2469, allocations: 0 / 0.6128 GB, free: 10.03 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.000285/0.2471, allocations: 0 / 0.6128 GB, free: 10.03 MB / 0.5262 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.01359/0.2607, allocations: 10.33 MB / 0.6229 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2608, allocations: 8.031 kB / 0.6229 GB, free: 15.58 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.2629, allocations: 1.322 MB / 0.6242 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00672/0.2697, allocations: 5.729 MB / 0.6298 GB, free: 8.43 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.2699, allocations: 307.7 kB / 0.6301 GB, free: 8.129 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/0.2703, allocations: 431.8 kB / 0.6305 GB, free: 7.707 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.282, allocations: 10.48 MB / 0.6408 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/0.2821, allocations: 51.5 kB / 0.6408 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003374/0.2824, allocations: 200 kB / 0.641 GB, free: 11.06 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002839/0.2827, allocations: 398.2 kB / 0.6414 GB, free: 10.67 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008732/0.2915, allocations: 4.683 MB / 0.646 GB, free: 5.965 MB / 0.5574 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.2698/0.5613, allocations: 48.5 MB / 0.6933 GB, free: 49.02 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.5693, allocations: 4.875 MB / 0.6981 GB, free: 48.15 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.571, allocations: 1.368 MB / 0.6994 GB, free: 47.84 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.5715, allocations: 275.8 kB / 0.6997 GB, free: 47.83 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006713/0.5782, allocations: 4.096 MB / 0.7037 GB, free: 47.22 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001838/0.5801, allocations: 0.581 MB / 0.7042 GB, free: 47.22 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=765): time 1.241e-05/0.5801, allocations: 0 / 0.7042 GB, free: 47.22 MB / 0.5574 GB Notification: Performance of matching and sorting (n=767): time 0.04473/0.6248, allocations: 39.32 MB / 0.7426 GB, free: 26.16 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.6251, allocations: 1.684 MB / 0.7443 GB, free: 24.16 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.6299, allocations: 4.956 MB / 0.7491 GB, free: 23.53 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0007837/0.6307, allocations: 90.61 kB / 0.7492 GB, free: 23.5 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.6322, allocations: 3.035 MB / 0.7522 GB, free: 22.52 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/0.634, allocations: 2.671 MB / 0.7548 GB, free: 21.08 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.6357, allocations: 1.776 MB / 0.7565 GB, free: 20.81 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.6358, allocations: 480.7 kB / 0.757 GB, free: 20.34 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.6381, allocations: 1.541 MB / 0.7585 GB, free: 20 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/0.6417, allocations: 5.874 MB / 0.7642 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008674/0.6504, allocations: 8.323 MB / 0.7724 GB, free: 8.824 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.6504, allocations: 19.09 kB / 0.7724 GB, free: 8.824 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01115/0.6616, allocations: 7.396 MB / 0.7796 GB, free: 6.316 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.6616, allocations: 35.72 kB / 0.7796 GB, free: 6.316 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007184/0.6688, allocations: 4.764 MB / 0.7843 GB, free: 2.273 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02289/0.6917, allocations: 4.193 MB / 0.7884 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005581/0.6973, allocations: 2.205 MB / 0.7905 GB, free: 12.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.7025, allocations: 9.014 MB / 0.7993 GB, free: 2.895 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/0.7064, allocations: 348 kB / 0.7997 GB, free: 2.559 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006472/0.707, allocations: 0.5075 MB / 0.8002 GB, free: 2.051 MB / 0.573 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.004265/0.7113, allocations: 1.719 MB / 0.8018 GB, free: 328 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005539/0.7168, allocations: 5.862 MB / 0.8076 GB, free: 8.809 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0129/0.7297, allocations: 8.294 MB / 0.8157 GB, free: 15.52 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.749e-05/0.7298, allocations: 20 kB / 0.8157 GB, free: 15.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.04465/0.7744, allocations: 7.343 MB / 0.8228 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.7745, allocations: 32 kB / 0.8229 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02399/0.7984, allocations: 4.733 MB / 0.8275 GB, free: 3.816 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/0.8213, allocations: 4.134 MB / 0.8315 GB, free: 15.87 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/0.8263, allocations: 2.102 MB / 0.8336 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.8319, allocations: 7.108 MB / 0.8405 GB, free: 6.48 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005819/0.8377, allocations: 361.8 kB / 0.8409 GB, free: 6.129 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.8387, allocations: 0.4997 MB / 0.8414 GB, free: 5.629 MB / 0.6199 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.001964/0.8407, allocations: 0.7477 MB / 0.8421 GB, free: 5.004 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/0.8422, allocations: 0.8076 MB / 0.8429 GB, free: 4.195 MB / 0.6199 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.009579/0.8518, allocations: 7.965 MB / 0.8507 GB, free: 12.93 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.924839770887047]