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.008037/0.008037, allocations: 1.795 MB / 21.35 MB, free: 3.184 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.0008108/0.0008108, allocations: 92.55 kB / 25.15 MB, free: 7.473 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.0008765/0.0008765, allocations: 161.8 kB / 29.05 MB, free: 3.664 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.011/1.011, allocations: 177.1 MB / 210 MB, free: 3.582 MB / 186.7 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 0.6609/0.6609, allocations: 102.4 MB / 369.5 MB, free: 380 kB / 330.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 470 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.041e-05, allocations: 5.438 kB / 470 MB, free: 19.02 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.1217/0.1217, allocations: 74.94 MB / 0.5321 GB, free: 12.95 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02949/0.1512, allocations: 24.67 MB / 0.5562 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.1542, allocations: 142.9 kB / 0.5564 GB, free: 4.078 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.1583, allocations: 2.88 MB / 0.5592 GB, free: 1.184 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00645/0.1648, allocations: 4.462 MB / 0.5635 GB, free: 12.7 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006904/0.1717, allocations: 4.463 MB / 0.5679 GB, free: 8.223 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01183/0.1835, allocations: 12.78 MB / 0.5804 GB, free: 11.4 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004874/0.1884, allocations: 4.109 MB / 0.5844 GB, free: 7.227 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007448/0.1958, allocations: 6.845 MB / 0.5911 GB, free: 376 kB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004669/0.2005, allocations: 4.573 MB / 0.5955 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009369/0.2014, allocations: 0.8477 MB / 0.5964 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/0.2059, allocations: 2.636 MB / 0.5989 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.2075, allocations: 2.765 MB / 0.6016 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.2099, allocations: 2.724 MB / 0.6043 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009172/0.219, allocations: 8.74 MB / 0.6128 GB, free: 10.02 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.219, allocations: 0 / 0.6128 GB, free: 10.02 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.515e-06/0.219, allocations: 0 / 0.6128 GB, free: 10.02 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.06e-05/0.2191, allocations: 0 / 0.6128 GB, free: 10.02 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.01133/0.2304, allocations: 10.32 MB / 0.6229 GB, free: 15.58 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2305, allocations: 12.02 kB / 0.6229 GB, free: 15.57 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.2326, allocations: 1.322 MB / 0.6242 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/0.2392, allocations: 5.73 MB / 0.6298 GB, free: 8.422 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.2394, allocations: 311.7 kB / 0.6301 GB, free: 8.117 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.2399, allocations: 423.9 kB / 0.6305 GB, free: 7.703 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.2518, allocations: 10.48 MB / 0.6407 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.172e-05/0.2519, allocations: 51.61 kB / 0.6408 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.2522, allocations: 204 kB / 0.641 GB, free: 11.05 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/0.2525, allocations: 406.1 kB / 0.6414 GB, free: 10.65 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009145/0.2617, allocations: 4.668 MB / 0.6459 GB, free: 5.961 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.2738/0.5355, allocations: 48.51 MB / 0.6933 GB, free: 48.92 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.5493, allocations: 4.88 MB / 0.6981 GB, free: 48.05 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.552, allocations: 1.368 MB / 0.6994 GB, free: 47.75 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.5525, allocations: 270.1 kB / 0.6997 GB, free: 47.73 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007392/0.5599, allocations: 4.101 MB / 0.7037 GB, free: 47.12 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002015/0.5619, allocations: 0.5779 MB / 0.7042 GB, free: 47.12 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=765): time 1.189e-05/0.5619, allocations: 0 / 0.7042 GB, free: 47.12 MB / 0.5574 GB Notification: Performance of matching and sorting (n=767): time 0.04576/0.6077, allocations: 39.32 MB / 0.7426 GB, free: 26.07 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003342/0.608, allocations: 1.678 MB / 0.7443 GB, free: 24.06 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/0.6129, allocations: 4.957 MB / 0.7491 GB, free: 23.43 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/0.6139, allocations: 97.41 kB / 0.7492 GB, free: 23.4 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.6155, allocations: 3.028 MB / 0.7522 GB, free: 22.42 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/0.6172, allocations: 2.674 MB / 0.7548 GB, free: 20.98 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/0.6189, allocations: 1.772 MB / 0.7565 GB, free: 20.75 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.619, allocations: 484.7 kB / 0.757 GB, free: 20.28 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.6214, allocations: 1.538 MB / 0.7585 GB, free: 19.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/0.6249, allocations: 5.875 MB / 0.7642 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008481/0.6334, allocations: 8.327 MB / 0.7723 GB, free: 8.828 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-05/0.6334, allocations: 21.25 kB / 0.7724 GB, free: 8.828 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01108/0.6445, allocations: 7.394 MB / 0.7796 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.6445, allocations: 35.88 kB / 0.7796 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007308/0.6518, allocations: 4.758 MB / 0.7843 GB, free: 2.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02289/0.6747, allocations: 4.197 MB / 0.7884 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/0.6815, allocations: 2.201 MB / 0.7905 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.6878, allocations: 9.006 MB / 0.7993 GB, free: 2.941 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/0.6926, allocations: 354.4 kB / 0.7996 GB, free: 2.598 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008495/0.6934, allocations: 0.4997 MB / 0.8001 GB, free: 2.098 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.00498/0.6984, allocations: 1.731 MB / 0.8018 GB, free: 368 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005623/0.7041, allocations: 5.862 MB / 0.8075 GB, free: 8.852 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01193/0.716, allocations: 8.292 MB / 0.8156 GB, free: 15.56 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.7e-05/0.716, allocations: 20 kB / 0.8157 GB, free: 15.54 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01339/0.7294, allocations: 7.332 MB / 0.8228 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.7294, allocations: 39.98 kB / 0.8229 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00782/0.7373, allocations: 4.731 MB / 0.8275 GB, free: 3.859 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02282/0.7601, allocations: 4.139 MB / 0.8315 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/0.7651, allocations: 2.104 MB / 0.8336 GB, free: 13.94 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.7692, allocations: 7.104 MB / 0.8405 GB, free: 6.523 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.7727, allocations: 359.2 kB / 0.8409 GB, free: 6.172 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006006/0.7733, allocations: 0.4997 MB / 0.8413 GB, free: 5.672 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.001888/0.7751, allocations: 0.7505 MB / 0.8421 GB, free: 5.047 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/0.7764, allocations: 0.8094 MB / 0.8429 GB, free: 4.238 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.00862/0.785, allocations: 7.955 MB / 0.8506 GB, free: 12.98 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7827161378227174]