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.006519/0.006519, allocations: 1.435 MB / 21.29 MB, free: 3.25 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.0008764/0.0008764, allocations: 89.66 kB / 24.9 MB, free: 7.277 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.001124/0.001124, allocations: 169.3 kB / 28.62 MB, free: 4.445 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.9049/0.9049, allocations: 177.1 MB / 209.4 MB, free: 2.965 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.746/0.746, allocations: 102.5 MB / 368.7 MB, free: 1.449 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 0.5.2 (/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.903e-06/1.903e-06, allocations: 0 / 0.5374 GB, free: 39.91 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.7e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.91 MB / 490.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.1197/0.1197, allocations: 69.26 MB / 0.6051 GB, free: 6.723 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.1466, allocations: 23.72 MB / 0.6282 GB, free: 14.93 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.1499, allocations: 142.9 kB / 0.6284 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00513/0.1551, allocations: 2.88 MB / 0.6312 GB, free: 11.89 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006414/0.1615, allocations: 4.462 MB / 0.6355 GB, free: 7.402 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006437/0.1679, allocations: 4.475 MB / 0.6399 GB, free: 2.918 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.1783, allocations: 12.77 MB / 0.6524 GB, free: 6.109 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004011/0.1824, allocations: 3.919 MB / 0.6562 GB, free: 2.117 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006331/0.1887, allocations: 6.845 MB / 0.6629 GB, free: 11.26 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.1931, allocations: 4.566 MB / 0.6673 GB, free: 6.68 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0009234/0.194, allocations: 0.8477 MB / 0.6682 GB, free: 5.832 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/0.1981, allocations: 2.632 MB / 0.6707 GB, free: 3.195 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.1997, allocations: 2.753 MB / 0.6734 GB, free: 444 kB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.2018, allocations: 2.716 MB / 0.6761 GB, free: 13.71 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.2188, allocations: 13.43 MB / 0.6892 GB, free: 244 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2188, allocations: 0 / 0.6892 GB, free: 244 kB / 0.573 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2188, allocations: 0 / 0.6892 GB, free: 244 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000286/0.2191, allocations: 0 / 0.6892 GB, free: 244 kB / 0.573 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.01497/0.2341, allocations: 9.704 MB / 0.6987 GB, free: 6.445 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.2341, allocations: 8.031 kB / 0.6987 GB, free: 6.438 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.2363, allocations: 1.014 MB / 0.6997 GB, free: 5.418 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008335/0.2447, allocations: 6.154 MB / 0.7057 GB, free: 15.17 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.2448, allocations: 299.7 kB / 0.706 GB, free: 14.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004574/0.2453, allocations: 391.9 kB / 0.7063 GB, free: 14.5 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.2599, allocations: 12.62 MB / 0.7187 GB, free: 364 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/0.26, allocations: 43.62 kB / 0.7187 GB, free: 320 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.2603, allocations: 192 kB / 0.7189 GB, free: 128 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003065/0.2606, allocations: 402.3 kB / 0.7193 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.2735, allocations: 8.85 MB / 0.7279 GB, free: 6.859 MB / 0.6199 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.332/0.6055, allocations: 38.87 MB / 0.7659 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.618, allocations: 7.156 MB / 0.7729 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004075/0.6221, allocations: 2.819 MB / 0.7756 GB, free: 169 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/0.6226, allocations: 257.9 kB / 0.7759 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00895/0.6316, allocations: 5.889 MB / 0.7816 GB, free: 166.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002317/0.6339, allocations: 0.5735 MB / 0.7822 GB, free: 166.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=765): time 1.262e-05/0.6339, allocations: 0 / 0.7822 GB, free: 166.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=767): time 0.04973/0.6836, allocations: 47.84 MB / 0.8289 GB, free: 135.9 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002665/0.6839, allocations: 1.683 MB / 0.8305 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005226/0.6891, allocations: 5.527 MB / 0.8359 GB, free: 128.4 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/0.6903, allocations: 89.7 kB / 0.836 GB, free: 128.3 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.6915, allocations: 2.839 MB / 0.8388 GB, free: 125.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.6929, allocations: 2.604 MB / 0.8413 GB, free: 122.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.6945, allocations: 1.666 MB / 0.843 GB, free: 121.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.6945, allocations: 309.1 kB / 0.8433 GB, free: 120.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/0.6985, allocations: 3.809 MB / 0.847 GB, free: 117.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004817/0.7033, allocations: 7.155 MB / 0.854 GB, free: 108.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1349/0.8382, allocations: 46.26 MB / 0.8991 GB, free: 62.47 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.936e-05/0.8382, allocations: 20 kB / 0.8991 GB, free: 62.45 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01562/0.8538, allocations: 11.7 MB / 0.9106 GB, free: 50.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.8539, allocations: 40.22 kB / 0.9106 GB, free: 50.66 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01016/0.864, allocations: 9.007 MB / 0.9194 GB, free: 41.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/0.8871, allocations: 4.342 MB / 0.9236 GB, free: 37.28 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005403/0.8925, allocations: 2.267 MB / 0.9259 GB, free: 35.01 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.8967, allocations: 7.851 MB / 0.9335 GB, free: 26.86 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/0.9014, allocations: 403.6 kB / 0.9339 GB, free: 26.46 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005515/0.9019, allocations: 0.5036 MB / 0.9344 GB, free: 25.96 MB / 0.6512 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.00649/0.9084, allocations: 5.288 MB / 0.9396 GB, free: 20.66 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004379/0.9128, allocations: 7.094 MB / 0.9465 GB, free: 12.27 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.139/1.052, allocations: 46.05 MB / 0.9915 GB, free: 13.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.795e-05/1.052, allocations: 20 kB / 0.9915 GB, free: 13.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01735/1.069, allocations: 11.55 MB / 1.003 GB, free: 1.617 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/1.069, allocations: 37.41 kB / 1.003 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01161/1.081, allocations: 8.903 MB / 1.011 GB, free: 8.621 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02512/1.106, allocations: 4.251 MB / 1.016 GB, free: 4.383 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008767/1.115, allocations: 2.167 MB / 1.018 GB, free: 2.215 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/1.121, allocations: 6.65 MB / 1.024 GB, free: 11.24 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004772/1.126, allocations: 412.5 kB / 1.025 GB, free: 10.84 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006642/1.127, allocations: 0.4997 MB / 1.025 GB, free: 10.34 MB / 0.7293 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.00202/1.129, allocations: 0.6648 MB / 1.026 GB, free: 9.664 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.13, allocations: 0.6983 MB / 1.026 GB, free: 8.961 MB / 0.7293 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.33/1.46, allocations: 9.582 MB / 1.036 GB, free: 243.2 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.388543643988669] Failed to read output from testmodel.py, exit status != 0: 1.6198650803416967 1.625730978 1.405448704 Calling exit ...