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.008366/0.008366, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008201/0.0008201, allocations: 87.69 kB / 25.62 MB, free: 6.535 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.000914/0.000914, allocations: 165.8 kB / 29.46 MB, free: 3.035 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.9002/0.9002, allocations: 177.1 MB / 210.3 MB, free: 1.754 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.7105/0.7105, allocations: 102.4 MB / 369.8 MB, free: 0.9102 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.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.733e-06/1.733e-06, allocations: 0 / 469.9 MB, free: 12.91 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.195e-05, allocations: 7.438 kB / 469.9 MB, free: 12.9 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.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison): time 0.3302/0.3302, allocations: 83.18 MB / 0.5401 GB, free: 63.86 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03798/0.3682, allocations: 28.84 MB / 0.5683 GB, free: 43.78 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007712/0.3759, allocations: 187.2 kB / 0.5685 GB, free: 43.69 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.006806/0.3827, allocations: 3.058 MB / 0.5715 GB, free: 42.23 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.3944, allocations: 5.67 MB / 0.577 GB, free: 38.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.4058, allocations: 7.36 MB / 0.5842 GB, free: 33.16 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.4228, allocations: 18.29 MB / 0.6021 GB, free: 18.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.4243, allocations: 0.5787 MB / 0.6026 GB, free: 18.16 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.4357, allocations: 9.445 MB / 0.6118 GB, free: 8.695 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006085/0.4418, allocations: 6.635 MB / 0.6183 GB, free: 2.051 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.4438, allocations: 1.273 MB / 0.6196 GB, free: 0.7773 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/0.4621, allocations: 7.449 MB / 0.6268 GB, free: 11.19 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.465, allocations: 4.502 MB / 0.6312 GB, free: 6.672 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.004911/0.4699, allocations: 4.22 MB / 0.6354 GB, free: 2.441 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4813, allocations: 11.62 MB / 0.6467 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4813, allocations: 0 / 0.6467 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4813, allocations: 4 kB / 0.6467 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001196/0.4814, allocations: 0 / 0.6467 GB, free: 6.781 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.01521/0.4966, allocations: 12.81 MB / 0.6592 GB, free: 9.898 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4967, allocations: 12.03 kB / 0.6592 GB, free: 9.887 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.5001, allocations: 2.033 MB / 0.6612 GB, free: 7.848 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008278/0.5083, allocations: 7.538 MB / 0.6686 GB, free: 240 kB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.5087, allocations: 0.5246 MB / 0.6691 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007416/0.5094, allocations: 0.6486 MB / 0.6697 GB, free: 15.06 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.5315, allocations: 16.01 MB / 0.6854 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.5317, allocations: 110.9 kB / 0.6855 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/0.5323, allocations: 319.9 kB / 0.6858 GB, free: 11.79 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001303/0.5336, allocations: 1.417 MB / 0.6872 GB, free: 10.37 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.5514, allocations: 8.553 MB / 0.6955 GB, free: 1.844 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2805/0.8319, allocations: 108.9 MB / 0.8019 GB, free: 92.18 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.8486, allocations: 7.758 MB / 0.8095 GB, free: 90.67 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003852/0.8524, allocations: 2.041 MB / 0.8115 GB, free: 90.18 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.8531, allocations: 355.6 kB / 0.8118 GB, free: 90.16 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.635e-05/0.8532, allocations: 145.3 kB / 0.812 GB, free: 90.11 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 1.054e-05/0.8532, allocations: 2.094 kB / 0.812 GB, free: 90.11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.03475/0.8879, allocations: 14.04 MB / 0.8257 GB, free: 89.72 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002043/0.8881, allocations: 1.072 MB / 0.8267 GB, free: 88.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007073/0.8952, allocations: 6.496 MB / 0.8331 GB, free: 86.63 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/0.8962, allocations: 133.9 kB / 0.8332 GB, free: 86.52 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002179/0.8984, allocations: 4.939 MB / 0.838 GB, free: 83.2 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002889/0.9013, allocations: 4.753 MB / 0.8427 GB, free: 79.79 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003173/0.9045, allocations: 3.249 MB / 0.8458 GB, free: 78.5 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.9045, allocations: 491.6 kB / 0.8463 GB, free: 78.02 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004241/0.9088, allocations: 2.264 MB / 0.8485 GB, free: 77.69 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006393/0.9152, allocations: 9.539 MB / 0.8578 GB, free: 67.44 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.9272, allocations: 13.02 MB / 0.8705 GB, free: 51.82 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.627e-05/0.9273, allocations: 48 kB / 0.8706 GB, free: 51.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.02003/0.9473, allocations: 12.55 MB / 0.8828 GB, free: 39.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/0.9474, allocations: 76 kB / 0.8829 GB, free: 39.22 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01306/0.9604, allocations: 7.635 MB / 0.8904 GB, free: 31.59 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008997/0.9694, allocations: 2.859 MB / 0.8932 GB, free: 28.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008148/0.9776, allocations: 3.94 MB / 0.897 GB, free: 24.86 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/0.985, allocations: 18.46 MB / 0.915 GB, free: 5.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008624/0.9936, allocations: 1.696 MB / 0.9167 GB, free: 3.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/0.9957, allocations: 1.007 MB / 0.9177 GB, free: 2.762 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007541/1.003, allocations: 2.501 MB / 0.9201 GB, free: 256 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008664/1.012, allocations: 9.504 MB / 0.9294 GB, free: 3.574 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01547/1.027, allocations: 12.97 MB / 0.9421 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001093/1.028, allocations: 48 kB / 0.9421 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.02104/1.049, allocations: 11.8 MB / 0.9536 GB, free: 7.848 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/1.049, allocations: 78.62 kB / 0.9537 GB, free: 7.773 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0112/1.06, allocations: 6.713 MB / 0.9603 GB, free: 1.055 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/1.06, allocations: 378.2 kB / 0.9606 GB, free: 0.6836 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008152/1.069, allocations: 4.177 MB / 0.9647 GB, free: 12.51 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/1.074, allocations: 12.44 MB / 0.9769 GB, free: 15.3 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006876/1.081, allocations: 1.4 MB / 0.9782 GB, free: 13.9 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.082, allocations: 0.9975 MB / 0.9792 GB, free: 12.9 MB / 0.6824 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.003369/1.086, allocations: 1.203 MB / 0.9804 GB, free: 11.69 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003161/1.089, allocations: 1.174 MB / 0.9815 GB, free: 10.51 MB / 0.6824 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.259/1.348, allocations: 20.88 MB / 1.002 GB, free: 226.3 MB / 0.6824 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8439140480477363]