Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008409/0.008409, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0008882/0.0008882, allocations: 81.25 kB / 26.19 MB, free: 6.074 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.0008522/0.0008522, allocations: 175 kB / 30.13 MB, free: 2.18 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.8978/0.8978, allocations: 177.1 MB / 211.1 MB, free: 2.27 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.7543/0.7543, allocations: 102.5 MB / 370.6 MB, free: 0.8047 MB / 330.8 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.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_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_ClaRa.Basics.ControlVolumes.SolidVolumes.Check.Test_NTU_CounterParallelCross_Comparison") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 471.3 MB, free: 12.32 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.066e-05, allocations: 7.297 kB / 471.3 MB, free: 12.31 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.3287/0.3288, allocations: 82.09 MB / 0.5404 GB, free: 64.61 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03858/0.3673, allocations: 28.8 MB / 0.5685 GB, free: 44.52 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007915/0.3752, allocations: 187.2 kB / 0.5687 GB, free: 44.43 MB / 490.8 MB [/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.008252/0.3835, allocations: 3.068 MB / 0.5717 GB, free: 42.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01485/0.3984, allocations: 5.71 MB / 0.5773 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.4122, allocations: 7.359 MB / 0.5845 GB, free: 33.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0203/0.4325, allocations: 18.26 MB / 0.6023 GB, free: 19.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.4345, allocations: 0.5825 MB / 0.6029 GB, free: 19.01 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1249/0.5593, allocations: 55.14 MB / 0.6567 GB, free: 14.24 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.5709, allocations: 6.41 MB / 0.663 GB, free: 7.82 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.003862/0.5748, allocations: 1.184 MB / 0.6641 GB, free: 6.637 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01933/0.5941, allocations: 7.294 MB / 0.6713 GB, free: 15.34 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.006381/0.6005, allocations: 4.319 MB / 0.6755 GB, free: 11.01 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.6106, allocations: 4.064 MB / 0.6795 GB, free: 6.934 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.6293, allocations: 11.35 MB / 0.6905 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6293, allocations: 2.688 kB / 0.6905 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6293, allocations: 0 / 0.6905 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.000542/0.6298, allocations: 0 / 0.6905 GB, free: 11.54 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.02095/0.6508, allocations: 12.53 MB / 0.7028 GB, free: 14.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6508, allocations: 12.03 kB / 0.7028 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.6536, allocations: 1.73 MB / 0.7045 GB, free: 13.17 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00957/0.6631, allocations: 6.543 MB / 0.7109 GB, free: 6.551 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/0.6636, allocations: 0.5311 MB / 0.7114 GB, free: 6.02 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001909/0.6655, allocations: 0.6525 MB / 0.712 GB, free: 5.367 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.6915, allocations: 15.29 MB / 0.727 GB, free: 3.246 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/0.6918, allocations: 106.9 kB / 0.7271 GB, free: 3.141 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.6929, allocations: 327.9 kB / 0.7274 GB, free: 2.82 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/0.6941, allocations: 1.425 MB / 0.7288 GB, free: 1.391 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01957/0.7136, allocations: 7.621 MB / 0.7362 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3062/1.02, allocations: 107.1 MB / 0.8408 GB, free: 73.9 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/1.042, allocations: 7.29 MB / 0.848 GB, free: 72.41 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004856/1.047, allocations: 1.726 MB / 0.8496 GB, free: 71.93 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/1.048, allocations: 349.3 kB / 0.85 GB, free: 71.91 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/1.048, allocations: 147.3 kB / 0.8501 GB, free: 71.86 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 1.23e-05/1.048, allocations: 2.656 kB / 0.8501 GB, free: 71.86 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.03509/1.083, allocations: 13.08 MB / 0.8629 GB, free: 71.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/1.083, allocations: 1.068 MB / 0.8639 GB, free: 69.84 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006712/1.09, allocations: 6.331 MB / 0.8701 GB, free: 68.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001885/1.092, allocations: 131.4 kB / 0.8702 GB, free: 68.27 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002469/1.094, allocations: 4.991 MB / 0.8751 GB, free: 65.21 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004676/1.099, allocations: 4.803 MB / 0.8798 GB, free: 61.62 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004156/1.103, allocations: 3.313 MB / 0.883 GB, free: 60 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/1.103, allocations: 484.7 kB / 0.8835 GB, free: 59.52 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.106, allocations: 1.824 MB / 0.8853 GB, free: 58.59 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/1.111, allocations: 9.172 MB / 0.8942 GB, free: 46.71 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.123, allocations: 12.33 MB / 0.9063 GB, free: 32.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/1.123, allocations: 46.66 kB / 0.9063 GB, free: 32.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.02257/1.145, allocations: 11.54 MB / 0.9176 GB, free: 21.02 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.815e-05/1.146, allocations: 79.94 kB / 0.9177 GB, free: 20.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01413/1.16, allocations: 6.89 MB / 0.9244 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008543/1.168, allocations: 2.81 MB / 0.9271 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008225/1.176, allocations: 3.862 MB / 0.9309 GB, free: 7.477 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008888/1.185, allocations: 18.12 MB / 0.9486 GB, free: 4.566 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.194, allocations: 1.673 MB / 0.9502 GB, free: 2.887 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002835/1.197, allocations: 0.8782 MB / 0.9511 GB, free: 2.008 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009231/1.206, allocations: 2.064 MB / 0.9531 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009658/1.216, allocations: 9.153 MB / 0.9621 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01531/1.231, allocations: 12.29 MB / 0.9741 GB, free: 4.418 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001548/1.231, allocations: 48 kB / 0.9741 GB, free: 4.371 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.2749/1.506, allocations: 10.82 MB / 0.9847 GB, free: 183.9 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/1.506, allocations: 78.59 kB / 0.9847 GB, free: 183.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01093/1.517, allocations: 6.033 MB / 0.9906 GB, free: 183.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009017/1.518, allocations: 375.7 kB / 0.991 GB, free: 183.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/1.53, allocations: 4.102 MB / 0.995 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/1.535, allocations: 12.24 MB / 1.007 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009262/1.544, allocations: 1.376 MB / 1.008 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003068/1.547, allocations: 0.8663 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.004464/1.552, allocations: 1.198 MB / 1.01 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004164/1.556, allocations: 1.177 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.0278/1.584, allocations: 21.07 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.168933853041381]