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.001509/0.001509, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001669/0.001669, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1284/0.1284, allocations: 23.93 MB / 337.1 MB, free: 10.89 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.00198/0.00198, allocations: 67.89 kB / 472.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2774, allocations: 59.88 MB / 0.5198 GB, free: 9.734 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.09603/0.3734, allocations: 54.62 MB / 0.5732 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03065/0.404, allocations: 15.59 MB / 0.5884 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008662/0.4127, allocations: 179.1 kB / 0.5886 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007062/0.4198, allocations: 2.447 MB / 0.591 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.4317, allocations: 3.579 MB / 0.5945 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007893/0.4396, allocations: 2.867 MB / 0.5973 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0164/0.456, allocations: 10.78 MB / 0.6078 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.4597, allocations: 2.399 MB / 0.6101 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005898/0.4656, allocations: 4.555 MB / 0.6146 GB, free: 8.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007982/0.4736, allocations: 6.102 MB / 0.6205 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.4754, allocations: 1.148 MB / 0.6216 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/0.4801, allocations: 2.186 MB / 0.6238 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.4828, allocations: 3.223 MB / 0.6269 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005611/0.4884, allocations: 4.795 MB / 0.6316 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.5075, allocations: 16.27 MB / 0.6475 GB, free: 6.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5075, allocations: 0 / 0.6475 GB, free: 6.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5075, allocations: 0 / 0.6475 GB, free: 6.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004053/0.5079, allocations: 0 / 0.6475 GB, free: 6.594 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: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.02216/0.5301, allocations: 12.38 MB / 0.6596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.5301, allocations: 8.031 kB / 0.6596 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/0.5386, allocations: 2.658 MB / 0.6622 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007988/0.5465, allocations: 4.363 MB / 0.6665 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0012/0.5477, allocations: 1.504 MB / 0.6679 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/0.5496, allocations: 1.136 MB / 0.669 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04932/0.5989, allocations: 39.54 MB / 0.7077 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.5991, allocations: 0 / 0.7077 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009164/0.6, allocations: 471.9 kB / 0.7081 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001835/0.6018, allocations: 1.765 MB / 0.7098 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4401/1.042, allocations: 69.57 MB / 0.7778 GB, free: 145.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.07399/1.116, allocations: 56.14 MB / 0.8326 GB, free: 91.57 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008758/1.125, allocations: 4.868 MB / 0.8373 GB, free: 86.66 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/1.13, allocations: 3.031 MB / 0.8403 GB, free: 83.63 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02869/1.158, allocations: 16.52 MB / 0.8564 GB, free: 67.26 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.158, allocations: 78.12 kB / 0.8565 GB, free: 67.18 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 8.355e-06/1.158, allocations: 2.688 kB / 0.8565 GB, free: 67.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.09863/1.257, allocations: 35.35 MB / 0.891 GB, free: 32.3 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.001369/1.258, allocations: 1.884 MB / 0.8929 GB, free: 30.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/1.263, allocations: 4.689 MB / 0.8974 GB, free: 25.74 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000813/1.263, allocations: 105.7 kB / 0.8975 GB, free: 25.63 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.265, allocations: 6.159 MB / 0.9036 GB, free: 19.57 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.267, allocations: 1.755 MB / 0.9053 GB, free: 17.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002098/1.269, allocations: 1.826 MB / 0.9071 GB, free: 15.97 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 2.779e-05/1.269, allocations: 301.1 kB / 0.9073 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004756/1.274, allocations: 2.846 MB / 0.9101 GB, free: 12.83 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/1.279, allocations: 5.534 MB / 0.9155 GB, free: 6.059 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.292, allocations: 9.209 MB / 0.9245 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.505e-05/1.292, allocations: 28 kB / 0.9245 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03184/1.324, allocations: 11.15 MB / 0.9354 GB, free: 0.5742 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/1.324, allocations: 47.94 kB / 0.9355 GB, free: 0.5273 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-05/1.324, allocations: 88 kB / 0.9356 GB, free: 452 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/1.331, allocations: 2.089 MB / 0.9376 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/1.345, allocations: 2.72 MB / 0.9403 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2424/1.588, allocations: 28.31 MB / 0.9679 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/1.594, allocations: 351.1 kB / 0.9682 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.596, allocations: 1.071 MB / 0.9693 GB, free: 186 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.005217/1.601, allocations: 2.795 MB / 0.972 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.602, allocations: 0.6064 MB / 0.9726 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0336/1.636, allocations: 11.54 MB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-05/1.636, allocations: 47.12 kB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.253e-05/1.636, allocations: 8.312 kB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/1.636, allocations: 23.2 kB / 0.984 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04746/1.684, allocations: 20.35 MB / 1.004 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/1.684, allocations: 13.38 kB / 1.004 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00932/1.693, allocations: 1.438 MB / 1.005 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005953/1.699, allocations: 1.992 MB / 1.007 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004025/1.699, allocations: 170.3 kB / 1.007 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02809/1.727, allocations: 30.07 MB / 1.037 GB, free: 147.2 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.001351/1.729, allocations: 1.652 MB / 1.038 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02883/1.758, allocations: 10.48 MB / 1.049 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.759, allocations: 0.5152 MB / 1.049 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.76, allocations: 116.5 kB / 1.049 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/1.764, allocations: 206.1 kB / 1.049 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008197/1.765, allocations: 450.6 kB / 1.05 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004244/1.765, allocations: 260.2 kB / 1.05 GB, free: 140.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003866/1.769, allocations: 3.296 MB / 1.053 GB, free: 139.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/1.769, allocations: 0 / 1.053 GB, free: 139.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007333/1.776, allocations: 2.048 MB / 1.055 GB, free: 137.4 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.0008534/1.777, allocations: 0.4901 MB / 1.056 GB, free: 137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.794, allocations: 8.817 MB / 1.064 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.794, allocations: 4 kB / 1.064 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01101/1.805, allocations: 5.049 MB / 1.069 GB, free: 122.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/1.81, allocations: 1.255 MB / 1.071 GB, free: 121.7 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.053303895998397] Failed to read output from testmodel.py, exit status != 0: 1.8182591380027588 1.826218757 1.316497648 Calling exit ...