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.001356/0.001356, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001517/0.001517, allocations: 223.1 kB / 23 MB, free: 4.91 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1438/0.1438, allocations: 23.98 MB / 337.2 MB, free: 10.87 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.002163/0.002163, allocations: 75.83 kB / 472.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3382, allocations: 59.89 MB / 0.5199 GB, free: 9.762 MB / 382.1 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.1044/0.4426, allocations: 55.45 MB / 0.5741 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03903/0.4817, allocations: 15.96 MB / 0.5897 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01282/0.4945, allocations: 179.1 kB / 0.5899 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009469/0.504, allocations: 2.47 MB / 0.5923 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.519, allocations: 3.638 MB / 0.5958 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009907/0.5289, allocations: 2.969 MB / 0.5987 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01982/0.5487, allocations: 10.99 MB / 0.6094 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005812/0.5545, allocations: 2.378 MB / 0.6118 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009619/0.5642, allocations: 4.625 MB / 0.6163 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.5743, allocations: 5.461 MB / 0.6216 GB, free: 1.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003955/0.5783, allocations: 1.168 MB / 0.6228 GB, free: 84 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007412/0.5857, allocations: 2.205 MB / 0.6249 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005269/0.5909, allocations: 3.27 MB / 0.6281 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01007/0.601, allocations: 4.876 MB / 0.6329 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02659/0.6276, allocations: 16.52 MB / 0.649 GB, free: 5.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6276, allocations: 0 / 0.649 GB, free: 5.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6276, allocations: 0 / 0.649 GB, free: 5.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000624/0.6282, allocations: 7.938 kB / 0.649 GB, free: 5.102 MB / 494.1 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.02785/0.6561, allocations: 12.54 MB / 0.6612 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6561, allocations: 12.03 kB / 0.6613 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009316/0.6654, allocations: 2.646 MB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009972/0.6754, allocations: 4.418 MB / 0.6682 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001667/0.6771, allocations: 1.515 MB / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003243/0.6803, allocations: 1.156 MB / 0.6708 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0613/0.7416, allocations: 40.97 MB / 0.7108 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004309/0.7421, allocations: 4 kB / 0.7108 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/0.7447, allocations: 475.9 kB / 0.7112 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/0.7468, allocations: 1.765 MB / 0.713 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5404/1.287, allocations: 73.61 MB / 0.7848 GB, free: 138.8 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.08391/1.371, allocations: 58.06 MB / 0.8415 GB, free: 82.15 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008656/1.38, allocations: 4.84 MB / 0.8463 GB, free: 77.28 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005765/1.386, allocations: 3.105 MB / 0.8493 GB, free: 74.18 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03231/1.418, allocations: 17.48 MB / 0.8664 GB, free: 56.86 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/1.418, allocations: 74.12 kB / 0.8664 GB, free: 56.78 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=398): time 8.386e-06/1.418, allocations: 4 kB / 0.8664 GB, free: 56.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=486): time 0.09609/1.514, allocations: 35.16 MB / 0.9008 GB, free: 22.07 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.001484/1.515, allocations: 1.867 MB / 0.9026 GB, free: 20.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005436/1.521, allocations: 4.765 MB / 0.9072 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.522, allocations: 105.7 kB / 0.9073 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002997/1.525, allocations: 6.26 MB / 0.9135 GB, free: 9.164 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002392/1.528, allocations: 1.755 MB / 0.9152 GB, free: 7.395 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002424/1.53, allocations: 1.873 MB / 0.917 GB, free: 5.516 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/1.53, allocations: 309.1 kB / 0.9173 GB, free: 5.211 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005014/1.535, allocations: 2.865 MB / 0.9201 GB, free: 2.348 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008493/1.544, allocations: 5.646 MB / 0.9256 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/1.562, allocations: 9.381 MB / 0.9348 GB, free: 0.8672 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.562, allocations: 28 kB / 0.9348 GB, free: 0.8398 MB / 0.5763 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.03601/1.598, allocations: 11.26 MB / 0.9458 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/1.598, allocations: 47.98 kB / 0.9458 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.598, allocations: 92 kB / 0.9459 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006736/1.605, allocations: 2.067 MB / 0.9479 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0182/1.623, allocations: 3.355 MB / 0.9512 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3228/1.946, allocations: 28.19 MB / 0.9788 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006822/1.952, allocations: 389.3 kB / 0.9791 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002322/1.955, allocations: 1.108 MB / 0.9802 GB, free: 178.7 MB / 0.6075 GB 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.006842/1.962, allocations: 2.82 MB / 0.983 GB, free: 178.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/1.964, allocations: 0.6124 MB / 0.9836 GB, free: 178.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03351/1.997, allocations: 11.66 MB / 0.9949 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.927e-05/1.997, allocations: 46.22 kB / 0.995 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-05/1.997, allocations: 8.562 kB / 0.995 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001342/1.997, allocations: 27.78 kB / 0.995 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05028/2.048, allocations: 20.37 MB / 1.015 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/2.048, allocations: 11 kB / 1.015 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/2.06, allocations: 2.027 MB / 1.017 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/2.066, allocations: 1.958 MB / 1.019 GB, free: 165.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008637/2.066, allocations: 180.6 kB / 1.019 GB, free: 165 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02846/2.095, allocations: 30.01 MB / 1.048 GB, free: 138.3 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.001326/2.096, allocations: 1.656 MB / 1.05 GB, free: 136.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02881/2.125, allocations: 10.72 MB / 1.06 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/2.127, allocations: 0.5155 MB / 1.061 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00197/2.129, allocations: 118.8 kB / 1.061 GB, free: 132.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004805/2.134, allocations: 245.2 kB / 1.061 GB, free: 132 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/2.135, allocations: 442.9 kB / 1.062 GB, free: 131.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004619/2.136, allocations: 267.8 kB / 1.062 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004779/2.14, allocations: 3.339 MB / 1.065 GB, free: 128 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/2.14, allocations: 0 / 1.065 GB, free: 128 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009559/2.15, allocations: 2.081 MB / 1.067 GB, free: 126 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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.001432/2.151, allocations: 0.5081 MB / 1.068 GB, free: 125.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01923/2.171, allocations: 9.04 MB / 1.077 GB, free: 116.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-05/2.171, allocations: 4 kB / 1.077 GB, free: 116.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01186/2.182, allocations: 5.084 MB / 1.081 GB, free: 111.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007705/2.19, allocations: 1.268 MB / 1.083 GB, free: 109.9 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.660632472019643] Failed to read output from testmodel.py, exit status != 0: 2.2000015559606254 2.208746228 1.578543086 Calling exit ...