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.001351/0.001351, allocations: 88.72 kB / 19.44 MB, free: 352 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.001583/0.001583, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.469/1.469, 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.2176/0.2176, allocations: 17.46 MB / 277 MB, free: 11.59 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 2.174e-06/2.174e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.024e-05, allocations: 2.312 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.1095/0.1096, allocations: 57.17 MB / 410 MB, free: 1.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1734/0.283, allocations: 17.03 MB / 427 MB, free: 30.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.2933, allocations: 295.5 kB / 427.3 MB, free: 29.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009656/0.3029, allocations: 2.592 MB / 429.9 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01638/0.3193, allocations: 4.562 MB / 434.5 MB, free: 26.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008996/0.3283, allocations: 3.139 MB / 437.6 MB, free: 24.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01666/0.345, allocations: 12.25 MB / 449.9 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004099/0.3491, allocations: 2.393 MB / 452.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/0.3635, allocations: 7.323 MB / 459.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009681/0.3732, allocations: 5.188 MB / 464.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004049/0.3773, allocations: 1.172 MB / 465.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.3874, allocations: 2.49 MB / 468.4 MB, free: 1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00656/0.394, allocations: 3.628 MB / 472 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01386/0.4078, allocations: 4.158 MB / 476.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03564/0.4435, allocations: 17.13 MB / 493.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4435, allocations: 0 / 493.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4435, allocations: 0 / 493.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0009076/0.4444, allocations: 0 / 493.3 MB, free: 9.273 MB / 362.7 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.03459/0.479, allocations: 12.75 MB / 0.4942 GB, free: 12.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.479, allocations: 12.03 kB / 0.4942 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/0.497, allocations: 5.808 MB / 0.4999 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/0.5142, allocations: 6.581 MB / 0.5063 GB, free: 208 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002492/0.5167, allocations: 1.511 MB / 0.5078 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005074/0.5218, allocations: 1.159 MB / 0.5089 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07865/0.6004, allocations: 40.98 MB / 0.549 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003053/0.6007, allocations: 0 / 0.549 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/0.6029, allocations: 478.3 kB / 0.5494 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/0.6054, allocations: 1.765 MB / 0.5511 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3561/0.9615, allocations: 73.6 MB / 0.623 GB, free: 111 MB / 442.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08335/1.045, allocations: 58.8 MB / 0.6804 GB, free: 53.15 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008812/1.054, allocations: 4.849 MB / 0.6852 GB, free: 48.28 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005568/1.059, allocations: 3.131 MB / 0.6882 GB, free: 45.14 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03252/1.092, allocations: 17.72 MB / 0.7055 GB, free: 27.76 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/1.092, allocations: 78.19 kB / 0.7056 GB, free: 27.68 MB / 442.8 MB Notification: Performance of pre-optimization done (n=398): time 6.943e-06/1.092, allocations: 0 / 0.7056 GB, free: 27.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=486): time 0.261/1.353, allocations: 34.81 MB / 0.7396 GB, free: 135.4 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.001796/1.355, allocations: 1.864 MB / 0.7414 GB, free: 133.9 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009512/1.364, allocations: 4.755 MB / 0.7461 GB, free: 132.6 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00124/1.365, allocations: 105.5 kB / 0.7462 GB, free: 132.5 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003452/1.369, allocations: 6.267 MB / 0.7523 GB, free: 128.7 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.371, allocations: 1.73 MB / 0.754 GB, free: 127.3 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003417/1.374, allocations: 1.837 MB / 0.7558 GB, free: 126.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/1.374, allocations: 302 kB / 0.7561 GB, free: 126.3 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.38, allocations: 2.873 MB / 0.7589 GB, free: 125.3 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007019/1.387, allocations: 5.64 MB / 0.7644 GB, free: 120.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/1.401, allocations: 9.359 MB / 0.7735 GB, free: 114.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.703e-05/1.401, allocations: 27.72 kB / 0.7735 GB, free: 114.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03317/1.434, allocations: 11.66 MB / 0.7849 GB, free: 108.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.84e-05/1.434, allocations: 44 kB / 0.785 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.434, allocations: 92 kB / 0.785 GB, free: 108.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007136/1.441, allocations: 2.205 MB / 0.7872 GB, free: 106.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0163/1.458, allocations: 3.327 MB / 0.7904 GB, free: 104.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/1.484, allocations: 28.27 MB / 0.8181 GB, free: 74.11 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007323/1.491, allocations: 387.8 kB / 0.8184 GB, free: 73.73 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/1.493, allocations: 1.078 MB / 0.8195 GB, free: 72.66 MB / 442.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 (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 (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.006354/1.5, allocations: 2.818 MB / 0.8222 GB, free: 69.83 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003041/1.503, allocations: 0.8163 MB / 0.823 GB, free: 69.01 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03586/1.539, allocations: 11.57 MB / 0.8343 GB, free: 57.54 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/1.539, allocations: 48 kB / 0.8344 GB, free: 57.49 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-05/1.539, allocations: 8 kB / 0.8344 GB, free: 57.48 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001331/1.539, allocations: 23.91 kB / 0.8344 GB, free: 57.46 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05264/1.592, allocations: 20.76 MB / 0.8547 GB, free: 36.52 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.841e-05/1.592, allocations: 16.25 kB / 0.8547 GB, free: 36.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01215/1.604, allocations: 2.025 MB / 0.8567 GB, free: 34.47 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007856/1.612, allocations: 2.241 MB / 0.8589 GB, free: 32.17 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/1.613, allocations: 183.9 kB / 0.859 GB, free: 31.99 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02933/1.642, allocations: 29.98 MB / 0.8883 GB, free: 212 kB / 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 postOpt calculateStateSetsJacobians (simulation): time 0.00212/1.644, allocations: 1.656 MB / 0.8899 GB, free: 14.48 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03938/1.683, allocations: 10.85 MB / 0.9005 GB, free: 3.348 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.685, allocations: 0.5079 MB / 0.901 GB, free: 2.836 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/1.688, allocations: 123.8 kB / 0.9011 GB, free: 2.715 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005273/1.693, allocations: 239.8 kB / 0.9014 GB, free: 2.48 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001504/1.694, allocations: 446.9 kB / 0.9018 GB, free: 2.047 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008883/1.695, allocations: 263.9 kB / 0.902 GB, free: 1.789 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.1796/1.875, allocations: 3.322 MB / 0.9053 GB, free: 128.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.875, allocations: 0 / 0.9053 GB, free: 128.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01096/1.886, allocations: 2.221 MB / 0.9075 GB, free: 128.2 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.001518/1.887, allocations: 0.5147 MB / 0.908 GB, free: 128.1 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02098/1.908, allocations: 9.032 MB / 0.9168 GB, free: 126.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/1.908, allocations: 0 / 0.9168 GB, free: 126.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01241/1.921, allocations: 5.044 MB / 0.9217 GB, free: 124.1 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008612/1.929, allocations: 1.582 MB / 0.9232 GB, free: 123.9 MB / 458.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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.286064823972993]