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.002214/0.002214, allocations: 88.05 kB / 19.44 MB, free: 320 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.00261/0.00261, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1482/0.1482, allocations: 17.45 MB / 277 MB, free: 11.6 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.793e-06/1.793e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.634e-05/3.813e-05, allocations: 6.25 kB / 352.8 MB, free: 10.21 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.3658/0.3658, allocations: 62.88 MB / 415.7 MB, free: 14.2 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03653/0.4023, allocations: 17.95 MB / 433.6 MB, free: 11.94 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.4129, allocations: 300.4 kB / 433.9 MB, free: 11.79 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009582/0.4225, allocations: 2.599 MB / 436.5 MB, free: 10.59 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01838/0.4409, allocations: 4.55 MB / 441.1 MB, free: 7.707 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009336/0.4502, allocations: 3.134 MB / 444.2 MB, free: 5.363 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.4673, allocations: 12.25 MB / 456.5 MB, free: 14.16 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005054/0.4724, allocations: 2.394 MB / 458.9 MB, free: 12.88 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0179/0.4902, allocations: 7.335 MB / 466.2 MB, free: 8.496 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.5034, allocations: 5.237 MB / 471.4 MB, free: 5.938 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004764/0.5081, allocations: 1.171 MB / 472.6 MB, free: 5.938 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.5195, allocations: 2.49 MB / 475.1 MB, free: 5.469 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005879/0.5253, allocations: 3.636 MB / 478.7 MB, free: 2.918 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01116/0.5365, allocations: 4.165 MB / 482.9 MB, free: 15.61 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02865/0.5652, allocations: 17.18 MB / 0.4884 GB, free: 15.29 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5652, allocations: 0 / 0.4884 GB, free: 15.29 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5652, allocations: 4 kB / 0.4884 GB, free: 15.29 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006913/0.5659, allocations: 0 / 0.4884 GB, free: 15.29 MB / 378.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.0412/0.6071, allocations: 14.58 MB / 0.5026 GB, free: 0.6953 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6071, allocations: 8.031 kB / 0.5026 GB, free: 0.6875 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02263/0.6297, allocations: 5.584 MB / 0.5081 GB, free: 11.12 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0223/0.652, allocations: 6.522 MB / 0.5144 GB, free: 4.586 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00272/0.6548, allocations: 1.513 MB / 0.5159 GB, free: 2.961 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004281/0.659, allocations: 1.16 MB / 0.517 GB, free: 1.824 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05915/0.7182, allocations: 17.96 MB / 0.5346 GB, free: 15.82 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.7185, allocations: 7.891 kB / 0.5346 GB, free: 15.82 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/0.7205, allocations: 480.4 kB / 0.535 GB, free: 15.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002444/0.7229, allocations: 1.769 MB / 0.5368 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2513/0.9743, allocations: 32.93 MB / 0.5689 GB, free: 145 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08782/1.062, allocations: 63.78 MB / 0.6312 GB, free: 95.8 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/1.07, allocations: 4.504 MB / 0.6356 GB, free: 91.25 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/1.075, allocations: 2.717 MB / 0.6383 GB, free: 88.53 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03339/1.109, allocations: 18.14 MB / 0.656 GB, free: 70.73 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/1.109, allocations: 81.02 kB / 0.6561 GB, free: 70.64 MB / 442.8 MB Notification: Performance of pre-optimization done (n=398): time 7.584e-06/1.109, allocations: 2.656 kB / 0.6561 GB, free: 70.64 MB / 442.8 MB Notification: Performance of matching and sorting (n=486): time 0.09326/1.202, allocations: 34.53 MB / 0.6898 GB, free: 36.48 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.001763/1.204, allocations: 2.575 MB / 0.6923 GB, free: 33.76 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00662/1.21, allocations: 6.093 MB / 0.6982 GB, free: 27.79 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.211, allocations: 105.7 kB / 0.6983 GB, free: 27.68 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002861/1.214, allocations: 6.835 MB / 0.705 GB, free: 20.89 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002154/1.216, allocations: 1.854 MB / 0.7068 GB, free: 19.07 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/1.219, allocations: 2.152 MB / 0.7089 GB, free: 16.9 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/1.219, allocations: 484.7 kB / 0.7094 GB, free: 16.43 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.224, allocations: 2.605 MB / 0.7119 GB, free: 13.82 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/1.23, allocations: 6.786 MB / 0.7186 GB, free: 5.262 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/1.245, allocations: 10.38 MB / 0.7287 GB, free: 9.234 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.561e-05/1.245, allocations: 31.94 kB / 0.7287 GB, free: 9.203 MB / 458.8 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.1978/1.443, allocations: 11.24 MB / 0.7397 GB, free: 131.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.443, allocations: 45.59 kB / 0.7398 GB, free: 131.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.443, allocations: 92.44 kB / 0.7398 GB, free: 131.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007465/1.451, allocations: 2.23 MB / 0.742 GB, free: 131.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/1.467, allocations: 3.04 MB / 0.745 GB, free: 130.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/1.496, allocations: 38.06 MB / 0.7822 GB, free: 98.33 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/1.503, allocations: 336 kB / 0.7825 GB, free: 98.33 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.505, allocations: 1.078 MB / 0.7835 GB, free: 98.33 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 12 (s5.substanceDefinitionVar.SelfClustering,s5.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,s4.substanceDefinitionVar.SelfClustering,s4.substanceDefinitionVar.data.phase,s3.substanceDefinitionVar.SelfClustering,s3.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase,s2.substanceDefinitionVar.SelfClustering,s2.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 836 * 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.0058/1.511, allocations: 1.44 MB / 0.7849 GB, free: 98.04 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/1.514, allocations: 0.8189 MB / 0.7857 GB, free: 98.04 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0329/1.547, allocations: 11.9 MB / 0.7974 GB, free: 96.19 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/1.547, allocations: 45.38 kB / 0.7974 GB, free: 96.19 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.531e-05/1.547, allocations: 12.44 kB / 0.7974 GB, free: 96.19 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/1.547, allocations: 28.16 kB / 0.7974 GB, free: 96.19 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05606/1.603, allocations: 24.24 MB / 0.8211 GB, free: 81.25 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/1.603, allocations: 14.66 kB / 0.8211 GB, free: 81.24 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01217/1.615, allocations: 1.729 MB / 0.8228 GB, free: 79.55 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007672/1.623, allocations: 2.259 MB / 0.825 GB, free: 77.28 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007295/1.623, allocations: 183.9 kB / 0.8252 GB, free: 77.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/1.653, allocations: 40.19 MB / 0.8644 GB, free: 34.98 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.001413/1.654, allocations: 2.367 MB / 0.8667 GB, free: 32.52 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0422/1.696, allocations: 10.82 MB / 0.8773 GB, free: 21.69 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/1.699, allocations: 0.513 MB / 0.8778 GB, free: 21.52 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002197/1.701, allocations: 115.5 kB / 0.8779 GB, free: 21.41 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0057/1.706, allocations: 183.9 kB / 0.8781 GB, free: 21.23 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/1.708, allocations: 446.9 kB / 0.8785 GB, free: 20.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006264/1.708, allocations: 259.9 kB / 0.8788 GB, free: 20.54 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006923/1.715, allocations: 3.23 MB / 0.8819 GB, free: 17.31 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.715, allocations: 0 / 0.8819 GB, free: 17.31 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01445/1.73, allocations: 2.214 MB / 0.8841 GB, free: 15.12 MB / 458.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.001631/1.731, allocations: 0.5285 MB / 0.8846 GB, free: 14.68 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02764/1.759, allocations: 10.07 MB / 0.8944 GB, free: 4.348 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.446e-05/1.759, allocations: 4 kB / 0.8944 GB, free: 4.344 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01828/1.777, allocations: 6.017 MB / 0.9003 GB, free: 14.06 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0097/1.787, allocations: 1.584 MB / 0.9019 GB, free: 12.55 MB / 474.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848: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: 4.418261800077744]