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.01385/0.01385, allocations: 1.794 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.0009707/0.0009707, allocations: 90.19 kB / 25.16 MB, free: 6.316 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.0009967/0.0009967, allocations: 163.2 kB / 29.05 MB, free: 3.352 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.9565/0.9565, allocations: 177.1 MB / 210 MB, free: 3.578 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.6107/0.6107, allocations: 102.5 MB / 369.5 MB, free: 360 kB / 330.7 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.453e-06/1.453e-06, allocations: 3.938 kB / 469.9 MB, free: 5.898 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.966e-05, allocations: 4.094 kB / 469.9 MB, free: 5.895 MB / 426.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.1174/0.1174, allocations: 82.96 MB / 0.5399 GB, free: 5.578 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03345/0.1508, allocations: 28.89 MB / 0.5682 GB, free: 8.621 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005328/0.1562, allocations: 186.6 kB / 0.5683 GB, free: 8.438 MB / 0.5262 GB [/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.00522/0.1614, allocations: 3.06 MB / 0.5713 GB, free: 5.359 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.1708, allocations: 5.68 MB / 0.5769 GB, free: 15.64 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009742/0.1805, allocations: 7.351 MB / 0.5841 GB, free: 8.281 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01708/0.1976, allocations: 18.29 MB / 0.6019 GB, free: 5.93 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.1992, allocations: 0.5787 MB / 0.6025 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.2118, allocations: 9.437 MB / 0.6117 GB, free: 11.86 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007893/0.2197, allocations: 6.642 MB / 0.6182 GB, free: 5.195 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002275/0.222, allocations: 1.277 MB / 0.6194 GB, free: 3.918 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02448/0.2465, allocations: 7.404 MB / 0.6267 GB, free: 13.91 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.004009/0.2505, allocations: 4.51 MB / 0.6311 GB, free: 9.387 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.006784/0.2573, allocations: 4.224 MB / 0.6352 GB, free: 5.152 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.2733, allocations: 11.62 MB / 0.6465 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2733, allocations: 4 kB / 0.6465 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2733, allocations: 0 / 0.6465 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0002279/0.2735, allocations: 0 / 0.6465 GB, free: 9.492 MB / 0.6043 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.01593/0.2894, allocations: 12.82 MB / 0.6591 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2895, allocations: 12.03 kB / 0.6591 GB, free: 12.54 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.2923, allocations: 2.027 MB / 0.661 GB, free: 10.51 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008043/0.3004, allocations: 7.553 MB / 0.6684 GB, free: 2.844 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.3007, allocations: 0.5285 MB / 0.6689 GB, free: 2.312 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/0.3014, allocations: 0.6525 MB / 0.6696 GB, free: 1.66 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2036/0.505, allocations: 16 MB / 0.6852 GB, free: 171.5 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.5051, allocations: 104.4 kB / 0.6853 GB, free: 171.5 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005797/0.5057, allocations: 326.7 kB / 0.6856 GB, free: 171.5 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008859/0.5066, allocations: 1.416 MB / 0.687 GB, free: 171.5 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.5233, allocations: 8.553 MB / 0.6953 GB, free: 171.1 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06787/0.5912, allocations: 109 MB / 0.8017 GB, free: 77.36 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/0.6117, allocations: 7.761 MB / 0.8093 GB, free: 75.07 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.615, allocations: 2.04 MB / 0.8113 GB, free: 74.31 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.6158, allocations: 354.1 kB / 0.8117 GB, free: 74.25 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.6159, allocations: 140.8 kB / 0.8118 GB, free: 74.14 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=1361): time 1.919e-05/0.6159, allocations: 0 / 0.8118 GB, free: 74.14 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1361): time 0.02955/0.6455, allocations: 14.05 MB / 0.8255 GB, free: 64.79 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.6457, allocations: 1.073 MB / 0.8266 GB, free: 63.48 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007409/0.6531, allocations: 6.495 MB / 0.8329 GB, free: 57.18 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001749/0.6549, allocations: 129.7 kB / 0.833 GB, free: 57.05 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.6571, allocations: 4.939 MB / 0.8378 GB, free: 52.62 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.004164/0.6613, allocations: 4.755 MB / 0.8425 GB, free: 47.94 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003648/0.6649, allocations: 3.26 MB / 0.8457 GB, free: 44.66 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.665, allocations: 476.8 kB / 0.8461 GB, free: 44.2 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/0.6692, allocations: 2.269 MB / 0.8483 GB, free: 41.91 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/0.6753, allocations: 9.529 MB / 0.8576 GB, free: 29.22 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/0.6883, allocations: 13.03 MB / 0.8704 GB, free: 13.29 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/0.6885, allocations: 46.08 kB / 0.8704 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.0243/0.7128, allocations: 12.55 MB / 0.8827 GB, free: 0.7539 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.7129, allocations: 78.69 kB / 0.8827 GB, free: 0.6797 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01779/0.7306, allocations: 7.624 MB / 0.8902 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009887/0.7405, allocations: 2.86 MB / 0.893 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009452/0.75, allocations: 3.936 MB / 0.8968 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2464/0.9964, allocations: 18.46 MB / 0.9149 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008391/1.005, allocations: 1.7 MB / 0.9165 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003104/1.008, allocations: 0.9999 MB / 0.9175 GB, free: 148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009764/1.018, allocations: 2.502 MB / 0.9199 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008603/1.026, allocations: 9.511 MB / 0.9292 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01594/1.042, allocations: 12.97 MB / 0.9419 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001836/1.042, allocations: 46.17 kB / 0.9419 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.02863/1.071, allocations: 11.8 MB / 0.9534 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.071, allocations: 74.91 kB / 0.9535 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01706/1.088, allocations: 6.719 MB / 0.9601 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008747/1.089, allocations: 378.9 kB / 0.9604 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/1.099, allocations: 4.178 MB / 0.9645 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/1.104, allocations: 12.46 MB / 0.9767 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009726/1.113, allocations: 1.391 MB / 0.978 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002989/1.116, allocations: 0.9969 MB / 0.979 GB, free: 115.9 MB / 0.6355 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.004122/1.12, allocations: 1.194 MB / 0.9802 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003916/1.124, allocations: 1.189 MB / 0.9813 GB, free: 114.8 MB / 0.6355 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.02706/1.151, allocations: 20.88 MB / 1.002 GB, free: 110.1 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.850279988255352]