Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestHEXdisplay.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.01352/0.01352, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007981/0.0007981, allocations: 87.69 kB / 25.62 MB, free: 6.535 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.0008338/0.0008338, allocations: 165.8 kB / 29.46 MB, free: 3.035 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.9026/0.9026, allocations: 177.2 MB / 210.3 MB, free: 1.746 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.718/0.718, allocations: 102.4 MB / 369.8 MB, free: 0.9297 MB / 330.8 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.Visualisation.Check.TestHEXdisplay,tolerance=1e-06,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.Visualisation.Check.TestHEXdisplay") translateModel(ClaRa.Visualisation.Check.TestHEXdisplay,tolerance=1e-06,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.Visualisation.Check.TestHEXdisplay") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 469.8 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.541e-05, allocations: 6.25 kB / 469.9 MB, free: 12.98 MB / 442.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.Visualisation.Check.TestHEXdisplay): time 0.3052/0.3053, allocations: 82.81 MB / 0.5397 GB, free: 64 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03089/0.3361, allocations: 28.84 MB / 0.5679 GB, free: 43.94 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005199/0.3413, allocations: 188.1 kB / 0.5681 GB, free: 43.85 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.005042/0.3464, allocations: 3.056 MB / 0.571 GB, free: 42.39 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009327/0.3557, allocations: 5.677 MB / 0.5766 GB, free: 38.82 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.3667, allocations: 7.349 MB / 0.5838 GB, free: 33.33 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01478/0.3814, allocations: 18.29 MB / 0.6016 GB, free: 19.2 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.3827, allocations: 0.5787 MB / 0.6022 GB, free: 18.59 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009548/0.3923, allocations: 9.441 MB / 0.6114 GB, free: 9.129 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/0.3979, allocations: 6.636 MB / 0.6179 GB, free: 2.48 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.3992, allocations: 1.273 MB / 0.6191 GB, free: 1.207 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01758/0.4168, allocations: 7.445 MB / 0.6264 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.002832/0.4196, allocations: 4.506 MB / 0.6308 GB, free: 7.09 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.004708/0.4243, allocations: 4.224 MB / 0.6349 GB, free: 2.855 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.4358, allocations: 11.62 MB / 0.6463 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4358, allocations: 6.656 kB / 0.6463 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4358, allocations: 0 / 0.6463 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004293/0.4362, allocations: 0 / 0.6463 GB, free: 7.199 MB / 0.5105 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.01687/0.4531, allocations: 12.82 MB / 0.6588 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4531, allocations: 8.031 kB / 0.6588 GB, free: 10.31 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.4563, allocations: 2.033 MB / 0.6608 GB, free: 8.27 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008731/0.465, allocations: 7.536 MB / 0.6681 GB, free: 0.6562 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.4653, allocations: 0.5301 MB / 0.6687 GB, free: 132 kB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007592/0.4661, allocations: 0.6487 MB / 0.6693 GB, free: 15.48 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.4866, allocations: 16 MB / 0.6849 GB, free: 12.65 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.4867, allocations: 106.9 kB / 0.685 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006083/0.4874, allocations: 331.9 kB / 0.6853 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/0.4884, allocations: 1.413 MB / 0.6867 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5058, allocations: 8.554 MB / 0.6951 GB, free: 2.273 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2642/0.77, allocations: 108.9 MB / 0.8015 GB, free: 92.29 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0203/0.7903, allocations: 7.758 MB / 0.809 GB, free: 90.78 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003887/0.7942, allocations: 2.038 MB / 0.811 GB, free: 90.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/0.7949, allocations: 358 kB / 0.8114 GB, free: 90.27 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.429e-05/0.7949, allocations: 145.7 kB / 0.8115 GB, free: 90.21 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1361): time 1.293e-05/0.795, allocations: 1.172 kB / 0.8115 GB, free: 90.21 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1361): time 0.03384/0.8288, allocations: 14.05 MB / 0.8252 GB, free: 89.83 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/0.829, allocations: 1.068 MB / 0.8263 GB, free: 88.61 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006605/0.8356, allocations: 6.503 MB / 0.8326 GB, free: 86.75 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/0.8366, allocations: 129.2 kB / 0.8327 GB, free: 86.64 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002/0.8386, allocations: 4.938 MB / 0.8376 GB, free: 83.33 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002715/0.8413, allocations: 4.755 MB / 0.8422 GB, free: 79.91 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00288/0.8442, allocations: 3.251 MB / 0.8454 GB, free: 78.62 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.8443, allocations: 485.2 kB / 0.8458 GB, free: 78.15 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/0.8482, allocations: 2.27 MB / 0.8481 GB, free: 77.81 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006078/0.8543, allocations: 9.53 MB / 0.8574 GB, free: 67.57 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.866, allocations: 13.02 MB / 0.8701 GB, free: 51.92 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.333e-05/0.866, allocations: 51.94 kB / 0.8701 GB, free: 51.87 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2086) (initialization): time 0.01873/0.8848, allocations: 12.55 MB / 0.8824 GB, free: 39.39 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.8848, allocations: 78.66 kB / 0.8825 GB, free: 39.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01271/0.8975, allocations: 7.623 MB / 0.8899 GB, free: 31.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008649/0.9062, allocations: 2.862 MB / 0.8927 GB, free: 28.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006711/0.9129, allocations: 3.944 MB / 0.8966 GB, free: 24.96 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.9188, allocations: 18.46 MB / 0.9146 GB, free: 5.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005424/0.9242, allocations: 1.696 MB / 0.9162 GB, free: 3.859 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009366/0.9251, allocations: 1.006 MB / 0.9172 GB, free: 2.855 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005932/0.9311, allocations: 2.5 MB / 0.9197 GB, free: 352 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007601/0.9387, allocations: 9.504 MB / 0.929 GB, free: 3.668 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01379/0.9525, allocations: 12.98 MB / 0.9416 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.612e-05/0.9525, allocations: 48 kB / 0.9417 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2086) (initialization_lambda0): time 0.01818/0.9707, allocations: 11.8 MB / 0.9532 GB, free: 7.945 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.9708, allocations: 76 kB / 0.9533 GB, free: 7.871 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01076/0.9815, allocations: 6.717 MB / 0.9598 GB, free: 1.148 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.982, allocations: 378.8 kB / 0.9602 GB, free: 0.7773 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008138/0.9902, allocations: 4.177 MB / 0.9643 GB, free: 12.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.9955, allocations: 12.44 MB / 0.9764 GB, free: 15.4 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006435/1.002, allocations: 1.398 MB / 0.9778 GB, free: 14 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.003, allocations: 0.9954 MB / 0.9787 GB, free: 13 MB / 0.6824 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.003351/1.007, allocations: 1.212 MB / 0.9799 GB, free: 11.78 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003266/1.01, allocations: 1.177 MB / 0.9811 GB, free: 10.6 MB / 0.6824 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.2294/1.239, allocations: 20.88 MB / 1.001 GB, free: 226 MB / 0.6824 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.715427746064961]