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.001416/0.001416, allocations: 109.6 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001619/0.001619, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] 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.1449/0.1449, allocations: 23.84 MB / 332.7 MB, free: 12.33 MB / 270.1 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: Chemical 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: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.91 kB / 466.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 59.82 MB / 0.5139 GB, free: 9.176 MB / 382.1 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.08066/0.4566, allocations: 61.38 MB / 0.5739 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03997/0.4966, allocations: 16.87 MB / 0.5904 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.5085, allocations: 123.4 kB / 0.5905 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.5186, allocations: 2.641 MB / 0.5931 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.5348, allocations: 3.529 MB / 0.5965 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.5452, allocations: 2.883 MB / 0.5993 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02174/0.567, allocations: 10.88 MB / 0.6099 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005357/0.5723, allocations: 2.711 MB / 0.6126 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009823/0.5822, allocations: 4.48 MB / 0.617 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.5931, allocations: 5.384 MB / 0.6222 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005302/0.5984, allocations: 1.223 MB / 0.6234 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.6094, allocations: 2.915 MB / 0.6263 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007007/0.6165, allocations: 3.59 MB / 0.6298 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01607/0.6325, allocations: 6.618 MB / 0.6362 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03487/0.6674, allocations: 17.07 MB / 0.6529 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6674, allocations: 3.938 kB / 0.6529 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6674, allocations: 3.938 kB / 0.6529 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007412/0.6681, allocations: 3.938 kB / 0.6529 GB, free: 12.44 MB / 0.4981 GB 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.03354/0.7017, allocations: 12.71 MB / 0.6653 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.7017, allocations: 12.03 kB / 0.6653 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008933/0.7107, allocations: 2.389 MB / 0.6677 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.7249, allocations: 5.369 MB / 0.6729 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002747/0.7277, allocations: 1.689 MB / 0.6745 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/0.7313, allocations: 1.133 MB / 0.6757 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07497/0.8063, allocations: 45.17 MB / 0.7198 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003743/0.8067, allocations: 7.938 kB / 0.7198 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002518/0.8092, allocations: 467.9 kB / 0.7202 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002376/0.8115, allocations: 1.835 MB / 0.722 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5945/1.406, allocations: 75.82 MB / 0.796 GB, free: 124.5 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1648/1.571, allocations: 111.6 MB / 0.9051 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0285/1.599, allocations: 19.22 MB / 0.9239 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02386/1.623, allocations: 15.24 MB / 0.9387 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006301/1.63, allocations: 2.532 MB / 0.9412 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/1.63, allocations: 87.88 kB / 0.9413 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=533): time 1.597e-05/1.63, allocations: 0 / 0.9413 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=755): time 0.6765/2.306, allocations: 132.1 MB / 1.07 GB, free: 133.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07871/2.385, allocations: 53.02 MB / 1.122 GB, free: 79.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.024/2.409, allocations: 13.68 MB / 1.135 GB, free: 65.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003316/2.412, allocations: 152.4 kB / 1.136 GB, free: 65.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00584/2.418, allocations: 5.431 MB / 1.141 GB, free: 60.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005502/2.424, allocations: 2.639 MB / 1.143 GB, free: 58.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01113/2.435, allocations: 2.432 MB / 1.146 GB, free: 55.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/2.435, allocations: 305.1 kB / 1.146 GB, free: 55.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02493/2.46, allocations: 22.43 MB / 1.168 GB, free: 32.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02783/2.488, allocations: 23.49 MB / 1.191 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8842/3.372, allocations: 116.3 MB / 1.305 GB, free: 125.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.452e-05/3.372, allocations: 8 kB / 1.305 GB, free: 125.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08191/3.454, allocations: 51.08 MB / 1.355 GB, free: 75.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/3.454, allocations: 15.94 kB / 1.355 GB, free: 75.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.335e-05/3.454, allocations: 28.8 kB / 1.355 GB, free: 75.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04446/3.498, allocations: 13.26 MB / 1.367 GB, free: 62.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03141/3.53, allocations: 4.417 MB / 1.372 GB, free: 57.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.398/3.928, allocations: 76.25 MB / 1.446 GB, free: 187.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0177/3.945, allocations: 0.6236 MB / 1.447 GB, free: 187.5 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006664/3.952, allocations: 1.721 MB / 1.449 GB, free: 187.5 MB / 0.6232 GB Warning: Assuming fixed start value for the following 5 variables: d5.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 d3.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 d2.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 {(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%), (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%)} * 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.01267/3.965, allocations: 2.756 MB / 1.451 GB, free: 187.4 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006039/3.971, allocations: 1.197 MB / 1.452 GB, free: 187.4 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09613/4.067, allocations: 30.93 MB / 1.483 GB, free: 180.1 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0501/4.117, allocations: 17.93 MB / 1.5 GB, free: 173.1 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001426/4.117, allocations: 10.19 kB / 1.5 GB, free: 173.1 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003291/4.117, allocations: 36.38 kB / 1.5 GB, free: 173.1 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1161/4.233, allocations: 65.29 MB / 1.564 GB, free: 120.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001845/4.234, allocations: 34.69 kB / 1.564 GB, free: 120.3 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0151/4.249, allocations: 1.893 MB / 1.566 GB, free: 118.5 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0374/4.286, allocations: 7.181 MB / 1.573 GB, free: 111.4 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002187/4.288, allocations: 306.2 kB / 1.573 GB, free: 111.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06657/4.355, allocations: 53.72 MB / 1.626 GB, free: 54.8 MB / 0.6232 GB 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.01876/4.374, allocations: 12.16 MB / 1.637 GB, free: 41.89 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06755/4.441, allocations: 26.77 MB / 1.664 GB, free: 14.3 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005159/4.446, allocations: 1.887 MB / 1.665 GB, free: 12.39 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005396/4.452, allocations: 184.4 kB / 1.666 GB, free: 12.22 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01067/4.462, allocations: 323.7 kB / 1.666 GB, free: 11.9 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003774/4.466, allocations: 0.8437 MB / 1.667 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002135/4.468, allocations: 475.8 kB / 1.667 GB, free: 10.61 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.398/4.866, allocations: 13.82 MB / 1.681 GB, free: 174.4 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.61e-07/4.866, allocations: 0.8438 kB / 1.681 GB, free: 174.4 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.02347/4.89, allocations: 4.129 MB / 1.685 GB, free: 174.4 MB / 0.6232 GB 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.003011/4.893, allocations: 0.6514 MB / 1.685 GB, free: 174.3 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.05622/4.949, allocations: 29.06 MB / 1.714 GB, free: 168 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.528e-05/4.949, allocations: 6.031 kB / 1.714 GB, free: 168 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.02472/4.974, allocations: 9.946 MB / 1.723 GB, free: 162.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03071/5.005, allocations: 2.798 MB / 1.726 GB, free: 162 MB / 0.6232 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.619056176394224] Failed to read output from testmodel.py, exit status != 0: 5.015742294490337 5.027330006 4.356872798 Calling exit ...