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.0007555/0.0007555, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009394/0.0009394, allocations: 173 kB / 23.5 MB, free: 1.055 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.9693/0.9693, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.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.0885/0.0885, allocations: 17.38 MB / 277.7 MB, free: 11.7 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.753e-06/1.753e-06, allocations: 0 / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.568e-05, allocations: 2.312 kB / 353.4 MB, free: 10.3 MB / 282.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.2736/0.2736, allocations: 63.15 MB / 416.6 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.2946, allocations: 16.47 MB / 433.1 MB, free: 12.14 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005648/0.3002, allocations: 124.6 kB / 433.2 MB, free: 12.11 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005023/0.3053, allocations: 2.514 MB / 435.7 MB, free: 11.06 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007345/0.3126, allocations: 3.677 MB / 439.4 MB, free: 8.711 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005435/0.3181, allocations: 2.911 MB / 442.3 MB, free: 6.512 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.00932/0.3274, allocations: 11.27 MB / 453.6 MB, free: 15.63 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.3301, allocations: 2.377 MB / 455.9 MB, free: 14.36 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007104/0.3372, allocations: 6.84 MB / 462.8 MB, free: 10.02 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.3411, allocations: 3.967 MB / 466.8 MB, free: 7.797 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.3424, allocations: 1.223 MB / 468 MB, free: 7.797 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.346, allocations: 2.327 MB / 470.3 MB, free: 7.398 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.3476, allocations: 3.648 MB / 474 MB, free: 4.82 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.3506, allocations: 4.121 MB / 478.1 MB, free: 2.512 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.3604, allocations: 11.63 MB / 489.7 MB, free: 10.14 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3604, allocations: 0 / 489.7 MB, free: 10.14 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3604, allocations: 3.938 kB / 489.7 MB, free: 10.13 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0002472/0.3606, allocations: 0 / 489.7 MB, free: 10.13 MB / 362.8 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.01231/0.3729, allocations: 13.42 MB / 0.4913 GB, free: 12.71 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.373, allocations: 12.03 kB / 0.4913 GB, free: 12.7 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/0.3796, allocations: 5.655 MB / 0.4969 GB, free: 7.086 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004919/0.3846, allocations: 4.817 MB / 0.5016 GB, free: 2.285 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/0.3856, allocations: 2.001 MB / 0.5035 GB, free: 180 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009874/0.3866, allocations: 1.133 MB / 0.5046 GB, free: 15.07 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.4026, allocations: 16.66 MB / 0.5209 GB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.4027, allocations: 0 / 0.5209 GB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005703/0.4033, allocations: 465.6 kB / 0.5213 GB, free: 13.98 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/0.4045, allocations: 1.839 MB / 0.5231 GB, free: 12.13 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/0.4278, allocations: 20.89 MB / 0.5435 GB, free: 7.164 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.222/0.6497, allocations: 61.32 MB / 0.6034 GB, free: 129.7 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007687/0.6574, allocations: 3.751 MB / 0.6071 GB, free: 125.9 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/0.6619, allocations: 2.063 MB / 0.6091 GB, free: 123.8 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.663, allocations: 0.7629 MB / 0.6098 GB, free: 123.1 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.663, allocations: 94.7 kB / 0.6099 GB, free: 123 MB / 442.8 MB Notification: Performance of pre-optimization done (n=533): time 6.933e-06/0.663, allocations: 5.75 kB / 0.6099 GB, free: 123 MB / 442.8 MB Notification: Performance of matching and sorting (n=755): time 0.1523/0.8153, allocations: 55.69 MB / 0.6643 GB, free: 68.19 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03463/0.8499, allocations: 33.06 MB / 0.6966 GB, free: 33.67 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.854, allocations: 4.023 MB / 0.7005 GB, free: 29.65 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002429/0.8564, allocations: 145.3 kB / 0.7007 GB, free: 29.51 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002104/0.8585, allocations: 5.693 MB / 0.7062 GB, free: 24.62 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002844/0.8613, allocations: 2.621 MB / 0.7088 GB, free: 22.04 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004084/0.8654, allocations: 2.299 MB / 0.711 GB, free: 19.73 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.8655, allocations: 476.8 kB / 0.7115 GB, free: 19.26 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007448/0.8729, allocations: 3.422 MB / 0.7148 GB, free: 15.83 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00802/0.8809, allocations: 4.813 MB / 0.7195 GB, free: 10.56 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1844/1.065, allocations: 12.11 MB / 0.7313 GB, free: 125.4 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.932e-05/1.065, allocations: 6.844 kB / 0.7314 GB, free: 125.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.03539/1.101, allocations: 13.48 MB / 0.7445 GB, free: 124.9 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/1.101, allocations: 19.41 kB / 0.7445 GB, free: 124.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/1.101, allocations: 25.62 kB / 0.7446 GB, free: 124.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02641/1.127, allocations: 10.86 MB / 0.7552 GB, free: 124.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01695/1.144, allocations: 4.456 MB / 0.7595 GB, free: 122.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03404/1.178, allocations: 51.81 MB / 0.8101 GB, free: 73.92 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008019/1.186, allocations: 0.654 MB / 0.8108 GB, free: 73.27 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/1.188, allocations: 1.726 MB / 0.8124 GB, free: 71.54 MB / 442.8 MB 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.004966/1.193, allocations: 0.5481 MB / 0.813 GB, free: 71.01 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003144/1.197, allocations: 0.8619 MB / 0.8138 GB, free: 70.18 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03288/1.229, allocations: 19.04 MB / 0.8324 GB, free: 51.04 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01855/1.248, allocations: 8.255 MB / 0.8405 GB, free: 42.77 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.235e-05/1.248, allocations: 11.98 kB / 0.8405 GB, free: 42.75 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.84e-05/1.248, allocations: 38.12 kB / 0.8405 GB, free: 42.72 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04771/1.296, allocations: 32.29 MB / 0.8721 GB, free: 9.875 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/1.296, allocations: 32 kB / 0.8721 GB, free: 9.844 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007032/1.303, allocations: 1.937 MB / 0.874 GB, free: 7.93 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02385/1.327, allocations: 7.253 MB / 0.8811 GB, free: 0.7188 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/1.328, allocations: 303.8 kB / 0.8814 GB, free: 432 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1945/1.522, allocations: 51.53 MB / 0.9317 GB, free: 94.29 MB / 458.8 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.008797/1.531, allocations: 13.73 MB / 0.9451 GB, free: 82.7 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02594/1.557, allocations: 13.53 MB / 0.9583 GB, free: 78.57 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/1.559, allocations: 0.7793 MB / 0.9591 GB, free: 78.57 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009994/1.56, allocations: 188 kB / 0.9592 GB, free: 78.57 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.562, allocations: 359.1 kB / 0.9596 GB, free: 78.57 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001559/1.564, allocations: 0.8118 MB / 0.9604 GB, free: 78.54 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005054/1.564, allocations: 482.6 kB / 0.9608 GB, free: 78.54 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003823/1.568, allocations: 4.022 MB / 0.9648 GB, free: 78.32 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.2e-07/1.568, allocations: 0 / 0.9648 GB, free: 78.32 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009619/1.578, allocations: 3.985 MB / 0.9687 GB, free: 78.32 MB / 458.8 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.001212/1.579, allocations: 0.6074 MB / 0.9692 GB, free: 78.22 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01707/1.596, allocations: 11.2 MB / 0.9802 GB, free: 70.38 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.702e-05/1.596, allocations: 9.797 kB / 0.9802 GB, free: 70.38 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009013/1.605, allocations: 8.003 MB / 0.988 GB, free: 63.48 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/1.611, allocations: 1.928 MB / 0.9899 GB, free: 62.1 MB / 458.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.290495148859918]