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.0008461/0.0008461, allocations: 93.06 kB / 19.65 MB, free: 280 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.001811/0.001811, allocations: 173 kB / 23.03 MB, free: 1.547 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.9955/0.9955, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.09412/0.09412, allocations: 17.46 MB / 277.4 MB, free: 11.57 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.673e-06/1.673e-06, allocations: 0 / 353.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.67e-05, allocations: 2.312 kB / 353.5 MB, free: 9.871 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.2921/0.2921, allocations: 65.53 MB / 419.1 MB, free: 14.06 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02656/0.3187, allocations: 18.03 MB / 437.1 MB, free: 11.27 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/0.3292, allocations: 294.6 kB / 437.4 MB, free: 11.12 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007951/0.3372, allocations: 2.599 MB / 440 MB, free: 9.898 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.3545, allocations: 4.561 MB / 444.5 MB, free: 7.008 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009025/0.3636, allocations: 3.132 MB / 447.7 MB, free: 4.668 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01484/0.3784, allocations: 12.27 MB / 459.9 MB, free: 13.45 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.3821, allocations: 2.391 MB / 462.3 MB, free: 12.18 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.3949, allocations: 7.347 MB / 469.7 MB, free: 7.793 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008638/0.4035, allocations: 5.234 MB / 474.9 MB, free: 5.254 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002454/0.406, allocations: 1.164 MB / 476.1 MB, free: 5.254 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007242/0.4132, allocations: 2.484 MB / 478.6 MB, free: 4.5 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00284/0.4161, allocations: 3.623 MB / 482.2 MB, free: 1.047 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007143/0.4232, allocations: 4.149 MB / 486.3 MB, free: 13.07 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.4414, allocations: 12.08 MB / 498.4 MB, free: 1.852 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4414, allocations: 0 / 498.4 MB, free: 1.852 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4414, allocations: 0 / 498.4 MB, free: 1.852 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0006575/0.4421, allocations: 3.938 kB / 498.4 MB, free: 1.848 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.01884/0.4609, allocations: 13.68 MB / 0.5001 GB, free: 4.16 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.461, allocations: 8.031 kB / 0.5001 GB, free: 4.152 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007915/0.4689, allocations: 5.586 MB / 0.5056 GB, free: 14.59 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009303/0.4782, allocations: 6.486 MB / 0.5119 GB, free: 8.086 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.4792, allocations: 1.513 MB / 0.5134 GB, free: 6.461 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.4806, allocations: 1.147 MB / 0.5145 GB, free: 5.336 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/0.5074, allocations: 15.92 MB / 0.53 GB, free: 5.375 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/0.5076, allocations: 0 / 0.53 GB, free: 5.375 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007919/0.5084, allocations: 476.2 kB / 0.5305 GB, free: 4.934 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001563/0.51, allocations: 1.773 MB / 0.5322 GB, free: 3.148 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02922/0.5392, allocations: 20.42 MB / 0.5522 GB, free: 14.65 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2246/0.7638, allocations: 48.34 MB / 0.5994 GB, free: 94.66 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005646/0.7694, allocations: 3.48 MB / 0.6028 GB, free: 93.75 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/0.7727, allocations: 1.811 MB / 0.6045 GB, free: 93.41 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02038/0.7931, allocations: 16.39 MB / 0.6205 GB, free: 82.75 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.7931, allocations: 76.11 kB / 0.6206 GB, free: 82.67 MB / 442.8 MB Notification: Performance of pre-optimization done (n=398): time 6.292e-06/0.7931, allocations: 4 kB / 0.6206 GB, free: 82.67 MB / 442.8 MB Notification: Performance of matching and sorting (n=486): time 0.05689/0.85, allocations: 30.08 MB / 0.65 GB, free: 53.11 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.001162/0.8512, allocations: 2.502 MB / 0.6524 GB, free: 50.48 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004586/0.8557, allocations: 4.876 MB / 0.6572 GB, free: 45.72 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001305/0.8571, allocations: 107.2 kB / 0.6573 GB, free: 45.61 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/0.8595, allocations: 6.588 MB / 0.6637 GB, free: 39.8 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/0.8614, allocations: 1.741 MB / 0.6654 GB, free: 38.08 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.8634, allocations: 1.926 MB / 0.6673 GB, free: 36.14 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.8634, allocations: 476.8 kB / 0.6678 GB, free: 35.68 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.8657, allocations: 1.636 MB / 0.6694 GB, free: 34.04 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/0.8689, allocations: 5.616 MB / 0.6749 GB, free: 26.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007697/0.8766, allocations: 8.201 MB / 0.6829 GB, free: 17.24 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-05/0.8767, allocations: 28 kB / 0.6829 GB, free: 17.21 MB / 442.8 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01779/0.8945, allocations: 9.052 MB / 0.6917 GB, free: 8.773 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.8945, allocations: 47.98 kB / 0.6918 GB, free: 8.727 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.581e-05/0.8946, allocations: 92 kB / 0.6919 GB, free: 8.637 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.8985, allocations: 1.841 MB / 0.6937 GB, free: 6.781 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008324/0.9069, allocations: 3.027 MB / 0.6966 GB, free: 3.914 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.929, allocations: 34.92 MB / 0.7307 GB, free: 15.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005152/0.9341, allocations: 329.2 kB / 0.731 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/0.936, allocations: 1.078 MB / 0.7321 GB, free: 13.69 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 (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.004142/0.9401, allocations: 0.6455 MB / 0.7327 GB, free: 13.16 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/0.9422, allocations: 0.8164 MB / 0.7335 GB, free: 12.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/0.9626, allocations: 9.918 MB / 0.7432 GB, free: 2.762 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.9626, allocations: 48 kB / 0.7432 GB, free: 2.715 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-05/0.9627, allocations: 8 kB / 0.7433 GB, free: 2.707 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/0.9627, allocations: 29.11 kB / 0.7433 GB, free: 2.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2516/1.214, allocations: 20.22 MB / 0.763 GB, free: 130.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/1.214, allocations: 15.34 kB / 0.763 GB, free: 130.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006052/1.22, allocations: 1.727 MB / 0.7647 GB, free: 130.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004318/1.225, allocations: 1.906 MB / 0.7666 GB, free: 130.6 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008364/1.226, allocations: 179.2 kB / 0.7668 GB, free: 130.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/1.243, allocations: 36.64 MB / 0.8025 GB, free: 96.96 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.000942/1.244, allocations: 2.295 MB / 0.8048 GB, free: 94.89 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.261, allocations: 7.945 MB / 0.8125 GB, free: 92.94 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.263, allocations: 0.5071 MB / 0.813 GB, free: 92.94 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.264, allocations: 120.9 kB / 0.8132 GB, free: 92.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.266, allocations: 182.2 kB / 0.8133 GB, free: 92.94 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009277/1.267, allocations: 451.6 kB / 0.8138 GB, free: 92.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004101/1.267, allocations: 261.6 kB / 0.814 GB, free: 92.92 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00352/1.271, allocations: 2.583 MB / 0.8165 GB, free: 92.17 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.31e-07/1.271, allocations: 0 / 0.8165 GB, free: 92.17 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009006/1.28, allocations: 2.212 MB / 0.8187 GB, free: 91.97 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.001354/1.281, allocations: 0.5321 MB / 0.8192 GB, free: 91.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0125/1.294, allocations: 8.169 MB / 0.8272 GB, free: 85.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.294, allocations: 0 / 0.8272 GB, free: 85.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00715/1.301, allocations: 5.211 MB / 0.8323 GB, free: 80.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/1.307, allocations: 1.571 MB / 0.8338 GB, free: 78.96 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.099556100089103]