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.0223/0.0223, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001909/0.001909, allocations: 85.23 kB / 25.4 MB, free: 7 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.001039/0.001039, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.8984/0.8984, allocations: 177.2 MB / 210.3 MB, free: 3.453 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.6347/0.6347, allocations: 102.4 MB / 369.9 MB, free: 172 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.522e-06/1.522e-06, allocations: 3.938 kB / 470.5 MB, free: 18.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.414e-05, allocations: 6.234 kB / 470.5 MB, free: 18.79 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.1165/0.1166, allocations: 82.12 MB / 0.5397 GB, free: 5.375 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03483/0.1514, allocations: 28.81 MB / 0.5678 GB, free: 8.492 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005935/0.1573, allocations: 186.6 kB / 0.568 GB, free: 8.309 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.006967/0.1643, allocations: 3.052 MB / 0.571 GB, free: 5.238 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.1763, allocations: 5.722 MB / 0.5765 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.1882, allocations: 7.358 MB / 0.5837 GB, free: 8.113 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.02248/0.2107, allocations: 18.26 MB / 0.6016 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2129, allocations: 0.5903 MB / 0.6021 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3622/0.5751, allocations: 55.13 MB / 0.656 GB, free: 61.02 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.5851, allocations: 6.413 MB / 0.6622 GB, free: 61.02 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.004071/0.5892, allocations: 1.181 MB / 0.6634 GB, free: 61.02 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02148/0.6107, allocations: 7.298 MB / 0.6705 GB, free: 57.85 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005975/0.6166, allocations: 4.321 MB / 0.6747 GB, free: 57.85 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.6281, allocations: 4.065 MB / 0.6787 GB, free: 57.76 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0206/0.6487, allocations: 11.36 MB / 0.6898 GB, free: 56.06 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6487, allocations: 0 / 0.6898 GB, free: 56.06 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6487, allocations: 0 / 0.6898 GB, free: 56.06 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0006963/0.6494, allocations: 1.375 kB / 0.6898 GB, free: 56.06 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.0316/0.681, allocations: 12.54 MB / 0.702 GB, free: 50.32 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.681, allocations: 9.781 kB / 0.702 GB, free: 50.32 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/0.6867, allocations: 1.731 MB / 0.7037 GB, free: 49.58 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.6983, allocations: 6.544 MB / 0.7101 GB, free: 47.17 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005388/0.6988, allocations: 0.5243 MB / 0.7106 GB, free: 47.14 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/0.7013, allocations: 0.6601 MB / 0.7113 GB, free: 46.94 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.7273, allocations: 15.28 MB / 0.7262 GB, free: 35.24 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002431/0.7275, allocations: 103.7 kB / 0.7263 GB, free: 35.24 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/0.7292, allocations: 330.3 kB / 0.7266 GB, free: 35.05 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009629/0.7302, allocations: 1.414 MB / 0.728 GB, free: 34.59 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.7485, allocations: 7.623 MB / 0.7354 GB, free: 32.29 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08449/0.833, allocations: 107.2 MB / 0.8401 GB, free: 5.664 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/0.849, allocations: 7.284 MB / 0.8472 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/0.8528, allocations: 1.729 MB / 0.8489 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007617/0.8536, allocations: 0.5959 MB / 0.8495 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.346e-05/0.8537, allocations: 145 kB / 0.8496 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1361): time 8.807e-06/0.8537, allocations: 0 / 0.8496 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1361): time 0.03078/0.8845, allocations: 13.07 MB / 0.8624 GB, free: 14.54 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003457/0.8848, allocations: 1.069 MB / 0.8634 GB, free: 13.23 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008015/0.8928, allocations: 6.331 MB / 0.8696 GB, free: 7.992 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002263/0.8951, allocations: 128.4 kB / 0.8697 GB, free: 7.863 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003486/0.8986, allocations: 4.995 MB / 0.8746 GB, free: 3.148 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.2389/1.137, allocations: 4.791 MB / 0.8793 GB, free: 204.6 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008182/1.146, allocations: 3.318 MB / 0.8825 GB, free: 204.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/1.146, allocations: 478.7 kB / 0.883 GB, free: 204 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/1.15, allocations: 1.823 MB / 0.8848 GB, free: 203.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008132/1.158, allocations: 9.17 MB / 0.8937 GB, free: 194.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.173, allocations: 12.33 MB / 0.9058 GB, free: 185.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002491/1.173, allocations: 47.94 kB / 0.9058 GB, free: 185.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.02537/1.199, allocations: 11.56 MB / 0.9171 GB, free: 184.2 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/1.199, allocations: 75.94 kB / 0.9172 GB, free: 184.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01667/1.215, allocations: 6.912 MB / 0.9239 GB, free: 183.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008515/1.224, allocations: 2.811 MB / 0.9267 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008628/1.233, allocations: 3.865 MB / 0.9304 GB, free: 183.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/1.239, allocations: 18.12 MB / 0.9481 GB, free: 166.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/1.25, allocations: 1.676 MB / 0.9498 GB, free: 166.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003131/1.253, allocations: 0.8744 MB / 0.9506 GB, free: 166.1 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009303/1.262, allocations: 2.062 MB / 0.9526 GB, free: 166 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007621/1.27, allocations: 9.159 MB / 0.9616 GB, free: 156.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01261/1.282, allocations: 12.28 MB / 0.9736 GB, free: 143.5 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001668/1.283, allocations: 48 kB / 0.9736 GB, free: 143.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.02293/1.305, allocations: 10.85 MB / 0.9842 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/1.306, allocations: 76 kB / 0.9843 GB, free: 133.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01081/1.316, allocations: 6.04 MB / 0.9902 GB, free: 128.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/1.317, allocations: 377.4 kB / 0.9905 GB, free: 128.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008848/1.326, allocations: 4.101 MB / 0.9946 GB, free: 124.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/1.329, allocations: 12.23 MB / 1.006 GB, free: 111.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008882/1.338, allocations: 1.377 MB / 1.008 GB, free: 110.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002752/1.341, allocations: 0.8675 MB / 1.009 GB, free: 109.6 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.004456/1.345, allocations: 1.203 MB / 1.01 GB, free: 108.5 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003926/1.349, allocations: 1.179 MB / 1.011 GB, free: 107.4 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.02344/1.372, allocations: 21.06 MB / 1.032 GB, free: 88.87 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.226399469189346]