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.0118/0.0118, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.001047/0.001047, allocations: 84.25 kB / 25.62 MB, free: 6.992 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.0009793/0.0009793, allocations: 166 kB / 29.46 MB, free: 3.191 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.8995/0.8995, allocations: 177.2 MB / 210.3 MB, free: 3.582 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.5772/0.5772, allocations: 102.5 MB / 369.8 MB, free: 404 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 1.593e-06/1.593e-06, allocations: 0 / 469.9 MB, free: 19.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.011e-05, allocations: 2.969 kB / 469.9 MB, free: 19.05 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.1412/0.1412, allocations: 83.19 MB / 0.5402 GB, free: 5.012 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.1731, allocations: 28.85 MB / 0.5683 GB, free: 8.09 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004343/0.1774, allocations: 190.6 kB / 0.5685 GB, free: 7.902 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.004353/0.1818, allocations: 3.06 MB / 0.5715 GB, free: 4.824 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00742/0.1892, allocations: 5.668 MB / 0.577 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.008583/0.1978, allocations: 7.359 MB / 0.5842 GB, free: 7.75 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.015/0.2128, allocations: 18.29 MB / 0.6021 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.2142, allocations: 0.5787 MB / 0.6027 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.2251, allocations: 9.441 MB / 0.6119 GB, free: 11.33 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007444/0.2326, allocations: 6.634 MB / 0.6184 GB, free: 4.68 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.2349, allocations: 1.273 MB / 0.6196 GB, free: 3.406 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/0.2525, allocations: 7.452 MB / 0.6269 GB, free: 13.39 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003031/0.2555, allocations: 4.502 MB / 0.6313 GB, free: 8.879 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004965/0.2604, allocations: 4.224 MB / 0.6354 GB, free: 4.645 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.213/0.4734, allocations: 11.62 MB / 0.6467 GB, free: 59.12 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4734, allocations: 0.5625 kB / 0.6467 GB, free: 59.12 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4734, allocations: 0.75 kB / 0.6467 GB, free: 59.12 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000448/0.4739, allocations: 0 / 0.6467 GB, free: 59.12 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.01476/0.4886, allocations: 12.82 MB / 0.6593 GB, free: 54.19 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4887, allocations: 11.34 kB / 0.6593 GB, free: 54.19 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.4915, allocations: 2.029 MB / 0.6613 GB, free: 53.45 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007403/0.4989, allocations: 7.522 MB / 0.6686 GB, free: 51.98 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.4992, allocations: 0.5298 MB / 0.6691 GB, free: 51.97 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006857/0.4999, allocations: 0.6425 MB / 0.6697 GB, free: 51.96 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.52, allocations: 16.01 MB / 0.6854 GB, free: 43.81 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.5201, allocations: 103.2 kB / 0.6855 GB, free: 43.81 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006519/0.5208, allocations: 333.7 kB / 0.6858 GB, free: 43.81 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/0.522, allocations: 1.42 MB / 0.6872 GB, free: 43.79 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.5395, allocations: 8.542 MB / 0.6955 GB, free: 43.41 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04943/0.5889, allocations: 109 MB / 0.8019 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.6039, allocations: 7.765 MB / 0.8095 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.6069, allocations: 2.046 MB / 0.8115 GB, free: 4.281 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/0.6074, allocations: 352.3 kB / 0.8118 GB, free: 4.168 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.91e-05/0.6075, allocations: 144.9 kB / 0.812 GB, free: 4.062 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 8.926e-06/0.6075, allocations: 0 / 0.812 GB, free: 4.062 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.02985/0.6373, allocations: 14.04 MB / 0.8257 GB, free: 9.848 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/0.6376, allocations: 1.07 MB / 0.8267 GB, free: 8.547 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007487/0.6451, allocations: 6.496 MB / 0.8331 GB, free: 2.039 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0006783/0.6458, allocations: 129.7 kB / 0.8332 GB, free: 1.906 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/0.6484, allocations: 4.935 MB / 0.838 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003408/0.6518, allocations: 4.762 MB / 0.8427 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003513/0.6553, allocations: 3.257 MB / 0.8459 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.6554, allocations: 476.8 kB / 0.8463 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00457/0.66, allocations: 2.272 MB / 0.8485 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007606/0.6676, allocations: 9.532 MB / 0.8578 GB, free: 5.645 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/0.6809, allocations: 13.03 MB / 0.8706 GB, free: 6.359 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.593e-05/0.681, allocations: 50.16 kB / 0.8706 GB, free: 6.316 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.2148/0.8958, allocations: 12.54 MB / 0.8829 GB, free: 229.9 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.8959, allocations: 80.78 kB / 0.8829 GB, free: 229.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01473/0.9106, allocations: 7.62 MB / 0.8904 GB, free: 229.6 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009423/0.9201, allocations: 2.86 MB / 0.8932 GB, free: 229.5 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008172/0.9282, allocations: 3.944 MB / 0.897 GB, free: 229.4 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.9353, allocations: 18.46 MB / 0.915 GB, free: 212.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006712/0.942, allocations: 1.694 MB / 0.9167 GB, free: 212.6 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/0.9435, allocations: 1.004 MB / 0.9177 GB, free: 212.6 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007081/0.9505, allocations: 2.497 MB / 0.9201 GB, free: 212.4 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006806/0.9573, allocations: 9.518 MB / 0.9294 GB, free: 203.4 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01168/0.969, allocations: 12.96 MB / 0.9421 GB, free: 193.7 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.989e-05/0.9691, allocations: 53.69 kB / 0.9421 GB, free: 193.7 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.01766/0.9868, allocations: 11.8 MB / 0.9536 GB, free: 190.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.9868, allocations: 76 kB / 0.9537 GB, free: 190.7 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009647/0.9965, allocations: 6.71 MB / 0.9603 GB, free: 184 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.997, allocations: 374.8 kB / 0.9606 GB, free: 183.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007148/1.004, allocations: 4.174 MB / 0.9647 GB, free: 179.5 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/1.007, allocations: 12.45 MB / 0.9769 GB, free: 166.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005664/1.013, allocations: 1.4 MB / 0.9782 GB, free: 165.2 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009222/1.014, allocations: 0.9915 MB / 0.9792 GB, free: 164.2 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.002925/1.017, allocations: 1.198 MB / 0.9804 GB, free: 163 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/1.019, allocations: 1.181 MB / 0.9815 GB, free: 161.8 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.01855/1.038, allocations: 20.89 MB / 1.002 GB, free: 141.3 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.500174749875441]