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.0009088/0.0009088, allocations: 89.08 kB / 19.42 MB, free: 488 kB / 13.93 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.001415/0.001415, allocations: 169 kB / 22.73 MB, free: 1.82 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.9971/0.9971, allocations: 177.1 MB / 203.1 MB, free: 5.641 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.08213/0.08213, allocations: 17.38 MB / 276.9 MB, free: 11.72 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.243e-06/1.243e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.021e-05, allocations: 8.641 kB / 352.7 MB, free: 10.32 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.2626/0.2626, allocations: 63.54 MB / 416.2 MB, free: 13.93 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02474/0.2874, allocations: 16.52 MB / 432.7 MB, free: 11.87 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006119/0.2935, allocations: 125.3 kB / 432.9 MB, free: 11.84 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005657/0.2991, allocations: 2.521 MB / 435.4 MB, free: 10.75 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009342/0.3085, allocations: 3.667 MB / 439 MB, free: 8.406 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00702/0.3155, allocations: 2.913 MB / 442 MB, free: 6.207 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.3261, allocations: 11.3 MB / 453.3 MB, free: 15.32 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00278/0.3289, allocations: 2.374 MB / 455.6 MB, free: 14.05 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007565/0.3365, allocations: 6.852 MB / 462.5 MB, free: 9.707 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/0.3415, allocations: 3.953 MB / 466.4 MB, free: 7.496 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002237/0.3437, allocations: 1.216 MB / 467.6 MB, free: 7.496 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/0.3501, allocations: 2.311 MB / 470 MB, free: 7.109 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003484/0.3536, allocations: 3.641 MB / 473.6 MB, free: 4.535 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007886/0.3614, allocations: 4.11 MB / 477.7 MB, free: 2.238 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.375, allocations: 11.62 MB / 489.3 MB, free: 9.945 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.375, allocations: 0 / 489.3 MB, free: 9.945 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.375, allocations: 0 / 489.3 MB, free: 9.945 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0005233/0.3756, allocations: 0 / 489.3 MB, free: 9.945 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.01664/0.3922, allocations: 13.42 MB / 0.491 GB, free: 12.52 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3922, allocations: 8.031 kB / 0.491 GB, free: 12.52 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007976/0.4002, allocations: 5.652 MB / 0.4965 GB, free: 6.898 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/0.4067, allocations: 4.804 MB / 0.5012 GB, free: 2.113 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/0.4081, allocations: 1.997 MB / 0.5031 GB, free: 8 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.4096, allocations: 1.127 MB / 0.5042 GB, free: 14.9 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.4327, allocations: 16.66 MB / 0.5205 GB, free: 14.24 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.4329, allocations: 0 / 0.5205 GB, free: 14.24 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005958/0.4335, allocations: 471.7 kB / 0.521 GB, free: 13.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/0.435, allocations: 1.839 MB / 0.5228 GB, free: 11.95 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02585/0.4609, allocations: 20.88 MB / 0.5432 GB, free: 6.996 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.228/0.6889, allocations: 61.31 MB / 0.603 GB, free: 129.3 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008494/0.6974, allocations: 3.749 MB / 0.6067 GB, free: 125.6 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00558/0.7029, allocations: 2.066 MB / 0.6087 GB, free: 123.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.7041, allocations: 0.7655 MB / 0.6095 GB, free: 122.7 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.7042, allocations: 98.69 kB / 0.6096 GB, free: 122.6 MB / 442.8 MB Notification: Performance of pre-optimization done (n=533): time 9.648e-06/0.7042, allocations: 0 / 0.6096 GB, free: 122.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=755): time 0.1653/0.8695, allocations: 55.69 MB / 0.6639 GB, free: 67.87 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0374/0.9069, allocations: 33.06 MB / 0.6962 GB, free: 33.36 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/0.9109, allocations: 4.007 MB / 0.7001 GB, free: 29.35 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002472/0.9133, allocations: 141.7 kB / 0.7003 GB, free: 29.21 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.9153, allocations: 5.692 MB / 0.7058 GB, free: 24.32 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003294/0.9186, allocations: 2.614 MB / 0.7084 GB, free: 21.74 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004306/0.9229, allocations: 2.297 MB / 0.7106 GB, free: 19.43 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 2.886e-05/0.923, allocations: 484.7 kB / 0.7111 GB, free: 18.96 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00721/0.9302, allocations: 3.429 MB / 0.7144 GB, free: 15.53 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007816/0.938, allocations: 4.806 MB / 0.7191 GB, free: 10.26 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1654/1.103, allocations: 12.11 MB / 0.731 GB, free: 125.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-05/1.103, allocations: 7.75 kB / 0.731 GB, free: 125.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.03562/1.139, allocations: 13.49 MB / 0.7441 GB, free: 124.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/1.139, allocations: 22.03 kB / 0.7442 GB, free: 124.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-05/1.139, allocations: 21.69 kB / 0.7442 GB, free: 124.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02444/1.164, allocations: 10.85 MB / 0.7548 GB, free: 124.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01568/1.179, allocations: 4.451 MB / 0.7591 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/1.21, allocations: 51.83 MB / 0.8097 GB, free: 73.54 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00757/1.217, allocations: 0.6501 MB / 0.8104 GB, free: 72.89 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/1.22, allocations: 1.718 MB / 0.812 GB, free: 71.17 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.005807/1.225, allocations: 0.5522 MB / 0.8126 GB, free: 70.64 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003854/1.229, allocations: 0.847 MB / 0.8134 GB, free: 69.83 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03661/1.266, allocations: 19.05 MB / 0.832 GB, free: 50.7 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02063/1.286, allocations: 8.258 MB / 0.8401 GB, free: 42.43 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-05/1.287, allocations: 12 kB / 0.8401 GB, free: 42.41 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/1.287, allocations: 35.86 kB / 0.8401 GB, free: 42.38 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05179/1.338, allocations: 32.28 MB / 0.8716 GB, free: 9.547 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-05/1.339, allocations: 32 kB / 0.8717 GB, free: 9.516 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007354/1.346, allocations: 1.938 MB / 0.8736 GB, free: 7.602 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02897/1.375, allocations: 7.247 MB / 0.8806 GB, free: 396 kB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001559/1.376, allocations: 303.8 kB / 0.8809 GB, free: 92 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.191/1.567, allocations: 51.53 MB / 0.9313 GB, free: 93.68 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.008257/1.576, allocations: 13.72 MB / 0.9447 GB, free: 82.09 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/1.601, allocations: 13.52 MB / 0.9579 GB, free: 77.96 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.602, allocations: 0.7761 MB / 0.9586 GB, free: 77.96 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009175/1.603, allocations: 190.1 kB / 0.9588 GB, free: 77.96 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.606, allocations: 365.3 kB / 0.9591 GB, free: 77.96 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/1.608, allocations: 0.8076 MB / 0.9599 GB, free: 77.93 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006016/1.609, allocations: 476.2 kB / 0.9604 GB, free: 77.93 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004047/1.613, allocations: 4.011 MB / 0.9643 GB, free: 77.71 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.613, allocations: 2.953 kB / 0.9643 GB, free: 77.71 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009979/1.623, allocations: 3.978 MB / 0.9682 GB, free: 77.71 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.001291/1.624, allocations: 0.6066 MB / 0.9688 GB, free: 77.61 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0162/1.64, allocations: 11.21 MB / 0.9797 GB, free: 70.09 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/1.64, allocations: 4 kB / 0.9797 GB, free: 70.08 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009594/1.65, allocations: 8.011 MB / 0.9876 GB, free: 63.06 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006895/1.657, allocations: 1.922 MB / 0.9894 GB, free: 61.69 MB / 458.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4730:9-4730: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.3648470849730074]