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.008823/0.008823, 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.0009222/0.0009222, allocations: 80.31 kB / 26.19 MB, free: 6.078 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.001554/0.001554, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.9563/0.9563, allocations: 177.2 MB / 211.1 MB, free: 3.457 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.6404/0.6404, allocations: 102.4 MB / 370.6 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 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.302e-06/1.302e-06, allocations: 0 / 471.3 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.747e-05, allocations: 4.531 kB / 471.3 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.1323/0.1323, allocations: 82.11 MB / 0.5404 GB, free: 5.418 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03367/0.166, allocations: 28.8 MB / 0.5685 GB, free: 8.543 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006351/0.1723, allocations: 194.5 kB / 0.5687 GB, free: 8.352 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.005432/0.1778, allocations: 3.048 MB / 0.5717 GB, free: 5.285 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.1879, allocations: 5.719 MB / 0.5773 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.009823/0.1977, allocations: 7.358 MB / 0.5845 GB, free: 8.16 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0179/0.2156, allocations: 18.28 MB / 0.6023 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.2173, allocations: 0.5787 MB / 0.6029 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3385/0.5558, allocations: 55.13 MB / 0.6567 GB, free: 61.07 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.5669, allocations: 6.417 MB / 0.663 GB, free: 61.07 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00307/0.57, allocations: 1.181 MB / 0.6641 GB, free: 61.07 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/0.5893, allocations: 7.303 MB / 0.6713 GB, free: 57.91 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.5931, allocations: 4.316 MB / 0.6755 GB, free: 57.91 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007143/0.6002, allocations: 4.063 MB / 0.6794 GB, free: 57.82 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.6154, allocations: 11.36 MB / 0.6905 GB, free: 56.12 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6154, allocations: 3.469 kB / 0.6905 GB, free: 56.12 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6154, allocations: 0 / 0.6905 GB, free: 56.12 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004765/0.6159, allocations: 0 / 0.6905 GB, free: 56.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.02053/0.6364, allocations: 12.54 MB / 0.7028 GB, free: 50.41 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6365, allocations: 12.31 kB / 0.7028 GB, free: 50.41 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.6391, allocations: 1.73 MB / 0.7045 GB, free: 49.67 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007481/0.6466, allocations: 6.541 MB / 0.7109 GB, free: 47.26 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.6469, allocations: 0.5314 MB / 0.7114 GB, free: 47.21 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008051/0.6477, allocations: 0.6545 MB / 0.712 GB, free: 47 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.6656, allocations: 15.28 MB / 0.727 GB, free: 35.31 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.6657, allocations: 106 kB / 0.7271 GB, free: 35.31 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006552/0.6664, allocations: 326.8 kB / 0.7274 GB, free: 35.13 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008782/0.6672, allocations: 1.42 MB / 0.7288 GB, free: 34.66 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.6815, allocations: 7.62 MB / 0.7362 GB, free: 32.37 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05756/0.7391, allocations: 107.2 MB / 0.8408 GB, free: 5.738 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/0.7546, allocations: 7.295 MB / 0.848 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.7579, allocations: 1.723 MB / 0.8497 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.7585, allocations: 355.4 kB / 0.85 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.339e-05/0.7586, allocations: 147.3 kB / 0.8501 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1361): time 9.118e-06/0.7586, allocations: 0 / 0.8501 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1361): time 0.02857/0.7872, allocations: 13.07 MB / 0.8629 GB, free: 14.79 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003974/0.7876, allocations: 1.072 MB / 0.8639 GB, free: 13.48 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/0.7944, allocations: 6.331 MB / 0.8701 GB, free: 8.242 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/0.7955, allocations: 129.7 kB / 0.8702 GB, free: 8.109 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002997/0.7984, allocations: 4.986 MB / 0.8751 GB, free: 3.398 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.2015/0.9999, allocations: 4.797 MB / 0.8798 GB, free: 204.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004706/1.005, allocations: 3.317 MB / 0.883 GB, free: 204.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/1.005, allocations: 479.6 kB / 0.8835 GB, free: 203.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/1.008, allocations: 1.824 MB / 0.8853 GB, free: 203.6 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005371/1.013, allocations: 9.162 MB / 0.8942 GB, free: 194.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.023, allocations: 12.34 MB / 0.9063 GB, free: 185.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.18e-05/1.024, allocations: 47.31 kB / 0.9063 GB, free: 185.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.02073/1.044, allocations: 11.53 MB / 0.9176 GB, free: 184.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.044, allocations: 74.41 kB / 0.9177 GB, free: 184.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01349/1.058, allocations: 6.889 MB / 0.9244 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008858/1.067, allocations: 2.816 MB / 0.9271 GB, free: 183.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008753/1.076, allocations: 3.864 MB / 0.9309 GB, free: 183.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006794/1.082, allocations: 18.11 MB / 0.9486 GB, free: 166.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009358/1.092, allocations: 1.68 MB / 0.9502 GB, free: 166 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/1.094, allocations: 0.874 MB / 0.9511 GB, free: 166 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0064/1.1, allocations: 2.068 MB / 0.9531 GB, free: 165.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005209/1.105, allocations: 9.147 MB / 0.962 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009992/1.115, allocations: 12.29 MB / 0.974 GB, free: 143.7 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001097/1.115, allocations: 44 kB / 0.9741 GB, free: 143.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.01682/1.132, allocations: 10.84 MB / 0.9847 GB, free: 134 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/1.132, allocations: 76 kB / 0.9847 GB, free: 133.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008024/1.14, allocations: 6.03 MB / 0.9906 GB, free: 128.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/1.141, allocations: 374.2 kB / 0.991 GB, free: 128.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007237/1.148, allocations: 4.097 MB / 0.995 GB, free: 124.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/1.151, allocations: 12.24 MB / 1.007 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007039/1.158, allocations: 1.382 MB / 1.008 GB, free: 110.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.159, allocations: 0.8695 MB / 1.009 GB, free: 109.9 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.003119/1.162, allocations: 1.204 MB / 1.01 GB, free: 108.8 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003307/1.166, allocations: 1.169 MB / 1.011 GB, free: 107.7 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.01807/1.184, allocations: 21.06 MB / 1.032 GB, free: 89.24 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.06118504004553]