Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008001/0.008001, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0007123/0.0007123, allocations: 86.16 kB / 25.15 MB, free: 7.469 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.0008621/0.0008621, allocations: 164.4 kB / 29.06 MB, free: 3.656 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.8581/0.8581, allocations: 177.2 MB / 210 MB, free: 1.707 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.7158/0.7158, allocations: 102.5 MB / 369.5 MB, free: 0.9766 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 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_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_ClaRa.Visualisation.Check.TestHEXdisplay") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 470 MB, free: 12.63 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.452e-05, allocations: 6.25 kB / 470 MB, free: 12.62 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.Visualisation.Check.TestHEXdisplay): time 0.29/0.29, allocations: 82.95 MB / 0.54 GB, free: 64.2 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03238/0.3224, allocations: 28.88 MB / 0.5682 GB, free: 44.11 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00564/0.3281, allocations: 191.3 kB / 0.5683 GB, free: 44.02 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.005065/0.3331, allocations: 3.056 MB / 0.5713 GB, free: 42.57 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009133/0.3423, allocations: 5.713 MB / 0.5769 GB, free: 38.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009811/0.3521, allocations: 7.351 MB / 0.5841 GB, free: 33.44 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.367, allocations: 18.29 MB / 0.602 GB, free: 19.06 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.3683, allocations: 0.5748 MB / 0.6025 GB, free: 18.46 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1241/0.4924, allocations: 55.15 MB / 0.6564 GB, free: 13.72 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009741/0.5021, allocations: 6.446 MB / 0.6627 GB, free: 7.258 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.003225/0.5053, allocations: 1.186 MB / 0.6638 GB, free: 6.074 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01857/0.5239, allocations: 7.296 MB / 0.6709 GB, free: 14.78 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003384/0.5273, allocations: 4.319 MB / 0.6752 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00577/0.5331, allocations: 4.064 MB / 0.6791 GB, free: 6.371 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.5441, allocations: 11.35 MB / 0.6902 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5441, allocations: 0 / 0.6902 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5441, allocations: 0 / 0.6902 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0003415/0.5445, allocations: 2.688 kB / 0.6902 GB, free: 10.98 MB / 0.5574 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.01548/0.56, allocations: 12.51 MB / 0.7024 GB, free: 14.38 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.56, allocations: 8.031 kB / 0.7025 GB, free: 14.37 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.5618, allocations: 1.733 MB / 0.7041 GB, free: 12.63 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/0.5687, allocations: 6.696 MB / 0.7107 GB, free: 5.859 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.569, allocations: 0.5246 MB / 0.7112 GB, free: 5.332 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/0.5697, allocations: 0.6447 MB / 0.7118 GB, free: 4.688 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.5911, allocations: 16.02 MB / 0.7275 GB, free: 1.832 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.5912, allocations: 113.6 kB / 0.7276 GB, free: 1.723 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/0.5918, allocations: 327.9 kB / 0.7279 GB, free: 1.402 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009623/0.5927, allocations: 1.421 MB / 0.7293 GB, free: 15.97 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.6091, allocations: 8.548 MB / 0.7376 GB, free: 7.453 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2463/0.8554, allocations: 108.8 MB / 0.8439 GB, free: 73.91 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.8712, allocations: 7.755 MB / 0.8515 GB, free: 72.43 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.8744, allocations: 2.042 MB / 0.8535 GB, free: 71.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.875, allocations: 354.6 kB / 0.8538 GB, free: 71.92 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.708e-05/0.8751, allocations: 145.3 kB / 0.8539 GB, free: 71.87 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 7.995e-06/0.8751, allocations: 0 / 0.8539 GB, free: 71.87 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.02672/0.9018, allocations: 14.05 MB / 0.8676 GB, free: 69.34 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.902, allocations: 1.068 MB / 0.8687 GB, free: 68.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0062/0.9082, allocations: 6.405 MB / 0.8749 GB, free: 64.66 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0007019/0.9089, allocations: 130.1 kB / 0.8751 GB, free: 64.55 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/0.9109, allocations: 4.942 MB / 0.8799 GB, free: 60.73 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00248/0.9134, allocations: 4.758 MB / 0.8845 GB, free: 56.36 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002814/0.9162, allocations: 3.256 MB / 0.8877 GB, free: 53.09 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.44e-05/0.9162, allocations: 482.8 kB / 0.8882 GB, free: 52.62 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/0.9205, allocations: 2.265 MB / 0.8904 GB, free: 50.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006014/0.9265, allocations: 9.534 MB / 0.8997 GB, free: 37.71 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.9372, allocations: 13.02 MB / 0.9124 GB, free: 22.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.353e-05/0.9373, allocations: 48 kB / 0.9125 GB, free: 22.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.01835/0.9557, allocations: 12.55 MB / 0.9247 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.9557, allocations: 76 kB / 0.9248 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01252/0.9682, allocations: 7.619 MB / 0.9322 GB, free: 2.074 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008442/0.9767, allocations: 2.864 MB / 0.935 GB, free: 15.28 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008342/0.985, allocations: 3.891 MB / 0.9388 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.9934, allocations: 18.35 MB / 0.9567 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006571/0.9999, allocations: 1.696 MB / 0.9584 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.001, allocations: 1.003 MB / 0.9594 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006999/1.008, allocations: 2.5 MB / 0.9618 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007229/1.016, allocations: 9.515 MB / 0.9711 GB, free: 6.211 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01314/1.029, allocations: 12.95 MB / 0.9838 GB, free: 6.305 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.528e-05/1.029, allocations: 48 kB / 0.9838 GB, free: 6.258 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.2311/1.26, allocations: 11.8 MB / 0.9953 GB, free: 196.2 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/1.26, allocations: 78.98 kB / 0.9954 GB, free: 196.2 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01059/1.271, allocations: 6.709 MB / 1.002 GB, free: 196 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006821/1.271, allocations: 376 kB / 1.002 GB, free: 196 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008218/1.28, allocations: 4.12 MB / 1.006 GB, free: 196 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/1.283, allocations: 12.37 MB / 1.018 GB, free: 184.1 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.289, allocations: 1.394 MB / 1.02 GB, free: 183.9 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002553/1.292, allocations: 0.9961 MB / 1.021 GB, free: 183.9 MB / 0.6668 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_parallel.nTU.smallShellFlow[2],NTU_cross.nTU.smallShellFlow[2],NTU_counter.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.004029/1.296, allocations: 1.202 MB / 1.022 GB, free: 183.7 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00352/1.299, allocations: 1.185 MB / 1.023 GB, free: 183.1 MB / 0.6668 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.02726/1.327, allocations: 20.88 MB / 1.043 GB, free: 180.7 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.753843614831567]