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.009047/0.009047, 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.0008601/0.0008601, allocations: 81.5 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.0009189/0.0009189, allocations: 162.7 kB / 29.34 MB, free: 3.133 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.9506/0.9506, allocations: 177.1 MB / 210.3 MB, free: 3.445 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.6765/0.6765, allocations: 102.5 MB / 369.9 MB, free: 232 kB / 330.7 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 2.385e-06/2.385e-06, allocations: 0 / 470.5 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.66e-05, allocations: 5.234 kB / 470.5 MB, free: 18.8 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.141/0.1411, allocations: 82.11 MB / 0.5397 GB, free: 5.402 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04521/0.1863, allocations: 28.8 MB / 0.5678 GB, free: 8.523 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007831/0.1941, allocations: 186.6 kB / 0.568 GB, free: 8.34 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.008769/0.2029, allocations: 3.067 MB / 0.571 GB, free: 5.258 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01616/0.219, allocations: 5.715 MB / 0.5765 GB, free: 15.51 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.235, allocations: 7.363 MB / 0.5837 GB, free: 8.133 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0235/0.2585, allocations: 18.25 MB / 0.6016 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.2611, allocations: 0.5786 MB / 0.6021 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3982/0.6592, allocations: 55.14 MB / 0.656 GB, free: 61 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.672, allocations: 6.409 MB / 0.6622 GB, free: 61 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.005024/0.677, allocations: 1.185 MB / 0.6634 GB, free: 61 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/0.6987, allocations: 7.295 MB / 0.6705 GB, free: 57.84 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.007608/0.7063, allocations: 4.316 MB / 0.6747 GB, free: 57.84 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.01535/0.7217, allocations: 4.063 MB / 0.6787 GB, free: 57.76 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.02547/0.7472, allocations: 11.36 MB / 0.6898 GB, free: 56.06 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.7472, allocations: 3.094 kB / 0.6898 GB, free: 56.06 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7472, allocations: 0 / 0.6898 GB, free: 56.06 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0008153/0.748, allocations: 3.438 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.04049/0.7885, allocations: 12.53 MB / 0.702 GB, free: 50.36 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 7.421e-05/0.7885, allocations: 12.59 kB / 0.7021 GB, free: 50.36 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.7998, allocations: 1.733 MB / 0.7037 GB, free: 49.61 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.8136, allocations: 6.548 MB / 0.7101 GB, free: 47.2 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007048/0.8143, allocations: 0.5248 MB / 0.7107 GB, free: 47.17 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/0.818, allocations: 0.65 MB / 0.7113 GB, free: 46.98 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03165/0.8497, allocations: 15.29 MB / 0.7262 GB, free: 35.27 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004225/0.8501, allocations: 103.3 kB / 0.7263 GB, free: 35.27 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003418/0.8535, allocations: 328.8 kB / 0.7266 GB, free: 35.09 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001302/0.8548, allocations: 1.422 MB / 0.728 GB, free: 34.62 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.8761, allocations: 7.617 MB / 0.7355 GB, free: 32.33 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0902/0.9663, allocations: 107.2 MB / 0.8401 GB, free: 5.715 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/0.9839, allocations: 7.298 MB / 0.8472 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004603/0.9885, allocations: 1.72 MB / 0.8489 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.9895, allocations: 0.5956 MB / 0.8495 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.9897, allocations: 143.5 kB / 0.8496 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1361): time 1.048e-05/0.9897, allocations: 3.094 kB / 0.8496 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1361): time 0.04403/1.034, allocations: 13.07 MB / 0.8624 GB, free: 14.59 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004138/1.034, allocations: 1.068 MB / 0.8634 GB, free: 13.29 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.044, allocations: 6.335 MB / 0.8696 GB, free: 8.047 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002912/1.047, allocations: 132.4 kB / 0.8697 GB, free: 7.914 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003975/1.051, allocations: 4.987 MB / 0.8746 GB, free: 3.203 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.2747/1.326, allocations: 4.795 MB / 0.8793 GB, free: 204.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01083/1.337, allocations: 3.323 MB / 0.8825 GB, free: 204.4 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/1.337, allocations: 478.7 kB / 0.883 GB, free: 203.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006055/1.343, allocations: 1.823 MB / 0.8848 GB, free: 203.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/1.354, allocations: 9.167 MB / 0.8937 GB, free: 194.8 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/1.371, allocations: 12.33 MB / 0.9058 GB, free: 185.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003591/1.372, allocations: 48.28 kB / 0.9058 GB, free: 185.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.03389/1.405, allocations: 11.55 MB / 0.9171 GB, free: 184.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.406, allocations: 74.78 kB / 0.9172 GB, free: 184.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02378/1.429, allocations: 6.914 MB / 0.9239 GB, free: 183.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009324/1.439, allocations: 2.804 MB / 0.9267 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009791/1.449, allocations: 3.874 MB / 0.9304 GB, free: 183.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/1.457, allocations: 18.12 MB / 0.9481 GB, free: 166.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/1.469, allocations: 1.681 MB / 0.9498 GB, free: 166.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003703/1.472, allocations: 0.8755 MB / 0.9506 GB, free: 166.1 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01285/1.485, allocations: 2.062 MB / 0.9526 GB, free: 165.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009515/1.495, allocations: 9.155 MB / 0.9616 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01525/1.51, allocations: 12.28 MB / 0.9736 GB, free: 143.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002905/1.51, 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.02663/1.537, allocations: 10.85 MB / 0.9842 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.537, allocations: 84.98 kB / 0.9843 GB, free: 133.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01421/1.551, allocations: 6.03 MB / 0.9902 GB, free: 128.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007186/1.552, allocations: 371.1 kB / 0.9905 GB, free: 128.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/1.562, allocations: 4.104 MB / 0.9945 GB, free: 124.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/1.566, allocations: 12.25 MB / 1.007 GB, free: 111.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/1.577, allocations: 1.374 MB / 1.008 GB, free: 110.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003199/1.58, allocations: 0.8709 MB / 1.009 GB, free: 109.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.004966/1.585, allocations: 1.203 MB / 1.01 GB, free: 108.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004199/1.589, allocations: 1.175 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.02935/1.619, allocations: 21.07 MB / 1.032 GB, free: 88.95 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.828645884990692]