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.02139/0.02139, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.002326/0.002326, allocations: 79.88 kB / 24.89 MB, free: 6.297 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.002396/0.002396, allocations: 164.8 kB / 28.74 MB, free: 3.504 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.485/1.485, allocations: 177.2 MB / 209.6 MB, free: 2.398 MB / 186.7 MB " [Timeout remaining time 178] 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 1.074/1.074, allocations: 102.5 MB / 369.1 MB, free: 0.8359 MB / 330.8 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.1.|NTU_counter.nTU.Q_flow_s.2.|NTU_counter.nTU.Q_flow_s.3.|NTU_counter.nTU.T_w_i.1.|NTU_counter.nTU.T_w_i.2.|NTU_counter.nTU.T_w_i.3.|NTU_counter.nTU.T_w_o.1.|NTU_counter.nTU.T_w_o.2.|NTU_counter.nTU.T_w_o.3.|NTU_counter.nTU.yps.1.|NTU_counter.nTU.yps.2.|NTU_counter.nTU.yps.3.|NTU_cross.PI_1ph_in.outputI|NTU_cross.PI_2ph.outputI|NTU_cross.nTU.Q_flow_s.1.|NTU_cross.nTU.Q_flow_s.2.|NTU_cross.nTU.Q_flow_s.3.|NTU_cross.nTU.T_w_i.1.|NTU_cross.nTU.T_w_i.2.|NTU_cross.nTU.T_w_i.3.|NTU_cross.nTU.T_w_o.1.|NTU_cross.nTU.T_w_o.2.|NTU_cross.nTU.T_w_o.3.|NTU_cross.nTU.yps.1.|NTU_cross.nTU.yps.2.|NTU_cross.nTU.yps.3.|NTU_parallel.PI_1ph_in.outputI|NTU_parallel.PI_2ph.outputI|NTU_parallel.nTU.Q_flow_s.1.|NTU_parallel.nTU.Q_flow_s.2.|NTU_parallel.nTU.Q_flow_s.3.|NTU_parallel.nTU.T_w_i.1.|NTU_parallel.nTU.T_w_i.2.|NTU_parallel.nTU.T_w_i.3.|NTU_parallel.nTU.T_w_o.1.|NTU_parallel.nTU.T_w_o.2.|NTU_parallel.nTU.T_w_o.3.|NTU_parallel.nTU.yps.1.|NTU_parallel.nTU.yps.2.|NTU_parallel.nTU.yps.3.|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.1.|NTU_counter.nTU.Q_flow_s.2.|NTU_counter.nTU.Q_flow_s.3.|NTU_counter.nTU.T_w_i.1.|NTU_counter.nTU.T_w_i.2.|NTU_counter.nTU.T_w_i.3.|NTU_counter.nTU.T_w_o.1.|NTU_counter.nTU.T_w_o.2.|NTU_counter.nTU.T_w_o.3.|NTU_counter.nTU.yps.1.|NTU_counter.nTU.yps.2.|NTU_counter.nTU.yps.3.|NTU_cross.PI_1ph_in.outputI|NTU_cross.PI_2ph.outputI|NTU_cross.nTU.Q_flow_s.1.|NTU_cross.nTU.Q_flow_s.2.|NTU_cross.nTU.Q_flow_s.3.|NTU_cross.nTU.T_w_i.1.|NTU_cross.nTU.T_w_i.2.|NTU_cross.nTU.T_w_i.3.|NTU_cross.nTU.T_w_o.1.|NTU_cross.nTU.T_w_o.2.|NTU_cross.nTU.T_w_o.3.|NTU_cross.nTU.yps.1.|NTU_cross.nTU.yps.2.|NTU_cross.nTU.yps.3.|NTU_parallel.PI_1ph_in.outputI|NTU_parallel.PI_2ph.outputI|NTU_parallel.nTU.Q_flow_s.1.|NTU_parallel.nTU.Q_flow_s.2.|NTU_parallel.nTU.Q_flow_s.3.|NTU_parallel.nTU.T_w_i.1.|NTU_parallel.nTU.T_w_i.2.|NTU_parallel.nTU.T_w_i.3.|NTU_parallel.nTU.T_w_o.1.|NTU_parallel.nTU.T_w_o.2.|NTU_parallel.nTU.T_w_o.3.|NTU_parallel.nTU.yps.1.|NTU_parallel.nTU.yps.2.|NTU_parallel.nTU.yps.3.|Time",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestHEXdisplay") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.232e-05, allocations: 4 kB / 469.1 MB, free: 12.96 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.4076/0.4076, allocations: 80.49 MB / 0.5367 GB, free: 65.14 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04058/0.4482, allocations: 28.74 MB / 0.5648 GB, free: 45.23 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008547/0.4567, allocations: 194 kB / 0.565 GB, free: 45.14 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.009246/0.466, allocations: 3.049 MB / 0.568 GB, free: 43.69 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01639/0.4824, allocations: 5.677 MB / 0.5735 GB, free: 40.11 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01469/0.4971, allocations: 7.353 MB / 0.5807 GB, free: 35.12 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02341/0.5205, allocations: 18.29 MB / 0.5985 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.5231, allocations: 0.5813 MB / 0.5991 GB, free: 20.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02242/0.5455, allocations: 9.437 MB / 0.6083 GB, free: 11.41 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.5573, allocations: 6.636 MB / 0.6148 GB, free: 4.766 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004109/0.5614, allocations: 1.276 MB / 0.6161 GB, free: 3.492 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04437/0.6057, allocations: 7.446 MB / 0.6233 GB, free: 13.78 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.00877/0.6145, allocations: 4.506 MB / 0.6277 GB, free: 9.262 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.01353/0.628, allocations: 4.22 MB / 0.6319 GB, free: 5.031 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03552/0.6636, allocations: 19.88 MB / 0.6513 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6636, allocations: 0 / 0.6513 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6636, allocations: 0 / 0.6513 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006821/0.6642, allocations: 6.594 kB / 0.6513 GB, free: 1.09 MB / 0.5105 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.04438/0.7086, allocations: 14.19 MB / 0.6651 GB, free: 2.824 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7087, allocations: 8.031 kB / 0.6651 GB, free: 2.816 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007913/0.7166, allocations: 2.033 MB / 0.6671 GB, free: 0.7773 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/0.7372, allocations: 7.614 MB / 0.6746 GB, free: 9.094 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008301/0.738, allocations: 0.5285 MB / 0.6751 GB, free: 8.562 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/0.7415, allocations: 0.6512 MB / 0.6757 GB, free: 7.914 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05463/0.7962, allocations: 19.55 MB / 0.6948 GB, free: 1.527 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/0.7964, allocations: 112.7 kB / 0.6949 GB, free: 1.418 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001901/0.7983, allocations: 323.9 kB / 0.6952 GB, free: 1.102 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/0.8004, allocations: 1.42 MB / 0.6966 GB, free: 15.68 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04267/0.8431, allocations: 11.98 MB / 0.7083 GB, free: 3.695 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3611/1.204, allocations: 136.7 MB / 0.8418 GB, free: 75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03418/1.238, allocations: 10.03 MB / 0.8516 GB, free: 71.75 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00961/1.248, allocations: 3.038 MB / 0.8546 GB, free: 70.53 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/1.25, allocations: 352.7 kB / 0.8549 GB, free: 70.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/1.25, allocations: 143.3 kB / 0.855 GB, free: 70.37 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 1.532e-05/1.25, allocations: 4.969 kB / 0.855 GB, free: 70.37 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.06827/1.318, allocations: 18.17 MB / 0.8728 GB, free: 66.59 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003347/1.318, allocations: 1.071 MB / 0.8738 GB, free: 65.35 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01859/1.337, allocations: 9.518 MB / 0.8831 GB, free: 59.42 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002742/1.34, allocations: 129.7 kB / 0.8832 GB, free: 59.29 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.004008/1.344, allocations: 5.472 MB / 0.8886 GB, free: 54.38 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.006865/1.351, allocations: 5.217 MB / 0.8937 GB, free: 49.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007488/1.358, allocations: 3.964 MB / 0.8976 GB, free: 45.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/1.358, allocations: 476.8 kB / 0.898 GB, free: 45.05 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009162/1.367, allocations: 4.175 MB / 0.9021 GB, free: 40.86 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01451/1.382, allocations: 12.14 MB / 0.9139 GB, free: 25.62 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02471/1.407, allocations: 17.85 MB / 0.9314 GB, free: 4.961 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/1.407, allocations: 48 kB / 0.9314 GB, free: 4.914 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.05211/1.459, allocations: 16.41 MB / 0.9474 GB, free: 4.594 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/1.459, allocations: 76 kB / 0.9475 GB, free: 4.52 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03837/1.497, allocations: 10.67 MB / 0.9579 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02203/1.519, allocations: 2.931 MB / 0.9608 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01697/1.536, allocations: 3.944 MB / 0.9646 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2841/1.82, allocations: 19.1 MB / 0.9833 GB, free: 192.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/1.832, allocations: 1.702 MB / 0.985 GB, free: 192.5 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003165/1.835, allocations: 1.003 MB / 0.9859 GB, free: 192.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01521/1.85, allocations: 5.459 MB / 0.9913 GB, free: 192.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01549/1.865, allocations: 12.12 MB / 1.003 GB, free: 183.4 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02778/1.893, allocations: 17.78 MB / 1.02 GB, free: 174.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004144/1.894, allocations: 48.83 kB / 1.021 GB, free: 174.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.04049/1.934, allocations: 15.6 MB / 1.036 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/1.934, allocations: 75.34 kB / 1.036 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02469/1.959, allocations: 9.697 MB / 1.045 GB, free: 166.8 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.96, allocations: 386.5 kB / 1.046 GB, free: 166.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01548/1.976, allocations: 4.179 MB / 1.05 GB, free: 166 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/1.983, allocations: 13 MB / 1.062 GB, free: 152.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/1.994, allocations: 1.4 MB / 1.064 GB, free: 151.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003369/1.998, allocations: 0.9973 MB / 1.065 GB, free: 150.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_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.005715/2.003, allocations: 1.198 MB / 1.066 GB, free: 149.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006028/2.009, allocations: 1.18 MB / 1.067 GB, free: 148.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.03961/2.049, allocations: 26.94 MB / 1.093 GB, free: 125.8 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.655688424012624]