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.001049/0.001049, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001145/0.001145, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.1074/0.1074, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.203e-06/1.203e-06, allocations: 0 / 300.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.808e-06/1.101e-05, allocations: 3.297 kB / 300.6 MB, free: 1.859 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.05047/0.05048, allocations: 68.28 MB / 368.9 MB, free: 228 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02882/0.07931, allocations: 17.14 MB / 386 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006949/0.08626, allocations: 119.5 kB / 386.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005344/0.0916, allocations: 2.633 MB / 388.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007727/0.09933, allocations: 3.679 MB / 392.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.1052, allocations: 2.94 MB / 395.4 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.1168, allocations: 11.29 MB / 406.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/0.1201, allocations: 2.47 MB / 409.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007746/0.1278, allocations: 6.849 MB / 416 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004477/0.1323, allocations: 3.954 MB / 420 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.1341, allocations: 1.219 MB / 421.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.1383, allocations: 2.322 MB / 423.5 MB, free: 9.281 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.1405, allocations: 3.633 MB / 427.1 MB, free: 5.637 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004857/0.1454, allocations: 4.107 MB / 431.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.1555, allocations: 11.62 MB / 442.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1555, allocations: 0 / 442.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1555, allocations: 7.938 kB / 442.9 MB, free: 5.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003813/0.1559, allocations: 0 / 442.9 MB, free: 5.852 MB / 410.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.2533/0.4092, allocations: 12.37 MB / 455.2 MB, free: 79.02 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4092, allocations: 8.281 kB / 455.2 MB, free: 79.02 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/0.416, allocations: 5.136 MB / 460.4 MB, free: 78.98 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.4202, allocations: 3.289 MB / 463.7 MB, free: 78.38 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008546/0.421, allocations: 1.994 MB / 465.7 MB, free: 77.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007641/0.4218, allocations: 1.14 MB / 466.8 MB, free: 77.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.4328, allocations: 14.19 MB / 481 MB, free: 75.7 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.4329, allocations: 3.938 kB / 481 MB, free: 75.69 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004875/0.4334, allocations: 473 kB / 481.5 MB, free: 75.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009635/0.4344, allocations: 1.838 MB / 483.3 MB, free: 73.84 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00996/0.4443, allocations: 16.4 MB / 499.7 MB, free: 57.64 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04593/0.4903, allocations: 48.63 MB / 0.5355 GB, free: 11.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005027/0.4953, allocations: 3.128 MB / 0.5385 GB, free: 8.312 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/0.4981, allocations: 1.397 MB / 0.5399 GB, free: 6.934 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009393/0.499, allocations: 0.7596 MB / 0.5406 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.4991, allocations: 95.34 kB / 0.5407 GB, free: 6.082 MB / 410.8 MB Notification: Performance of pre-optimization done (n=533): time 6.051e-06/0.4991, allocations: 2.656 kB / 0.5407 GB, free: 6.082 MB / 410.8 MB Notification: Performance of matching and sorting (n=755): time 0.1426/0.6417, allocations: 41.02 MB / 0.5808 GB, free: 14.18 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03134/0.6731, allocations: 24.04 MB / 0.6043 GB, free: 5.465 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.6762, allocations: 2.974 MB / 0.6072 GB, free: 3.066 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00216/0.6784, allocations: 141.7 kB / 0.6073 GB, free: 2.922 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1671/0.8455, allocations: 4.589 MB / 0.6118 GB, free: 118.4 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003571/0.8491, allocations: 2.64 MB / 0.6144 GB, free: 116.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004809/0.8539, allocations: 1.796 MB / 0.6161 GB, free: 116.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.703e-05/0.8539, allocations: 306.1 kB / 0.6164 GB, free: 116.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00657/0.8605, allocations: 2.672 MB / 0.619 GB, free: 116.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006622/0.8671, allocations: 3.734 MB / 0.6227 GB, free: 115.6 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/0.8824, allocations: 10.25 MB / 0.6327 GB, free: 114.4 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/0.8824, allocations: 10.84 kB / 0.6327 GB, free: 114.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0222/0.9046, allocations: 9.79 MB / 0.6422 GB, free: 113.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.9046, allocations: 16.53 kB / 0.6423 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.9047, allocations: 30.05 kB / 0.6423 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02783/0.9325, allocations: 10.28 MB / 0.6523 GB, free: 113.4 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/0.9509, allocations: 3.405 MB / 0.6556 GB, free: 111.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03187/0.9828, allocations: 35.56 MB / 0.6904 GB, free: 79.29 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006303/0.9891, allocations: 308.1 kB / 0.6907 GB, free: 79.04 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/0.9908, allocations: 1.608 MB / 0.6922 GB, free: 77.68 MB / 474.8 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.004415/0.9952, allocations: 0.5146 MB / 0.6927 GB, free: 77.28 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002307/0.9975, allocations: 0.5917 MB / 0.6933 GB, free: 76.82 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/1.022, allocations: 15.61 MB / 0.7086 GB, free: 62.27 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01257/1.034, allocations: 5.731 MB / 0.7142 GB, free: 56.64 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-05/1.034, allocations: 8 kB / 0.7142 GB, free: 56.64 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-05/1.034, allocations: 47.78 kB / 0.7142 GB, free: 56.59 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03384/1.068, allocations: 23.48 MB / 0.7371 GB, free: 34.41 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/1.068, allocations: 32 kB / 0.7372 GB, free: 34.38 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00571/1.074, allocations: 1.802 MB / 0.7389 GB, free: 32.67 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02031/1.094, allocations: 7 MB / 0.7458 GB, free: 25.82 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005121/1.095, allocations: 255.8 kB / 0.746 GB, free: 25.57 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/1.118, allocations: 36.2 MB / 0.7814 GB, free: 3.969 MB / 490.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.1893/1.308, allocations: 10.02 MB / 0.7911 GB, free: 100.2 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.328, allocations: 10.7 MB / 0.8016 GB, free: 96.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.329, allocations: 0.6595 MB / 0.8022 GB, free: 96.31 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008532/1.33, allocations: 190.5 kB / 0.8024 GB, free: 96.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.332, allocations: 228.4 kB / 0.8026 GB, free: 96.31 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/1.334, allocations: 0.7622 MB / 0.8034 GB, free: 96.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/1.334, allocations: 409 kB / 0.8038 GB, free: 96.31 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002095/1.336, allocations: 2.513 MB / 0.8062 GB, free: 96.18 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.336, allocations: 0 / 0.8062 GB, free: 96.18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008238/1.344, allocations: 3.981 MB / 0.8101 GB, free: 96.18 MB / 490.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.0009354/1.345, allocations: 0.6134 MB / 0.8107 GB, free: 96.11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01255/1.358, allocations: 8.609 MB / 0.8191 GB, free: 93.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.52e-05/1.358, allocations: 53.56 kB / 0.8192 GB, free: 93.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006406/1.364, allocations: 6.02 MB / 0.825 GB, free: 91.01 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/1.369, allocations: 1.814 MB / 0.8268 GB, free: 90.98 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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: 3.1652223407290876]