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.0006647/0.0006647, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009206/0.001585, allocations: 455.9 kB / 10.43 MB, free: 260 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.0006927/0.0006927, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.00163, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 1.065/1.065, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08149/1.147, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.1096/0.1096, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01425/0.1238, allocations: 6.936 MB / 268.4 MB, free: 6.414 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.202e-06/1.202e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.026e-05, allocations: 6.312 kB / 269.7 MB, free: 5.113 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.1601/0.1601, allocations: 39.19 MB / 308.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.029/0.1891, allocations: 17.26 MB / 326.2 MB, free: 9.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007733/0.1969, allocations: 127.4 kB / 326.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005274/0.2021, allocations: 2.656 MB / 329 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008356/0.2105, allocations: 3.655 MB / 332.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005014/0.2155, allocations: 2.913 MB / 335.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.2266, allocations: 11.31 MB / 346.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/0.2298, allocations: 2.479 MB / 349.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008306/0.2381, allocations: 7.406 MB / 356.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005104/0.2432, allocations: 3.985 MB / 360.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00219/0.2453, allocations: 1.219 MB / 361.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004074/0.2494, allocations: 2.373 MB / 364.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.2511, allocations: 3.018 MB / 367.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003169/0.2543, allocations: 3.406 MB / 370.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009236/0.2636, allocations: 10.82 MB / 381.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.649e-05/0.2636, allocations: 3.984 kB / 381.6 MB, free: 2.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2636, allocations: 0 / 381.6 MB, free: 2.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.2637, allocations: 0 / 381.6 MB, free: 2.215 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.01218/0.2759, allocations: 14.74 MB / 396.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2759, allocations: 8.031 kB / 396.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005887/0.2818, allocations: 5.223 MB / 401.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.2862, allocations: 3.286 MB / 404.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001084/0.2873, allocations: 1.997 MB / 406.8 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008234/0.2881, allocations: 1.137 MB / 407.9 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.3001, allocations: 14.2 MB / 422.1 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.3003, allocations: 3.984 kB / 422.2 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004873/0.3008, allocations: 463.9 kB / 422.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.3019, allocations: 1.761 MB / 424.4 MB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1779/0.4799, allocations: 16.4 MB / 440.8 MB, free: 83.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0594/0.5393, allocations: 48.83 MB / 489.6 MB, free: 56.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.5447, allocations: 3.132 MB / 492.7 MB, free: 53.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.5475, allocations: 1.396 MB / 494.1 MB, free: 52.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.5486, allocations: 0.7567 MB / 494.9 MB, free: 51.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.5486, allocations: 95.78 kB / 495 MB, free: 51.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=533): time 8.265e-06/0.5486, allocations: 7.188 kB / 495 MB, free: 51.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=707): time 0.1377/0.6863, allocations: 42.75 MB / 0.5251 GB, free: 9.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02981/0.7161, allocations: 24.2 MB / 0.5488 GB, free: 492 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.719, allocations: 2.961 MB / 0.5516 GB, free: 14.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001765/0.7207, allocations: 137.7 kB / 0.5518 GB, free: 13.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.7226, allocations: 4.596 MB / 0.5563 GB, free: 9.523 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002245/0.7249, allocations: 2.483 MB / 0.5587 GB, free: 7.191 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003583/0.7285, allocations: 1.695 MB / 0.5603 GB, free: 5.641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.7285, allocations: 301.1 kB / 0.5606 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005141/0.7337, allocations: 2.088 MB / 0.5627 GB, free: 3.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005466/0.7391, allocations: 3.132 MB / 0.5657 GB, free: 15.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/0.7533, allocations: 8.428 MB / 0.574 GB, free: 7.363 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.7533, allocations: 7.938 kB / 0.574 GB, free: 7.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=862) (initialization): time 0.02382/0.7772, allocations: 8.954 MB / 0.5827 GB, free: 14.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.7772, allocations: 16 kB / 0.5827 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/0.7772, allocations: 31.94 kB / 0.5828 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/0.801, allocations: 10.65 MB / 0.5932 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1611/0.9621, allocations: 4.595 MB / 0.5976 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/0.9964, allocations: 35.91 MB / 0.6327 GB, free: 96.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006675/1.003, allocations: 293.2 kB / 0.633 GB, free: 96.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/1.005, allocations: 1.563 MB / 0.6345 GB, free: 96.99 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 (730): * Single equations (assignments): 698 * 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%), (3,4,77.8%), (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%), (3,4,77.8%), (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.004227/1.01, allocations: 0.4943 MB / 0.635 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002462/1.012, allocations: 0.5632 MB / 0.6355 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02815/1.04, allocations: 15.49 MB / 0.6507 GB, free: 95.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01375/1.054, allocations: 5.114 MB / 0.6557 GB, free: 95.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-05/1.054, allocations: 10.78 kB / 0.6557 GB, free: 95.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/1.054, allocations: 39.61 kB / 0.6557 GB, free: 95.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03702/1.091, allocations: 22.78 MB / 0.678 GB, free: 86.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/1.091, allocations: 28.22 kB / 0.678 GB, free: 86.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007414/1.098, allocations: 2.374 MB / 0.6803 GB, free: 83.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.1, allocations: 0.6389 MB / 0.6809 GB, free: 83.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02103/1.121, allocations: 7.601 MB / 0.6883 GB, free: 75.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007892/1.122, allocations: 243.8 kB / 0.6886 GB, free: 75.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02619/1.148, allocations: 36.81 MB / 0.7245 GB, free: 37.24 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! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01018/1.158, allocations: 13.32 MB / 0.7375 GB, free: 23.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02379/1.182, allocations: 10.89 MB / 0.7482 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.183, allocations: 175.4 kB / 0.7483 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003326/1.187, allocations: 219.9 kB / 0.7485 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/1.188, allocations: 0.7282 MB / 0.7493 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005644/1.189, allocations: 399.7 kB / 0.7496 GB, free: 10.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002864/1.192, allocations: 2.603 MB / 0.7522 GB, free: 7.879 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.192, allocations: 0 / 0.7522 GB, free: 7.879 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009373/1.201, allocations: 3.882 MB / 0.756 GB, free: 4.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 127 * 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 ($cse160,$cse154,$cse142,$cse137,$cse130,$cse123,$cse117,$cse108,$cse101,$cse93,$cse87) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (533): * Single equations (assignments): 508 * 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%), (3,4,77.8%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,4,100.0%), (3,4,77.8%), (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.000944/1.202, allocations: 0.5808 MB / 0.7565 GB, free: 3.586 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01577/1.218, allocations: 8.238 MB / 0.7646 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000131/1.218, allocations: 90.42 kB / 0.7647 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01289/1.231, allocations: 7.097 MB / 0.7716 GB, free: 4.195 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1454/1.376, allocations: 10.78 MB / 0.7821 GB, free: 123.5 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.979469954967499]