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.008615/0.008615, 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.0007398/0.0007398, allocations: 88.3 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.001387/0.001387, allocations: 161.6 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.9963/0.9963, allocations: 177.1 MB / 210 MB, free: 3.602 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.6471/0.6471, allocations: 102.4 MB / 369.5 MB, free: 380 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.723e-06/1.723e-06, allocations: 0.6562 kB / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.959e-05, allocations: 2.312 kB / 470 MB, free: 19 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.1307/0.1307, allocations: 83.35 MB / 0.5404 GB, free: 4.477 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03441/0.1651, allocations: 28.88 MB / 0.5686 GB, free: 7.52 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005646/0.1707, allocations: 190.6 kB / 0.5688 GB, free: 7.332 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.005128/0.1759, allocations: 3.052 MB / 0.5717 GB, free: 4.262 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009355/0.1852, allocations: 5.676 MB / 0.5773 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.009709/0.1949, allocations: 7.362 MB / 0.5845 GB, free: 7.18 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.01755/0.2125, allocations: 18.29 MB / 0.6023 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.2139, allocations: 0.5826 MB / 0.6029 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.2256, allocations: 9.437 MB / 0.6121 GB, free: 10.76 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007038/0.2326, allocations: 6.64 MB / 0.6186 GB, free: 4.105 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.001707/0.2343, allocations: 1.277 MB / 0.6199 GB, free: 2.828 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01793/0.2523, allocations: 7.425 MB / 0.6271 GB, free: 12.83 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003246/0.2555, allocations: 4.514 MB / 0.6315 GB, free: 8.305 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006781/0.2623, allocations: 4.216 MB / 0.6356 GB, free: 4.078 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2586/0.5209, allocations: 11.62 MB / 0.647 GB, free: 59.21 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5209, allocations: 2.656 kB / 0.647 GB, free: 59.21 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5209, allocations: 0 / 0.647 GB, free: 59.21 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005162/0.5214, allocations: 0 / 0.647 GB, free: 59.21 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.01795/0.5393, allocations: 12.83 MB / 0.6595 GB, free: 54.29 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5394, allocations: 11.25 kB / 0.6595 GB, free: 54.29 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.5426, allocations: 2.024 MB / 0.6615 GB, free: 53.54 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/0.551, allocations: 7.536 MB / 0.6688 GB, free: 52.08 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.5513, allocations: 0.5264 MB / 0.6694 GB, free: 52.07 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/0.552, allocations: 0.6461 MB / 0.67 GB, free: 52.06 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.5737, allocations: 16.01 MB / 0.6856 GB, free: 43.91 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/0.5739, allocations: 103.6 kB / 0.6857 GB, free: 43.91 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006648/0.5746, allocations: 332 kB / 0.686 GB, free: 43.91 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001413/0.576, allocations: 1.419 MB / 0.6874 GB, free: 43.89 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.5946, allocations: 8.548 MB / 0.6958 GB, free: 43.4 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06033/0.655, allocations: 108.9 MB / 0.8022 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/0.6702, allocations: 7.754 MB / 0.8097 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.6736, allocations: 2.048 MB / 0.8117 GB, free: 4.281 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.6741, allocations: 358.8 kB / 0.8121 GB, free: 4.16 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/0.6742, allocations: 145.2 kB / 0.8122 GB, free: 4.055 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 9.388e-06/0.6742, allocations: 0 / 0.8122 GB, free: 4.055 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.03097/0.7052, allocations: 14.03 MB / 0.8259 GB, free: 9.332 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004582/0.7057, allocations: 1.071 MB / 0.827 GB, free: 8.027 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008258/0.7139, allocations: 6.503 MB / 0.8333 GB, free: 1.512 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.000803/0.7147, allocations: 134.7 kB / 0.8335 GB, free: 1.379 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.00269/0.7174, allocations: 4.941 MB / 0.8383 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003531/0.7209, allocations: 4.761 MB / 0.8429 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003316/0.7243, allocations: 3.253 MB / 0.8461 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.7244, allocations: 480.8 kB / 0.8466 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/0.7287, allocations: 2.265 MB / 0.8488 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007565/0.7363, allocations: 9.54 MB / 0.8581 GB, free: 5.164 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/0.75, allocations: 13.02 MB / 0.8708 GB, free: 5.883 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.566e-05/0.75, allocations: 48 kB / 0.8708 GB, free: 5.836 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.2658/1.016, allocations: 12.55 MB / 0.8831 GB, free: 210.2 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/1.016, allocations: 75.28 kB / 0.8832 GB, free: 210.2 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01435/1.03, allocations: 7.623 MB / 0.8906 GB, free: 209.9 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00919/1.039, allocations: 2.86 MB / 0.8934 GB, free: 209.8 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008899/1.048, allocations: 3.941 MB / 0.8973 GB, free: 209.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/1.056, allocations: 18.46 MB / 0.9153 GB, free: 193.1 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007982/1.064, allocations: 1.698 MB / 0.9169 GB, free: 193.1 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/1.066, allocations: 1.006 MB / 0.9179 GB, free: 193.1 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007665/1.074, allocations: 2.498 MB / 0.9204 GB, free: 192.9 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00701/1.081, allocations: 9.518 MB / 0.9297 GB, free: 183.9 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01243/1.093, allocations: 12.96 MB / 0.9423 GB, free: 174.5 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.415e-05/1.093, allocations: 52.88 kB / 0.9424 GB, free: 174.5 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.01854/1.112, allocations: 11.81 MB / 0.9539 GB, free: 171.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/1.112, allocations: 77.72 kB / 0.954 GB, free: 171.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01049/1.122, allocations: 6.704 MB / 0.9605 GB, free: 166.2 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/1.123, allocations: 377.6 kB / 0.9609 GB, free: 165.9 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007738/1.131, allocations: 4.185 MB / 0.965 GB, free: 161.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/1.134, allocations: 12.44 MB / 0.9771 GB, free: 148.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007534/1.142, allocations: 1.391 MB / 0.9785 GB, free: 147.9 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.143, allocations: 0.996 MB / 0.9794 GB, free: 147 MB / 0.6668 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.003903/1.147, allocations: 1.218 MB / 0.9806 GB, free: 146.3 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00348/1.151, allocations: 1.182 MB / 0.9818 GB, free: 145.2 MB / 0.6668 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.01903/1.17, allocations: 20.87 MB / 1.002 GB, free: 124.7 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8863274939358234]