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.00141/0.00141, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001604/0.001604, allocations: 212.3 kB / 22.25 MB, free: 5.086 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 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.1442/0.1442, allocations: 23.89 MB / 336.3 MB, free: 11.2 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.02 kB / 471.7 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3833, allocations: 59.87 MB / 0.5191 GB, free: 10.11 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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:1350:7-1350: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.08151/0.4648, allocations: 61.65 MB / 0.5793 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0441/0.5089, allocations: 16.92 MB / 0.5958 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01105/0.5199, allocations: 175.1 kB / 0.596 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009113/0.529, allocations: 2.533 MB / 0.5985 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0159/0.5449, allocations: 3.564 MB / 0.602 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.555, allocations: 2.879 MB / 0.6048 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02239/0.5774, allocations: 10.78 MB / 0.6153 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005423/0.5829, allocations: 2.399 MB / 0.6177 GB, free: 4.984 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009152/0.592, allocations: 4.555 MB / 0.6221 GB, free: 424 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.6036, allocations: 6.094 MB / 0.6281 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004601/0.6082, allocations: 1.148 MB / 0.6292 GB, free: 9.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.6184, allocations: 2.744 MB / 0.6319 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005488/0.6238, allocations: 3.235 MB / 0.635 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01235/0.6362, allocations: 6.341 MB / 0.6412 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03194/0.6681, allocations: 16.33 MB / 0.6572 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.6682, allocations: 0 / 0.6572 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6682, allocations: 4 kB / 0.6572 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006834/0.6688, allocations: 0 / 0.6572 GB, free: 12.38 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.03005/0.6989, allocations: 12.39 MB / 0.6693 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6989, allocations: 8.031 kB / 0.6693 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006343/0.7053, allocations: 2.182 MB / 0.6714 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00972/0.715, allocations: 4.34 MB / 0.6756 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00177/0.7168, allocations: 1.5 MB / 0.6771 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003098/0.7199, allocations: 1.133 MB / 0.6782 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06647/0.7863, allocations: 39.4 MB / 0.7167 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/0.7868, allocations: 0 / 0.7167 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002791/0.7896, allocations: 467.9 kB / 0.7171 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002337/0.7919, allocations: 1.765 MB / 0.7189 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5226/1.314, allocations: 69.48 MB / 0.7867 GB, free: 137.9 MB / 0.5607 GB 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.09582/1.41, allocations: 63.97 MB / 0.8492 GB, free: 74.68 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008889/1.419, allocations: 4.73 MB / 0.8538 GB, free: 69.93 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/1.424, allocations: 2.867 MB / 0.8566 GB, free: 67.05 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03769/1.462, allocations: 17.94 MB / 0.8741 GB, free: 49.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/1.462, allocations: 78.12 kB / 0.8742 GB, free: 49.22 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 6.823e-06/1.462, allocations: 2.688 kB / 0.8742 GB, free: 49.22 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.1033/1.565, allocations: 34.71 MB / 0.9081 GB, free: 14.97 MB / 0.5607 GB 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.001533/1.567, allocations: 1.888 MB / 0.9099 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006502/1.573, allocations: 5.595 MB / 0.9154 GB, free: 7.449 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.574, allocations: 105.7 kB / 0.9155 GB, free: 7.34 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002713/1.577, allocations: 6.141 MB / 0.9215 GB, free: 1.266 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00237/1.579, allocations: 1.751 MB / 0.9232 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003334/1.583, allocations: 1.822 MB / 0.925 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.583, allocations: 301.1 kB / 0.9253 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005342/1.588, allocations: 2.68 MB / 0.9279 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008268/1.597, allocations: 5.358 MB / 0.9331 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.612, allocations: 8.914 MB / 0.9418 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.018e-05/1.612, allocations: 24 kB / 0.9419 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03425/1.646, allocations: 10.92 MB / 0.9525 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/1.646, allocations: 42.66 kB / 0.9526 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/1.646, allocations: 92 kB / 0.9526 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/1.654, allocations: 2.077 MB / 0.9547 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01468/1.668, allocations: 2.64 MB / 0.9573 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.369/2.037, allocations: 28.84 MB / 0.9854 GB, free: 176.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007285/2.045, allocations: 280.3 kB / 0.9857 GB, free: 176.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003018/2.048, allocations: 1.064 MB / 0.9867 GB, free: 176.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * 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 (838): * Single equations (assignments): 818 * 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.008504/2.056, allocations: 2.797 MB / 0.9895 GB, free: 175.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00235/2.058, allocations: 0.6959 MB / 0.9901 GB, free: 175.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03534/2.094, allocations: 11.31 MB / 1.001 GB, free: 171.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.722e-05/2.094, allocations: 47.25 kB / 1.001 GB, free: 171.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-05/2.094, allocations: 9.031 kB / 1.001 GB, free: 171.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001283/2.094, allocations: 26.78 kB / 1.001 GB, free: 171.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05641/2.15, allocations: 22.91 MB / 1.024 GB, free: 161.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.33e-05/2.151, allocations: 11.66 kB / 1.024 GB, free: 161.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009384/2.16, allocations: 1.355 MB / 1.025 GB, free: 161.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/2.166, allocations: 1.993 MB / 1.027 GB, free: 160.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/2.167, allocations: 181.7 kB / 1.027 GB, free: 160.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03085/2.198, allocations: 30.62 MB / 1.057 GB, free: 133.4 MB / 0.6075 GB 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.001515/2.199, allocations: 1.648 MB / 1.059 GB, free: 131.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02851/2.228, allocations: 10.1 MB / 1.068 GB, free: 126.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/2.23, allocations: 0.6424 MB / 1.069 GB, free: 125.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/2.232, allocations: 124.7 kB / 1.069 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/2.236, allocations: 132 kB / 1.069 GB, free: 125.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/2.238, allocations: 450.8 kB / 1.07 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000375/2.238, allocations: 255.9 kB / 1.07 GB, free: 125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006102/2.244, allocations: 4.103 MB / 1.074 GB, free: 120.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/2.244, allocations: 0 / 1.074 GB, free: 120.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01111/2.255, allocations: 2.099 MB / 1.076 GB, free: 118.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (433): * Single equations (assignments): 413 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (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%)} * 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.001809/2.257, allocations: 0.545 MB / 1.077 GB, free: 118.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01677/2.274, allocations: 8.476 MB / 1.085 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/2.274, allocations: 0 / 1.085 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/2.284, allocations: 4.849 MB / 1.09 GB, free: 104.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009081/2.293, allocations: 1.583 MB / 1.091 GB, free: 103.2 MB / 0.6075 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.881710747722536] Failed to read output from testmodel.py, exit status != 0: 2.302757662255317 2.315470055 1.644118809 Calling exit ...