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.0009399/0.0009399, allocations: 80.75 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.0009565/0.0009565, allocations: 181 kB / 23.36 MB, free: 1.129 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.9333/0.9333, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.08891/0.08891, allocations: 17.48 MB / 277.7 MB, free: 11.45 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.553e-06/1.553e-06, allocations: 0 / 300.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.2e-05, allocations: 3.625 kB / 300.7 MB, free: 1.758 MB / 266.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.0483/0.04832, allocations: 70.24 MB / 371 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02761/0.07593, allocations: 18.63 MB / 389.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006719/0.08265, allocations: 297.6 kB / 389.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004777/0.08742, allocations: 2.711 MB / 392.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00822/0.09564, allocations: 4.568 MB / 397.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005309/0.101, allocations: 3.162 MB / 400.3 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.1119, allocations: 12.25 MB / 412.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.1142, allocations: 2.479 MB / 415 MB, free: 1.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005926/0.1201, allocations: 7.352 MB / 422.4 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/0.1242, allocations: 5.119 MB / 427.5 MB, free: 5.125 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009996/0.1252, allocations: 1.168 MB / 428.7 MB, free: 3.957 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.1284, allocations: 2.466 MB / 431.2 MB, free: 1.488 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.1301, allocations: 3.617 MB / 434.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002902/0.133, allocations: 4.15 MB / 438.9 MB, free: 9.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2323/0.3653, allocations: 12.07 MB / 451 MB, free: 65.68 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3653, allocations: 1.172 kB / 451 MB, free: 65.68 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3653, allocations: 1.188 kB / 451 MB, free: 65.68 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0004037/0.3657, allocations: 0.5312 kB / 451 MB, free: 65.68 MB / 410.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.0102/0.3759, allocations: 12.7 MB / 463.7 MB, free: 60.59 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.376, allocations: 9.625 kB / 463.7 MB, free: 60.59 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.3809, allocations: 5.13 MB / 468.8 MB, free: 60.49 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/0.3854, allocations: 4.136 MB / 473 MB, free: 59.11 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/0.3859, allocations: 1.512 MB / 474.5 MB, free: 58.4 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007841/0.3867, allocations: 1.16 MB / 475.6 MB, free: 58.39 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009424/0.3961, allocations: 13.66 MB / 489.3 MB, free: 57.47 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.3962, allocations: 0 / 489.3 MB, free: 57.47 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000506/0.3967, allocations: 480.8 kB / 489.8 MB, free: 57.47 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009816/0.3977, allocations: 1.769 MB / 491.5 MB, free: 57.34 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4104, allocations: 16.07 MB / 0.4957 GB, free: 42.22 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04293/0.4533, allocations: 38.72 MB / 0.5335 GB, free: 5.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.4568, allocations: 2.641 MB / 0.5361 GB, free: 2.824 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.4584, allocations: 1.196 MB / 0.5373 GB, free: 1.633 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/0.4755, allocations: 12.9 MB / 0.5499 GB, free: 5.055 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.4756, allocations: 80.31 kB / 0.5499 GB, free: 4.977 MB / 426.8 MB Notification: Performance of pre-optimization done (n=398): time 5.1e-06/0.4756, allocations: 4 kB / 0.5499 GB, free: 4.973 MB / 426.8 MB Notification: Performance of matching and sorting (n=486): time 0.03672/0.5123, allocations: 18.52 MB / 0.568 GB, free: 2.711 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.0009099/0.5132, allocations: 1.905 MB / 0.5699 GB, free: 0.7188 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.5157, allocations: 3.815 MB / 0.5736 GB, free: 13.73 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.516, allocations: 105.7 kB / 0.5737 GB, free: 13.62 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.518, allocations: 5.426 MB / 0.579 GB, free: 8.418 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009582/0.519, allocations: 1.752 MB / 0.5807 GB, free: 6.766 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.5204, allocations: 1.573 MB / 0.5823 GB, free: 5.344 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.5205, allocations: 303.2 kB / 0.5826 GB, free: 5.047 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.5224, allocations: 1.334 MB / 0.5839 GB, free: 3.711 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.5255, allocations: 4.066 MB / 0.5878 GB, free: 14.58 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005538/0.531, allocations: 6.445 MB / 0.5941 GB, free: 7.527 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.5311, allocations: 24 kB / 0.5941 GB, free: 7.504 MB / 474.8 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01007/0.5411, allocations: 6.487 MB / 0.6005 GB, free: 1.676 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.5412, allocations: 44 kB / 0.6005 GB, free: 1.633 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/0.5412, allocations: 92 kB / 0.6006 GB, free: 1.543 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/0.5444, allocations: 1.775 MB / 0.6023 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/0.5507, allocations: 2.643 MB / 0.6049 GB, free: 13.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1531/0.7038, allocations: 23.65 MB / 0.628 GB, free: 121.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/0.7076, allocations: 308.3 kB / 0.6283 GB, free: 121.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000973/0.7086, allocations: 0.8817 MB / 0.6292 GB, free: 121.9 MB / 490.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.002814/0.7114, allocations: 0.608 MB / 0.6298 GB, free: 121.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.7126, allocations: 0.5753 MB / 0.6303 GB, free: 121.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.7252, allocations: 8.4 MB / 0.6385 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.7252, allocations: 49.06 kB / 0.6386 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/0.7252, allocations: 14.3 kB / 0.6386 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.7252, allocations: 23.73 kB / 0.6386 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.7445, allocations: 14.05 MB / 0.6523 GB, free: 119.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7445, allocations: 12.5 kB / 0.6524 GB, free: 119.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00452/0.749, allocations: 1.587 MB / 0.6539 GB, free: 119.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/0.7524, allocations: 2.135 MB / 0.656 GB, free: 118.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.7526, allocations: 153.1 kB / 0.6561 GB, free: 118.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.7635, allocations: 25.28 MB / 0.6808 GB, free: 96.3 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.0006178/0.7641, allocations: 1.706 MB / 0.6825 GB, free: 94.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008922/0.773, allocations: 5.935 MB / 0.6883 GB, free: 93.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.7736, allocations: 0.5036 MB / 0.6888 GB, free: 93.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/0.7741, allocations: 115.8 kB / 0.6889 GB, free: 93.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.7755, allocations: 171.1 kB / 0.689 GB, free: 93.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/0.776, allocations: 416 kB / 0.6894 GB, free: 93.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/0.7762, allocations: 203.9 kB / 0.6896 GB, free: 93.23 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001396/0.7776, allocations: 1.971 MB / 0.6916 GB, free: 93.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7776, allocations: 3.828 kB / 0.6916 GB, free: 93.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005549/0.7832, allocations: 2.215 MB / 0.6937 GB, free: 93.05 MB / 490.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.0005955/0.7838, allocations: 0.5143 MB / 0.6942 GB, free: 92.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.005774/0.7895, allocations: 6.159 MB / 0.7002 GB, free: 89.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.48e-05/0.7896, allocations: 85.8 kB / 0.7003 GB, free: 89.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003474/0.7931, allocations: 3.779 MB / 0.704 GB, free: 86.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.7961, allocations: 1.499 MB / 0.7055 GB, free: 85 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: 2.392332369927317]