Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestHEXdisplay.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.01354/0.01354, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008274/0.0008274, allocations: 84.91 kB / 25.4 MB, free: 7 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.0009213/0.0009213, allocations: 156.3 kB / 29.33 MB, free: 3.137 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.1 MB / 210.3 MB, free: 3.453 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.583/0.583, allocations: 102.4 MB / 369.8 MB, free: 196 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.Visualisation.Check.TestHEXdisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="NTU_counter.PI_1ph_in.outputI|NTU_counter.PI_2ph.outputI|NTU_counter.nTU.Q_flow_s.[0-9,]+.|NTU_counter.nTU.T_w_i.[0-9,]+.|NTU_counter.nTU.T_w_o.[0-9,]+.|NTU_counter.nTU.yps.[0-9,]+.|NTU_cross.PI_1ph_in.outputI|NTU_cross.PI_2ph.outputI|NTU_cross.nTU.Q_flow_s.[0-9,]+.|NTU_cross.nTU.T_w_i.[0-9,]+.|NTU_cross.nTU.T_w_o.[0-9,]+.|NTU_cross.nTU.yps.[0-9,]+.|NTU_parallel.PI_1ph_in.outputI|NTU_parallel.PI_2ph.outputI|NTU_parallel.nTU.Q_flow_s.[0-9,]+.|NTU_parallel.nTU.T_w_i.[0-9,]+.|NTU_parallel.nTU.T_w_o.[0-9,]+.|NTU_parallel.nTU.yps.[0-9,]+.|Time",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestHEXdisplay") translateModel(ClaRa.Visualisation.Check.TestHEXdisplay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="NTU_counter.PI_1ph_in.outputI|NTU_counter.PI_2ph.outputI|NTU_counter.nTU.Q_flow_s.[0-9,]+.|NTU_counter.nTU.T_w_i.[0-9,]+.|NTU_counter.nTU.T_w_o.[0-9,]+.|NTU_counter.nTU.yps.[0-9,]+.|NTU_cross.PI_1ph_in.outputI|NTU_cross.PI_2ph.outputI|NTU_cross.nTU.Q_flow_s.[0-9,]+.|NTU_cross.nTU.T_w_i.[0-9,]+.|NTU_cross.nTU.T_w_o.[0-9,]+.|NTU_cross.nTU.yps.[0-9,]+.|NTU_parallel.PI_1ph_in.outputI|NTU_parallel.PI_2ph.outputI|NTU_parallel.nTU.Q_flow_s.[0-9,]+.|NTU_parallel.nTU.T_w_i.[0-9,]+.|NTU_parallel.nTU.T_w_o.[0-9,]+.|NTU_parallel.nTU.yps.[0-9,]+.|Time",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestHEXdisplay") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 470.4 MB, free: 18.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.385e-05, allocations: 4.578 kB / 470.4 MB, free: 18.86 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.Visualisation.Check.TestHEXdisplay): time 0.1173/0.1174, allocations: 82.09 MB / 0.5396 GB, free: 5.488 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03825/0.1556, allocations: 28.8 MB / 0.5677 GB, free: 8.613 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005643/0.1613, allocations: 194.6 kB / 0.5679 GB, free: 8.422 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.00673/0.168, allocations: 3.056 MB / 0.5709 GB, free: 5.348 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.1805, allocations: 5.726 MB / 0.5764 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.1921, allocations: 7.355 MB / 0.5836 GB, free: 8.219 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.02013/0.2122, allocations: 18.25 MB / 0.6015 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.2145, allocations: 0.5787 MB / 0.602 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3702/0.5847, allocations: 55.14 MB / 0.6559 GB, free: 61.19 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.5954, allocations: 6.419 MB / 0.6621 GB, free: 61.19 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.004285/0.5997, allocations: 1.18 MB / 0.6633 GB, free: 61.19 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/0.6192, allocations: 7.29 MB / 0.6704 GB, free: 58.03 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005396/0.6246, allocations: 4.325 MB / 0.6746 GB, free: 58.03 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006796/0.6314, allocations: 4.063 MB / 0.6786 GB, free: 57.95 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6419, allocations: 11.35 MB / 0.6897 GB, free: 56.25 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6419, allocations: 0 / 0.6897 GB, free: 56.25 MB / 0.5418 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6419, allocations: 0 / 0.6897 GB, free: 56.25 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001416/0.6421, allocations: 0 / 0.6897 GB, free: 56.25 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: 3002 * Number of variables: 3002 Notification: Performance of Generate backend data structure: time 0.01283/0.6549, allocations: 12.54 MB / 0.7019 GB, free: 50.48 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6549, allocations: 12.59 kB / 0.7019 GB, free: 50.48 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.6568, allocations: 1.734 MB / 0.7036 GB, free: 49.73 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.6624, allocations: 6.539 MB / 0.71 GB, free: 47.32 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.6626, allocations: 0.5299 MB / 0.7105 GB, free: 47.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000676/0.6633, allocations: 0.6459 MB / 0.7112 GB, free: 47.07 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.6772, allocations: 15.29 MB / 0.7261 GB, free: 35.36 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.6773, allocations: 103.1 kB / 0.7262 GB, free: 35.36 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005153/0.6778, allocations: 331.1 kB / 0.7265 GB, free: 35.18 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007421/0.6785, allocations: 1.417 MB / 0.7279 GB, free: 34.71 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.6892, allocations: 7.621 MB / 0.7353 GB, free: 32.42 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05359/0.7428, allocations: 107.1 MB / 0.84 GB, free: 5.828 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.7556, allocations: 7.298 MB / 0.8471 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.7575, allocations: 1.725 MB / 0.8488 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.7581, allocations: 0.5813 MB / 0.8494 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.42e-05/0.7582, allocations: 148.6 kB / 0.8495 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1361): time 9.227e-06/0.7582, allocations: 0 / 0.8495 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1361): time 0.02483/0.7831, allocations: 13.08 MB / 0.8623 GB, free: 14.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003029/0.7834, allocations: 1.068 MB / 0.8633 GB, free: 13.4 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006159/0.7895, allocations: 6.334 MB / 0.8695 GB, free: 8.16 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006655/0.7902, allocations: 129.7 kB / 0.8696 GB, free: 8.027 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.7929, allocations: 4.984 MB / 0.8745 GB, free: 3.32 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.2401/1.033, allocations: 4.793 MB / 0.8792 GB, free: 204.6 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009112/1.042, allocations: 3.315 MB / 0.8824 GB, free: 204.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/1.042, allocations: 484.2 kB / 0.8829 GB, free: 204 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004442/1.047, allocations: 1.831 MB / 0.8847 GB, free: 203.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007939/1.055, allocations: 9.169 MB / 0.8936 GB, free: 194.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/1.071, allocations: 12.32 MB / 0.9056 GB, free: 185.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002282/1.072, allocations: 48.62 kB / 0.9057 GB, free: 185.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.03151/1.103, allocations: 11.56 MB / 0.917 GB, free: 184.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.103, allocations: 74.97 kB / 0.9171 GB, free: 184.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01936/1.123, allocations: 6.911 MB / 0.9238 GB, free: 183.8 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008896/1.131, allocations: 2.812 MB / 0.9265 GB, free: 183.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009144/1.141, allocations: 3.859 MB / 0.9303 GB, free: 183.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/1.148, allocations: 18.13 MB / 0.948 GB, free: 166.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/1.159, allocations: 1.68 MB / 0.9497 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003177/1.162, allocations: 0.8757 MB / 0.9505 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008212/1.171, allocations: 2.065 MB / 0.9525 GB, free: 166 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006467/1.177, allocations: 9.148 MB / 0.9615 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01373/1.191, allocations: 12.28 MB / 0.9735 GB, free: 143.5 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001548/1.191, allocations: 50.08 kB / 0.9735 GB, free: 143.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.02017/1.211, allocations: 10.85 MB / 0.9841 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/1.211, allocations: 76 kB / 0.9842 GB, free: 133.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009906/1.221, allocations: 6.028 MB / 0.9901 GB, free: 128.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/1.222, allocations: 377.5 kB / 0.9904 GB, free: 128.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009131/1.231, allocations: 4.105 MB / 0.9944 GB, free: 124.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/1.234, allocations: 12.24 MB / 1.006 GB, free: 111.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009158/1.243, allocations: 1.379 MB / 1.008 GB, free: 110.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/1.246, allocations: 0.8737 MB / 1.009 GB, free: 109.7 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 12 (NTU_parallel.nTU.smallShellFlow[3],NTU_parallel.nTU.smallShellFlow[1],NTU_parallel.nTU.mass,NTU_cross.nTU.smallShellFlow[3],NTU_cross.nTU.smallShellFlow[1],NTU_cross.nTU.mass,NTU_counter.nTU.smallShellFlow[3],NTU_counter.nTU.smallShellFlow[1],NTU_counter.nTU.mass,NTU_counter.nTU.smallShellFlow[2],NTU_cross.nTU.smallShellFlow[2],NTU_parallel.nTU.smallShellFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1952): * Single equations (assignments): 1939 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 7 * 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): 6 systems {1, 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(4,43), (3,14), (1,12), (3,14), (3,14), (1,12), (3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.004098/1.25, allocations: 1.201 MB / 1.01 GB, free: 108.7 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003561/1.254, allocations: 1.169 MB / 1.011 GB, free: 107.5 MB / 0.6512 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 1561 equation(s) and 1528 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (NTU_cross.nTU.I1_out.VLE.d_l, NTU_cross.nTU.I1_out.VLE.h_l, NTU_cross.nTU.I1_out.VLE.p_l, NTU_cross.nTU.I1_out.VLE.s_l, NTU_cross.nTU.I1_out.VLE.T_l, _, NTU_cross.nTU.I1_out.VLE.d_v, NTU_cross.nTU.I1_out.VLE.h_v, NTU_cross.nTU.I1_out.VLE.p_v, NTU_cross.nTU.I1_out.VLE.s_v, NTU_cross.nTU.I1_out.VLE.T_v, _) = ($cse540, $cse541, $cse542, $cse543, $cse544, $cse545, $cse546, $cse547, $cse548, $cse549, $cse550, $cse551) has size 10 but 2 variables (NTU_counter.nTU.cp_i[1], NTU_counter.nTU.summary.C_flow_i[1]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02282/1.277, allocations: 21.06 MB / 1.031 GB, free: 89.07 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.100546624045819]