Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison.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.008932/0.008932, allocations: 1.794 MB / 21.35 MB, free: 3.219 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.0008446/0.0008446, allocations: 87.11 kB / 25.15 MB, free: 7.449 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.0008396/0.0008396, allocations: 166.1 kB / 29.06 MB, free: 3.676 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.874/0.874, allocations: 177.1 MB / 210 MB, free: 3.609 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.5898/0.5898, allocations: 102.4 MB / 369.5 MB, free: 388 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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison,tolerance=1e-07,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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison") translateModel(ClaRa.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison,tolerance=1e-07,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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.831e-05, allocations: 2.312 kB / 470 MB, free: 18.95 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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison): time 0.1181/0.1181, allocations: 83.34 MB / 0.5404 GB, free: 4.453 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03275/0.1509, allocations: 28.89 MB / 0.5686 GB, free: 7.492 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/0.1559, allocations: 190.6 kB / 0.5688 GB, free: 7.305 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.004327/0.1603, allocations: 3.056 MB / 0.5718 GB, free: 4.23 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008643/0.1689, allocations: 5.715 MB / 0.5773 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.009675/0.1786, allocations: 7.358 MB / 0.5845 GB, free: 7.113 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.01901/0.1976, allocations: 18.28 MB / 0.6024 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.1994, allocations: 0.5826 MB / 0.6029 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3475/0.5469, allocations: 55.14 MB / 0.6568 GB, free: 59.18 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008714/0.5556, allocations: 6.449 MB / 0.6631 GB, free: 59.18 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001923/0.5575, allocations: 1.182 MB / 0.6642 GB, free: 59.18 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/0.5765, allocations: 7.295 MB / 0.6714 GB, free: 56.02 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003616/0.5802, allocations: 4.319 MB / 0.6756 GB, free: 56.02 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005951/0.5861, allocations: 4.068 MB / 0.6796 GB, free: 55.93 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.6007, allocations: 11.36 MB / 0.6907 GB, free: 54.23 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.6007, allocations: 0 / 0.6907 GB, free: 54.23 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6007, allocations: 0 / 0.6907 GB, free: 54.23 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004337/0.6011, allocations: 1.406 kB / 0.6907 GB, free: 54.23 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.01859/0.6197, allocations: 12.51 MB / 0.7029 GB, free: 48.31 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6197, allocations: 9.844 kB / 0.7029 GB, free: 48.31 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.6225, allocations: 1.73 MB / 0.7046 GB, free: 47.57 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.6305, allocations: 6.704 MB / 0.7111 GB, free: 44.73 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.6307, allocations: 0.5225 MB / 0.7116 GB, free: 44.51 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007676/0.6315, allocations: 0.6535 MB / 0.7123 GB, free: 44.3 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/0.6521, allocations: 16.02 MB / 0.7279 GB, free: 31.85 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.6522, allocations: 105.2 kB / 0.728 GB, free: 31.85 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006068/0.6528, allocations: 328.5 kB / 0.7283 GB, free: 31.66 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008865/0.6537, allocations: 1.419 MB / 0.7297 GB, free: 31.2 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.67, allocations: 8.55 MB / 0.7381 GB, free: 28.5 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0607/0.7307, allocations: 108.8 MB / 0.8443 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/0.747, allocations: 7.76 MB / 0.8519 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.7506, allocations: 2.046 MB / 0.8539 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/0.7512, allocations: 351.4 kB / 0.8542 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.143e-05/0.7512, allocations: 146.5 kB / 0.8544 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1361): time 8.045e-06/0.7513, allocations: 0 / 0.8544 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1361): time 0.02843/0.7797, allocations: 14.05 MB / 0.8681 GB, free: 6.293 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004256/0.7801, allocations: 1.068 MB / 0.8691 GB, free: 4.992 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.226/1.006, allocations: 6.396 MB / 0.8754 GB, free: 203.1 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002319/1.008, allocations: 127.8 kB / 0.8755 GB, free: 203.1 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002717/1.011, allocations: 4.945 MB / 0.8803 GB, free: 201.7 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.004714/1.016, allocations: 4.761 MB / 0.885 GB, free: 198.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004991/1.021, allocations: 3.246 MB / 0.8881 GB, free: 198.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 5.788e-05/1.021, allocations: 485.1 kB / 0.8886 GB, free: 197.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.026, allocations: 2.269 MB / 0.8908 GB, free: 197.7 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006447/1.032, allocations: 9.532 MB / 0.9001 GB, free: 188.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.044, allocations: 13.02 MB / 0.9128 GB, free: 179.7 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.872e-05/1.044, allocations: 50.88 kB / 0.9129 GB, free: 179.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.02192/1.066, allocations: 12.54 MB / 0.9251 GB, free: 177.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.066, allocations: 75.28 kB / 0.9252 GB, free: 177.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01267/1.079, allocations: 7.623 MB / 0.9327 GB, free: 177.2 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008563/1.088, allocations: 2.858 MB / 0.9354 GB, free: 177.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007704/1.095, allocations: 3.888 MB / 0.9392 GB, free: 176.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/1.102, allocations: 18.36 MB / 0.9572 GB, free: 159.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007639/1.109, allocations: 1.698 MB / 0.9588 GB, free: 159 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/1.111, allocations: 1.004 MB / 0.9598 GB, free: 158.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006407/1.117, allocations: 2.499 MB / 0.9623 GB, free: 158.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005624/1.123, allocations: 9.517 MB / 0.9715 GB, free: 145.4 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01157/1.134, allocations: 12.96 MB / 0.9842 GB, free: 129.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.796e-05/1.134, allocations: 48 kB / 0.9842 GB, free: 129.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.01674/1.151, allocations: 11.8 MB / 0.9958 GB, free: 117.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.151, allocations: 76 kB / 0.9958 GB, free: 117.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009265/1.16, allocations: 6.708 MB / 1.002 GB, free: 111 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/1.161, allocations: 382.7 kB / 1.003 GB, free: 110.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00744/1.168, allocations: 4.119 MB / 1.007 GB, free: 106.5 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/1.172, allocations: 12.36 MB / 1.019 GB, free: 93.39 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007023/1.179, allocations: 1.403 MB / 1.02 GB, free: 91.98 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.18, allocations: 0.9915 MB / 1.021 GB, free: 90.99 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.003421/1.183, allocations: 1.204 MB / 1.022 GB, free: 89.78 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002959/1.186, allocations: 1.187 MB / 1.024 GB, free: 88.59 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.01794/1.204, allocations: 20.87 MB / 1.044 GB, free: 67.98 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 3.9300549807958305]