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.01784/0.01784, allocations: 1.45 MB / 20.8 MB, free: 3.613 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.007876/0.007876, allocations: 80.19 kB / 24.44 MB, free: 7.555 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.00175/0.00175, allocations: 154.9 kB / 28.19 MB, free: 4.68 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.477/1.477, allocations: 177.2 MB / 209 MB, free: 2.785 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.101/1.101, allocations: 102.5 MB / 368.4 MB, free: 1.297 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.793e-06/1.793e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.256e-05/4.435e-05, allocations: 6.312 kB / 468.3 MB, free: 13.5 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.4363/0.4363, allocations: 69.48 MB / 0.5252 GB, free: 71.69 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03349/0.4698, allocations: 23.74 MB / 0.5484 GB, free: 56.5 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005757/0.4756, allocations: 138 kB / 0.5485 GB, free: 56.44 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007338/0.4829, allocations: 2.883 MB / 0.5513 GB, free: 55.11 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.4948, allocations: 4.457 MB / 0.5557 GB, free: 52.43 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01094/0.5058, allocations: 4.46 MB / 0.56 GB, free: 50.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01776/0.5235, allocations: 12.77 MB / 0.5725 GB, free: 43.49 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007118/0.5306, allocations: 4.107 MB / 0.5765 GB, free: 40.38 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01447/0.5451, allocations: 6.887 MB / 0.5833 GB, free: 36.06 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008485/0.5536, allocations: 4.616 MB / 0.5878 GB, free: 31.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003556/0.5572, allocations: 0.8594 MB / 0.5886 GB, free: 31.04 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09481/0.652, allocations: 18.08 MB / 0.6063 GB, free: 14.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004523/0.6565, allocations: 2.78 MB / 0.609 GB, free: 12.17 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008175/0.6647, allocations: 2.743 MB / 0.6116 GB, free: 9.418 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0258/0.6905, allocations: 13.54 MB / 0.6249 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.6905, allocations: 0 / 0.6249 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6905, allocations: 0 / 0.6249 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004951/0.691, allocations: 0 / 0.6249 GB, free: 11.84 MB / 0.4949 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.03053/0.7215, allocations: 9.708 MB / 0.6344 GB, free: 2.082 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.7216, allocations: 8.031 kB / 0.6344 GB, free: 2.074 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.7266, allocations: 1.325 MB / 0.6357 GB, free: 0.7461 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.7424, allocations: 6.426 MB / 0.6419 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/0.7429, allocations: 302.4 kB / 0.6422 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.7447, allocations: 427.9 kB / 0.6426 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/0.7768, allocations: 12.68 MB / 0.655 GB, free: 11.34 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.777, allocations: 47.56 kB / 0.655 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009356/0.7779, allocations: 196 kB / 0.6552 GB, free: 11.1 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005707/0.7785, allocations: 402.2 kB / 0.6556 GB, free: 10.7 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02753/0.806, allocations: 8.937 MB / 0.6643 GB, free: 1.77 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.06895/0.8749, allocations: 39.24 MB / 0.7027 GB, free: 9.422 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02357/0.8985, allocations: 7.258 MB / 0.7098 GB, free: 2.004 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008131/0.9066, allocations: 2.853 MB / 0.7125 GB, free: 15.07 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.908, allocations: 278.1 kB / 0.7128 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01945/0.9275, allocations: 5.932 MB / 0.7186 GB, free: 8.707 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003725/0.9312, allocations: 0.5958 MB / 0.7192 GB, free: 8.109 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=765): time 2.628e-05/0.9313, allocations: 3.938 kB / 0.7192 GB, free: 8.105 MB / 0.5887 GB Notification: Performance of matching and sorting (n=767): time 0.3212/1.252, allocations: 48.57 MB / 0.7666 GB, free: 176.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003879/1.253, allocations: 1.682 MB / 0.7683 GB, free: 174.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009618/1.262, allocations: 5.518 MB / 0.7736 GB, free: 172.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001712/1.264, allocations: 96.58 kB / 0.7737 GB, free: 172.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.267, allocations: 2.838 MB / 0.7765 GB, free: 170.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00341/1.27, allocations: 2.601 MB / 0.779 GB, free: 168.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003188/1.273, allocations: 1.668 MB / 0.7807 GB, free: 168.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/1.273, allocations: 309.5 kB / 0.781 GB, free: 167.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007257/1.28, allocations: 3.84 MB / 0.7847 GB, free: 166.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/1.291, allocations: 7.174 MB / 0.7917 GB, free: 160.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2905/1.582, allocations: 46.51 MB / 0.8371 GB, free: 128.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/1.582, allocations: 20 kB / 0.8372 GB, free: 128.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.03045/1.612, allocations: 12.01 MB / 0.8489 GB, free: 116.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.612, allocations: 36 kB / 0.8489 GB, free: 116.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01992/1.632, allocations: 9.075 MB / 0.8578 GB, free: 107 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0493/1.681, allocations: 4.513 MB / 0.8622 GB, free: 102.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/1.693, allocations: 2.308 MB / 0.8645 GB, free: 100.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/1.701, allocations: 7.909 MB / 0.8722 GB, free: 91.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008616/1.71, allocations: 407.6 kB / 0.8726 GB, free: 91.53 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002558/1.712, allocations: 0.5075 MB / 0.8731 GB, free: 91.02 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.01442/1.727, allocations: 5.325 MB / 0.8783 GB, free: 85.69 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01212/1.739, allocations: 7.117 MB / 0.8852 GB, free: 77.28 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2774/2.016, allocations: 46.12 MB / 0.9302 GB, free: 30.11 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001083/2.016, allocations: 24 kB / 0.9303 GB, free: 30.09 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.03198/2.048, allocations: 11.89 MB / 0.9419 GB, free: 18.14 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/2.049, allocations: 36 kB / 0.9419 GB, free: 18.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02237/2.071, allocations: 8.968 MB / 0.9507 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04641/2.117, allocations: 4.454 MB / 0.955 GB, free: 4.625 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008438/2.126, allocations: 2.206 MB / 0.9572 GB, free: 2.418 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009114/2.135, allocations: 6.069 MB / 0.9631 GB, free: 12.11 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007762/2.143, allocations: 406.7 kB / 0.9635 GB, free: 11.71 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/2.145, allocations: 0.5075 MB / 0.964 GB, free: 11.21 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.004005/2.149, allocations: 0.6597 MB / 0.9646 GB, free: 10.58 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004612/2.154, allocations: 0.8116 MB / 0.9654 GB, free: 9.766 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 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.2326/2.386, allocations: 9.602 MB / 0.9748 GB, free: 197.9 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.071749815018848]