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.008378/0.008378, allocations: 1.777 MB / 22.36 MB, free: 2.121 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.000909/0.000909, allocations: 81.8 kB / 26.19 MB, free: 6.082 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.0009466/0.0009466, allocations: 171 kB / 30.13 MB, free: 2.188 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.9949/0.9949, allocations: 177.1 MB / 211.1 MB, free: 2.273 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.7991/0.7991, allocations: 102.4 MB / 370.6 MB, free: 0.7812 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.[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.944e-06/1.944e-06, allocations: 0 / 471.2 MB, free: 12.34 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.972e-05, allocations: 3.578 kB / 471.2 MB, free: 12.34 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.3326/0.3327, allocations: 82.06 MB / 0.5403 GB, free: 64.7 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03648/0.3692, allocations: 28.8 MB / 0.5684 GB, free: 44.61 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008467/0.3776, allocations: 191.6 kB / 0.5686 GB, free: 44.52 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.009289/0.3869, allocations: 3.065 MB / 0.5716 GB, free: 43.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01583/0.4027, allocations: 5.713 MB / 0.5772 GB, free: 39.39 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.4177, allocations: 7.353 MB / 0.5844 GB, free: 33.75 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02415/0.4419, allocations: 18.27 MB / 0.6022 GB, free: 19.71 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.4443, allocations: 0.5929 MB / 0.6028 GB, free: 19.09 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1316/0.5759, allocations: 55.13 MB / 0.6566 GB, free: 14.36 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.5878, allocations: 6.411 MB / 0.6629 GB, free: 7.93 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.004/0.5918, allocations: 1.182 MB / 0.664 GB, free: 6.75 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01991/0.6117, allocations: 7.302 MB / 0.6712 GB, free: 15.45 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.006268/0.618, allocations: 4.323 MB / 0.6754 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.009852/0.6278, allocations: 4.068 MB / 0.6794 GB, free: 7.039 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.6461, allocations: 11.35 MB / 0.6904 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6461, allocations: 0 / 0.6904 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6461, allocations: 0 / 0.6904 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0004861/0.6466, allocations: 2.656 kB / 0.6904 GB, free: 11.65 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.02307/0.6697, allocations: 12.53 MB / 0.7027 GB, free: 15.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6697, allocations: 12.02 kB / 0.7027 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.6735, allocations: 1.737 MB / 0.7044 GB, free: 13.28 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009542/0.6831, allocations: 6.543 MB / 0.7108 GB, free: 6.656 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/0.6835, allocations: 0.5246 MB / 0.7113 GB, free: 6.129 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.6851, allocations: 0.6486 MB / 0.7119 GB, free: 5.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/0.7113, allocations: 15.28 MB / 0.7269 GB, free: 3.359 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.7115, allocations: 113.6 kB / 0.727 GB, free: 3.25 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009797/0.7125, allocations: 327.9 kB / 0.7273 GB, free: 2.93 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00137/0.7138, allocations: 1.417 MB / 0.7287 GB, free: 1.508 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.7325, allocations: 7.614 MB / 0.7361 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2832/1.016, allocations: 107.1 MB / 0.8407 GB, free: 73.94 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/1.034, allocations: 7.285 MB / 0.8478 GB, free: 72.45 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/1.038, allocations: 1.725 MB / 0.8495 GB, free: 71.97 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008384/1.039, allocations: 351.9 kB / 0.8499 GB, free: 71.95 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/1.039, allocations: 154.1 kB / 0.85 GB, free: 71.89 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 9.949e-06/1.039, allocations: 0 / 0.85 GB, free: 71.89 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.03441/1.073, allocations: 13.07 MB / 0.8628 GB, free: 71.13 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/1.074, allocations: 1.074 MB / 0.8638 GB, free: 69.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/1.081, allocations: 6.332 MB / 0.87 GB, free: 68.4 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.00214/1.084, allocations: 133.1 kB / 0.8701 GB, free: 68.37 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.086, allocations: 4.988 MB / 0.875 GB, free: 65.27 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005172/1.092, allocations: 4.799 MB / 0.8797 GB, free: 61.69 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006011/1.098, allocations: 3.314 MB / 0.8829 GB, free: 60.06 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/1.098, allocations: 486.4 kB / 0.8834 GB, free: 59.59 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.101, allocations: 1.825 MB / 0.8852 GB, free: 58.74 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005766/1.107, allocations: 9.171 MB / 0.8941 GB, free: 46.86 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.118, allocations: 12.34 MB / 0.9062 GB, free: 32.64 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.118, allocations: 48 kB / 0.9062 GB, free: 32.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.02273/1.141, allocations: 11.52 MB / 0.9175 GB, free: 21.17 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.385e-05/1.141, allocations: 79.94 kB / 0.9176 GB, free: 21.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01426/1.155, allocations: 6.898 MB / 0.9243 GB, free: 14.21 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009369/1.165, allocations: 2.808 MB / 0.927 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00887/1.174, allocations: 3.865 MB / 0.9308 GB, free: 7.629 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0088/1.183, allocations: 18.11 MB / 0.9485 GB, free: 4.723 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008863/1.191, allocations: 1.678 MB / 0.9501 GB, free: 3.035 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/1.194, allocations: 0.8769 MB / 0.951 GB, free: 2.16 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009149/1.203, allocations: 2.06 MB / 0.953 GB, free: 96 kB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01008/1.213, allocations: 9.154 MB / 0.9619 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01541/1.229, allocations: 12.29 MB / 0.9739 GB, free: 4.562 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001502/1.229, allocations: 48 kB / 0.974 GB, free: 4.516 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.2603/1.489, allocations: 10.84 MB / 0.9846 GB, free: 183.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.784e-05/1.489, allocations: 79 kB / 0.9846 GB, free: 183.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.011/1.5, allocations: 6.024 MB / 0.9905 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/1.501, allocations: 378.5 kB / 0.9909 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009462/1.511, allocations: 4.104 MB / 0.9949 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/1.514, allocations: 12.23 MB / 1.007 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008179/1.523, allocations: 1.38 MB / 1.008 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/1.525, allocations: 0.8674 MB / 1.009 GB, free: 171.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.004445/1.53, allocations: 1.203 MB / 1.01 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004689/1.535, allocations: 1.178 MB / 1.011 GB, free: 170.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.02742/1.562, allocations: 21.06 MB / 1.032 GB, free: 168 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.316568533889949]