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.0009298/0.0009298, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009575/0.0009575, allocations: 169 kB / 23.02 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 1.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.09217/0.09217, allocations: 17.47 MB / 277.4 MB, free: 11.54 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.433e-06/1.433e-06, allocations: 0 / 353.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.407e-05, allocations: 10.19 kB / 353.5 MB, free: 9.836 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.2726/0.2726, allocations: 65.52 MB / 419.1 MB, free: 14.07 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0207/0.2933, allocations: 18.02 MB / 437.1 MB, free: 11.27 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005754/0.2991, allocations: 295 kB / 437.4 MB, free: 11.12 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004239/0.3033, allocations: 2.597 MB / 440 MB, free: 9.898 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.3092, allocations: 4.564 MB / 444.5 MB, free: 7.008 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.3133, allocations: 3.132 MB / 447.7 MB, free: 4.668 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.00811/0.3214, allocations: 12.27 MB / 459.9 MB, free: 13.46 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.3237, allocations: 2.391 MB / 462.3 MB, free: 12.18 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/0.3299, allocations: 7.343 MB / 469.7 MB, free: 7.793 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004033/0.3339, allocations: 5.25 MB / 474.9 MB, free: 5.238 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000773/0.3347, allocations: 1.169 MB / 476.1 MB, free: 5.238 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.3381, allocations: 2.49 MB / 478.6 MB, free: 4.441 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.3399, allocations: 3.632 MB / 482.2 MB, free: 0.9766 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002936/0.3428, allocations: 4.16 MB / 486.4 MB, free: 12.99 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009079/0.3519, allocations: 12.08 MB / 498.5 MB, free: 1.77 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3519, allocations: 0 / 498.5 MB, free: 1.77 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3519, allocations: 0 / 498.5 MB, free: 1.77 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.000101/0.352, allocations: 0 / 498.5 MB, free: 1.77 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.01191/0.3639, allocations: 13.68 MB / 0.5001 GB, free: 4.082 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3639, allocations: 11.97 kB / 0.5001 GB, free: 4.07 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.3697, allocations: 5.588 MB / 0.5056 GB, free: 14.5 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00614/0.3759, allocations: 6.502 MB / 0.512 GB, free: 7.984 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007203/0.3766, allocations: 1.513 MB / 0.5134 GB, free: 6.359 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009295/0.3775, allocations: 1.162 MB / 0.5146 GB, free: 5.223 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.3982, allocations: 15.91 MB / 0.5301 GB, free: 5.27 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.3984, allocations: 4 kB / 0.5301 GB, free: 5.266 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009699/0.3993, allocations: 480.2 kB / 0.5306 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001577/0.4009, allocations: 1.765 MB / 0.5323 GB, free: 3.043 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/0.4298, allocations: 20.43 MB / 0.5522 GB, free: 14.54 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1934/0.6232, allocations: 48.32 MB / 0.5994 GB, free: 94.67 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.6272, allocations: 3.483 MB / 0.6028 GB, free: 93.76 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.6293, allocations: 1.812 MB / 0.6046 GB, free: 93.43 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01589/0.6452, allocations: 16.39 MB / 0.6206 GB, free: 82.68 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.6452, allocations: 80.48 kB / 0.6207 GB, free: 82.6 MB / 442.8 MB Notification: Performance of pre-optimization done (n=398): time 5.39e-06/0.6452, allocations: 0 / 0.6207 GB, free: 82.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=486): time 0.04556/0.6908, allocations: 30.02 MB / 0.65 GB, free: 53.1 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.0008396/0.6916, allocations: 2.498 MB / 0.6524 GB, free: 50.47 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/0.6954, allocations: 4.91 MB / 0.6572 GB, free: 45.68 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004905/0.6959, allocations: 105.7 kB / 0.6573 GB, free: 45.57 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.6978, allocations: 6.587 MB / 0.6638 GB, free: 39.75 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009304/0.6988, allocations: 1.75 MB / 0.6655 GB, free: 38.03 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.7004, allocations: 1.922 MB / 0.6674 GB, free: 36.1 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 2.638e-05/0.7005, allocations: 480.8 kB / 0.6678 GB, free: 35.62 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.7027, allocations: 1.634 MB / 0.6694 GB, free: 33.99 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003033/0.7057, allocations: 5.648 MB / 0.6749 GB, free: 26.61 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006367/0.7121, allocations: 8.232 MB / 0.683 GB, free: 17.11 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/0.7121, allocations: 31.94 kB / 0.683 GB, free: 17.07 MB / 442.8 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.01338/0.7255, allocations: 9.074 MB / 0.6919 GB, free: 8.621 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.7256, allocations: 46.95 kB / 0.6919 GB, free: 8.578 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.821e-05/0.7256, allocations: 92 kB / 0.692 GB, free: 8.488 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003437/0.7291, allocations: 1.837 MB / 0.6938 GB, free: 6.637 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007553/0.7366, allocations: 3.032 MB / 0.6967 GB, free: 3.762 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.7561, allocations: 34.92 MB / 0.7308 GB, free: 14.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/0.7601, allocations: 330.5 kB / 0.7312 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.7612, allocations: 1.081 MB / 0.7322 GB, free: 13.54 MB / 490.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.003278/0.7644, allocations: 0.6523 MB / 0.7329 GB, free: 13 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/0.7658, allocations: 0.8163 MB / 0.7336 GB, free: 12.18 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/0.7826, allocations: 9.924 MB / 0.7433 GB, free: 2.602 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.7826, allocations: 48 kB / 0.7434 GB, free: 2.555 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/0.7826, allocations: 12 kB / 0.7434 GB, free: 2.543 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.7827, allocations: 23.91 kB / 0.7434 GB, free: 2.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1888/0.9715, allocations: 20.21 MB / 0.7632 GB, free: 130.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.9715, allocations: 13.44 kB / 0.7632 GB, free: 130.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005628/0.9771, allocations: 1.734 MB / 0.7649 GB, free: 130.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/0.9809, allocations: 1.892 MB / 0.7667 GB, free: 130.5 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/0.9812, allocations: 181 kB / 0.7669 GB, free: 130.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.9973, allocations: 36.64 MB / 0.8027 GB, free: 96.9 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.0008302/0.9981, allocations: 2.296 MB / 0.8049 GB, free: 94.84 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.012, allocations: 7.953 MB / 0.8127 GB, free: 92.88 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.013, allocations: 0.514 MB / 0.8132 GB, free: 92.88 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006804/1.014, allocations: 118.5 kB / 0.8133 GB, free: 92.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.015, allocations: 183.9 kB / 0.8135 GB, free: 92.88 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006568/1.016, allocations: 455.2 kB / 0.8139 GB, free: 92.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/1.016, allocations: 261.2 kB / 0.8141 GB, free: 92.86 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002962/1.019, allocations: 2.605 MB / 0.8167 GB, free: 92.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.019, allocations: 0 / 0.8167 GB, free: 92.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006666/1.026, allocations: 2.222 MB / 0.8189 GB, free: 91.88 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.0007646/1.027, allocations: 0.5158 MB / 0.8194 GB, free: 91.71 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.009215/1.036, allocations: 8.18 MB / 0.8274 GB, free: 84.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.036, allocations: 0 / 0.8274 GB, free: 84.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004756/1.041, allocations: 5.207 MB / 0.8324 GB, free: 79.97 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.044, allocations: 1.573 MB / 0.834 GB, free: 78.82 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695: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: 2.8065226930193603]