Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009819/0.0009819, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009551/0.0009551, allocations: 169 kB / 23.27 MB, free: 1.223 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.074/1.074, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1088/0.1088, allocations: 17.45 MB / 277.7 MB, free: 11.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.Diffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 354 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.817e-05, allocations: 2.312 kB / 354 MB, free: 9.574 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.2708/0.2708, allocations: 64.44 MB / 418.4 MB, free: 14.2 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0209/0.2917, allocations: 17.88 MB / 436.3 MB, free: 11.59 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005008/0.2968, allocations: 296 kB / 436.6 MB, free: 11.45 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.3009, allocations: 2.598 MB / 439.2 MB, free: 10.23 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.3085, allocations: 4.561 MB / 443.8 MB, free: 7.344 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006206/0.3147, allocations: 3.138 MB / 446.9 MB, free: 5 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.3256, allocations: 12.27 MB / 459.2 MB, free: 13.79 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/0.3284, allocations: 2.385 MB / 461.5 MB, free: 12.52 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007933/0.3363, allocations: 7.353 MB / 468.9 MB, free: 8.129 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005742/0.342, allocations: 5.235 MB / 474.1 MB, free: 5.59 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.3437, allocations: 1.164 MB / 475.3 MB, free: 5.59 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005048/0.3488, allocations: 2.489 MB / 477.8 MB, free: 5.066 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.3506, allocations: 3.622 MB / 481.4 MB, free: 1.613 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.3545, allocations: 4.156 MB / 485.6 MB, free: 13.64 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.3654, allocations: 12.07 MB / 497.6 MB, free: 2.418 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3654, allocations: 0 / 497.6 MB, free: 2.418 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3654, allocations: 0 / 497.6 MB, free: 2.418 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.000144/0.3656, allocations: 0 / 497.6 MB, free: 2.418 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: 3621 * Number of variables: 3621 Notification: Performance of Generate backend data structure: time 0.01143/0.377, allocations: 13.76 MB / 0.4994 GB, free: 5.371 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3771, allocations: 16.03 kB / 0.4994 GB, free: 5.355 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005771/0.3828, allocations: 5.579 MB / 0.5049 GB, free: 15.79 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.3891, allocations: 6.436 MB / 0.5112 GB, free: 9.344 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007018/0.3898, allocations: 1.515 MB / 0.5126 GB, free: 7.719 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009169/0.3907, allocations: 1.159 MB / 0.5138 GB, free: 6.59 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.404, allocations: 13.45 MB / 0.5269 GB, free: 9.652 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.4041, allocations: 3.938 kB / 0.5269 GB, free: 9.648 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005391/0.4047, allocations: 479.8 kB / 0.5274 GB, free: 9.203 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/0.4058, allocations: 1.765 MB / 0.5291 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.4208, allocations: 16.16 MB / 0.5449 GB, free: 7.137 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2271/0.6479, allocations: 46.25 MB / 0.59 GB, free: 98.83 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004612/0.6526, allocations: 3.164 MB / 0.5931 GB, free: 98.61 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.6546, allocations: 1.544 MB / 0.5946 GB, free: 98.54 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02201/0.6767, allocations: 16.41 MB / 0.6107 GB, free: 92.01 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.591e-05/0.6767, allocations: 87.72 kB / 0.6107 GB, free: 91.94 MB / 442.8 MB Notification: Performance of pre-optimization done (n=398): time 8.977e-06/0.6767, allocations: 0 / 0.6107 GB, free: 91.94 MB / 442.8 MB Notification: Performance of matching and sorting (n=486): time 0.05538/0.7321, allocations: 20.12 MB / 0.6304 GB, free: 74.95 MB / 442.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 inlineWhenForInitialization (initialization): time 0.001049/0.7332, allocations: 2.495 MB / 0.6328 GB, free: 72.34 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/0.7377, allocations: 4.847 MB / 0.6376 GB, free: 68.41 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001236/0.739, allocations: 104.4 kB / 0.6377 GB, free: 68.31 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002675/0.7417, allocations: 6.649 MB / 0.6442 GB, free: 62.66 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001648/0.7433, allocations: 1.748 MB / 0.6459 GB, free: 61.01 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/0.7453, allocations: 1.955 MB / 0.6478 GB, free: 59.2 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.7454, allocations: 483.8 kB / 0.6482 GB, free: 58.73 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.7475, allocations: 1.473 MB / 0.6497 GB, free: 57.26 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/0.7505, allocations: 5.497 MB / 0.655 GB, free: 50.21 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/0.7568, allocations: 7.886 MB / 0.6627 GB, free: 41.23 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-05/0.7569, allocations: 27.94 kB / 0.6628 GB, free: 41.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01546/0.7723, allocations: 8.552 MB / 0.6711 GB, free: 33.28 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.7724, allocations: 44 kB / 0.6712 GB, free: 33.24 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.232e-05/0.7725, allocations: 95.03 kB / 0.6712 GB, free: 33.15 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/0.7761, allocations: 1.818 MB / 0.673 GB, free: 31.33 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007818/0.7839, allocations: 3.017 MB / 0.676 GB, free: 28.47 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.798, allocations: 34.38 MB / 0.7095 GB, free: 8.461 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.8024, allocations: 316.6 kB / 0.7098 GB, free: 8.164 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/0.8034, allocations: 1.027 MB / 0.7108 GB, free: 7.137 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 12 (s2.substanceDefinitionVar.data.phase,s2.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering,s3.substanceDefinitionVar.data.phase,s3.substanceDefinitionVar.SelfClustering,s4.substanceDefinitionVar.data.phase,s4.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering,s5.substanceDefinitionVar.data.phase,s5.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 833 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,6), (2,2), (1,2), (2,1), (1,6), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003297/0.8067, allocations: 0.6463 MB / 0.7115 GB, free: 6.602 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/0.8082, allocations: 0.8163 MB / 0.7123 GB, free: 5.781 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.8235, allocations: 9.486 MB / 0.7215 GB, free: 12.96 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.8236, allocations: 55.94 kB / 0.7216 GB, free: 12.91 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.8236, allocations: 8 kB / 0.7216 GB, free: 12.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.8236, allocations: 23.91 kB / 0.7216 GB, free: 12.88 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2289/1.053, allocations: 19.92 MB / 0.7411 GB, free: 114.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/1.053, allocations: 14.97 kB / 0.7411 GB, free: 114.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005351/1.058, allocations: 1.72 MB / 0.7428 GB, free: 114.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003902/1.062, allocations: 1.877 MB / 0.7446 GB, free: 114 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003981/1.062, allocations: 175.7 kB / 0.7448 GB, free: 114 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.078, allocations: 36.13 MB / 0.7801 GB, free: 80.8 MB / 474.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.0008888/1.079, allocations: 2.276 MB / 0.7823 GB, free: 78.73 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.091, allocations: 7.256 MB / 0.7894 GB, free: 76.79 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.092, allocations: 0.5128 MB / 0.7899 GB, free: 76.69 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007105/1.093, allocations: 122.8 kB / 0.79 GB, free: 76.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.095, allocations: 168.3 kB / 0.7901 GB, free: 76.68 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000731/1.095, allocations: 447.9 kB / 0.7906 GB, free: 76.67 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002795/1.096, allocations: 235.5 kB / 0.7908 GB, free: 76.67 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002303/1.098, allocations: 2.396 MB / 0.7931 GB, free: 76.41 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.098, allocations: 0 / 0.7931 GB, free: 76.41 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007683/1.106, allocations: 2.214 MB / 0.7953 GB, free: 76.41 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 19 (s2.logm,p2.logm,d2.rear.n_flow,s1.logm,p1.logm,d1.rear.n_flow,$STATESET3.x,s3.logm,p3.logm,d3.rear.n_flow,$STATESET2.x,s4.logm,p4.logm,d4.rear.n_flow,solvent.logm,$STATESET1.x,s5.logm,p5.logm,d5.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (434): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * 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%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,5), (3,4), (1,2), (3,3), (1,5), (3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009949/1.107, allocations: 0.5321 MB / 0.7958 GB, free: 76.32 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009077/1.116, allocations: 7.705 MB / 0.8033 GB, free: 73.27 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.116, allocations: 0.6562 kB / 0.8033 GB, free: 73.27 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004597/1.12, allocations: 4.913 MB / 0.8081 GB, free: 70.29 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004749/1.125, allocations: 1.569 MB / 0.8097 GB, free: 70.22 MB / 474.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.969640084076673]