Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.Diffusion.conf.json 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.0009103/0.0009103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002147, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008549/0.0008549, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001987, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9673/0.9673, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09297/1.06, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1029/0.1029, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01143/0.1143, allocations: 6.937 MB / 268.3 MB, free: 6.512 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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) Running command: translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.Diffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 269.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.706e-05, allocations: 2.312 kB / 269.5 MB, free: 5.242 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.Diffusion): time 0.1649/0.165, allocations: 39.18 MB / 308.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.1955, allocations: 17.26 MB / 326 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009393/0.2049, allocations: 123.5 kB / 326.1 MB, free: 10 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00737/0.2123, allocations: 2.66 MB / 328.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.2235, allocations: 3.651 MB / 332.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007279/0.2308, allocations: 2.905 MB / 335.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0142/0.245, allocations: 11.31 MB / 346.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.2487, allocations: 2.479 MB / 349.1 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/0.261, allocations: 7.41 MB / 356.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006842/0.2678, allocations: 3.958 MB / 360.5 MB, free: 7.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002993/0.2708, allocations: 1.219 MB / 361.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006552/0.2774, allocations: 2.361 MB / 364.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003108/0.2805, allocations: 3.018 MB / 367.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007577/0.2881, allocations: 3.402 MB / 370.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.3035, allocations: 10.89 MB / 381.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-05/0.3035, allocations: 0 / 381.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3035, allocations: 0 / 381.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000512/0.304, allocations: 0 / 381.4 MB, free: 2.352 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.01547/0.3195, allocations: 14.74 MB / 396.1 MB, free: 3.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3195, allocations: 12.03 kB / 396.1 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/0.3257, allocations: 5.219 MB / 401.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.3307, allocations: 3.29 MB / 404.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/0.332, allocations: 1.997 MB / 406.6 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.333, allocations: 1.137 MB / 407.8 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.3479, allocations: 14.19 MB / 422 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.3481, allocations: 3.938 kB / 422 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005595/0.3486, allocations: 467.9 kB / 422.4 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00122/0.3498, allocations: 1.843 MB / 424.3 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1769/0.5267, allocations: 16.4 MB / 440.7 MB, free: 83.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06292/0.5896, allocations: 48.83 MB / 489.5 MB, free: 56.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006719/0.5963, allocations: 3.131 MB / 492.6 MB, free: 53.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004071/0.6004, allocations: 1.389 MB / 494 MB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.6016, allocations: 0.7528 MB / 494.8 MB, free: 51.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.6017, allocations: 99.33 kB / 494.9 MB, free: 51.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=533): time 7.624e-06/0.6017, allocations: 0 / 494.9 MB, free: 51.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=755): time 0.138/0.7397, allocations: 41.07 MB / 0.5234 GB, free: 10.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02873/0.7684, allocations: 24.14 MB / 0.5469 GB, free: 1.793 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.7714, allocations: 2.966 MB / 0.5498 GB, free: 15.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002127/0.7735, allocations: 145.7 kB / 0.55 GB, free: 15.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.7754, allocations: 4.597 MB / 0.5545 GB, free: 10.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003622/0.779, allocations: 2.636 MB / 0.557 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00563/0.7846, allocations: 1.798 MB / 0.5588 GB, free: 6.703 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.7847, allocations: 301.1 kB / 0.5591 GB, free: 6.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006593/0.7913, allocations: 2.667 MB / 0.5617 GB, free: 3.738 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007618/0.7989, allocations: 3.744 MB / 0.5653 GB, free: 15.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01795/0.8169, allocations: 10.25 MB / 0.5753 GB, free: 5.449 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-05/0.8169, allocations: 7.188 kB / 0.5754 GB, free: 5.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02715/0.8441, allocations: 9.819 MB / 0.5849 GB, free: 11.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.8441, allocations: 12 kB / 0.585 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/0.8442, allocations: 28 kB / 0.585 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02319/0.8673, allocations: 10.31 MB / 0.595 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1792/1.047, allocations: 4.969 MB / 0.5999 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/1.072, allocations: 35.64 MB / 0.6347 GB, free: 98.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/1.079, allocations: 309.1 kB / 0.635 GB, free: 98.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003262/1.082, allocations: 1.608 MB / 0.6366 GB, free: 98.13 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: d2.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d3.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d4.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d5.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 746 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (4,3,62.5%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(6,20), (4,3), (3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.005303/1.088, allocations: 0.5137 MB / 0.6371 GB, free: 98.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002471/1.09, allocations: 0.5934 MB / 0.6376 GB, free: 98.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/1.116, allocations: 15.63 MB / 0.6529 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01235/1.128, allocations: 5.733 MB / 0.6585 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.931e-05/1.128, allocations: 9.391 kB / 0.6585 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/1.128, allocations: 38.86 kB / 0.6586 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0388/1.167, allocations: 23.49 MB / 0.6815 GB, free: 81.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.167, allocations: 32 kB / 0.6815 GB, free: 81.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007799/1.175, allocations: 2.536 MB / 0.684 GB, free: 79.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.177, allocations: 0.6603 MB / 0.6846 GB, free: 78.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02027/1.197, allocations: 7.01 MB / 0.6915 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001781/1.199, allocations: 251.8 kB / 0.6917 GB, free: 71.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/1.221, allocations: 36.31 MB / 0.7272 GB, free: 33.79 MB / 474.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006265/1.227, allocations: 10.05 MB / 0.737 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/1.247, allocations: 10.71 MB / 0.7475 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/1.249, allocations: 187.6 kB / 0.7476 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/1.252, allocations: 227.9 kB / 0.7479 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/1.254, allocations: 0.7651 MB / 0.7486 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005385/1.254, allocations: 411.8 kB / 0.749 GB, free: 10.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00225/1.256, allocations: 2.513 MB / 0.7515 GB, free: 7.938 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.256, allocations: 0 / 0.7515 GB, free: 7.938 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01135/1.268, allocations: 3.983 MB / 0.7553 GB, free: 3.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * Number of states: 19 ($STATESET8.x[3],$STATESET8.x[2],$STATESET8.x[1],d5.rear.n_flow,$STATESET7.x,$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],d4.rear.n_flow,$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],d3.rear.n_flow,$STATESET4.x,$STATESET3.x,d1.rear.n_flow,$STATESET2.x,$STATESET1.x,d2.rear.n_flow) * Number of discrete variables: 11 ($cse169,$cse163,$cse148,$cse143,$cse136,$cse127,$cse121,$cse110,$cse103,$cse93,$cse87) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (581): * Single equations (assignments): 556 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(4,20), (9,10), (3,3), (3,9), (8,10), (4,20), (9,10), (3,3), (3,3), (3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/1.269, allocations: 0.6156 MB / 0.7559 GB, free: 3.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01464/1.284, allocations: 8.603 MB / 0.7643 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002837/1.284, allocations: 98.86 kB / 0.7644 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00888/1.293, allocations: 6.037 MB / 0.7703 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008169/1.301, allocations: 2.533 MB / 0.7728 GB, free: 2.406 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.8333896826952696]