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.001341/0.001341, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001571/0.001571, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.1451/0.1451, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.002076/0.002076, allocations: 75.89 kB / 472.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 59.86 MB / 0.5199 GB, free: 9.855 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.07881/0.4708, allocations: 61.7 MB / 0.5801 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04004/0.5108, allocations: 16.92 MB / 0.5967 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0179/0.5287, allocations: 179.1 kB / 0.5968 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.5402, allocations: 2.533 MB / 0.5993 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02016/0.5604, allocations: 3.568 MB / 0.6028 GB, free: 5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009918/0.5703, allocations: 2.867 MB / 0.6056 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02141/0.5917, allocations: 10.79 MB / 0.6161 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005224/0.5969, allocations: 2.399 MB / 0.6185 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.607, allocations: 4.547 MB / 0.6229 GB, free: 236 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.618, allocations: 6.098 MB / 0.6289 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004421/0.6225, allocations: 1.148 MB / 0.63 GB, free: 8.957 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009449/0.6319, allocations: 2.748 MB / 0.6327 GB, free: 6.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005646/0.6375, allocations: 3.227 MB / 0.6358 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01328/0.6508, allocations: 6.345 MB / 0.642 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03147/0.6823, allocations: 16.34 MB / 0.658 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6823, allocations: 0 / 0.658 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6823, allocations: 0 / 0.658 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007138/0.683, allocations: 0 / 0.658 GB, free: 12.19 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.03139/0.7144, allocations: 12.38 MB / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.7145, allocations: 8.031 kB / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.7209, allocations: 2.178 MB / 0.6722 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009386/0.7303, allocations: 4.344 MB / 0.6764 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001605/0.7319, allocations: 1.5 MB / 0.6779 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/0.7349, allocations: 1.133 MB / 0.679 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05999/0.7949, allocations: 39.4 MB / 0.7175 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/0.7951, allocations: 0 / 0.7175 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.7968, allocations: 467.9 kB / 0.7179 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/0.7989, allocations: 1.761 MB / 0.7197 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5786/1.377, allocations: 69.48 MB / 0.7875 GB, free: 137.5 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.08472/1.462, allocations: 63.97 MB / 0.85 GB, free: 74.35 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008138/1.47, allocations: 4.737 MB / 0.8546 GB, free: 69.59 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004749/1.475, allocations: 2.87 MB / 0.8574 GB, free: 66.71 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03304/1.508, allocations: 17.93 MB / 0.8749 GB, free: 48.98 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.508, allocations: 84.75 kB / 0.875 GB, free: 48.89 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 5.611e-06/1.508, allocations: 0 / 0.875 GB, free: 48.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.09791/1.606, allocations: 34.71 MB / 0.9089 GB, free: 14.64 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.00157/1.608, allocations: 1.881 MB / 0.9107 GB, free: 12.64 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006204/1.614, allocations: 5.593 MB / 0.9162 GB, free: 7.125 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/1.615, allocations: 109.6 kB / 0.9163 GB, free: 7.012 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.618, allocations: 6.152 MB / 0.9223 GB, free: 0.9375 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002449/1.62, allocations: 1.743 MB / 0.924 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003537/1.624, allocations: 1.815 MB / 0.9258 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002239/1.624, allocations: 305.1 kB / 0.9261 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005499/1.63, allocations: 2.684 MB / 0.9287 GB, free: 10.36 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008526/1.638, allocations: 5.355 MB / 0.9339 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/1.654, allocations: 8.92 MB / 0.9426 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.099e-05/1.654, allocations: 24 kB / 0.9427 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03324/1.687, allocations: 10.92 MB / 0.9533 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/1.687, allocations: 47.98 kB / 0.9534 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.687, allocations: 94.56 kB / 0.9534 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006784/1.694, allocations: 2.08 MB / 0.9555 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01416/1.708, allocations: 2.639 MB / 0.9581 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3161/2.024, allocations: 28.83 MB / 0.9862 GB, free: 176.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007/2.031, allocations: 276.3 kB / 0.9865 GB, free: 176.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003224/2.034, allocations: 1.068 MB / 0.9875 GB, free: 176.3 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.008545/2.043, allocations: 2.799 MB / 0.9903 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002334/2.045, allocations: 0.6954 MB / 0.9909 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03494/2.08, allocations: 11.3 MB / 1.002 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/2.08, allocations: 50.33 kB / 1.002 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.935e-05/2.08, allocations: 8.375 kB / 1.002 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/2.08, allocations: 26.88 kB / 1.002 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05579/2.136, allocations: 22.91 MB / 1.024 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.217e-05/2.136, allocations: 12.56 kB / 1.024 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009148/2.145, allocations: 1.352 MB / 1.026 GB, free: 161.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006502/2.152, allocations: 2 MB / 1.028 GB, free: 160.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009948/2.153, allocations: 172.4 kB / 1.028 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02922/2.182, allocations: 30.62 MB / 1.058 GB, free: 133.1 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.001488/2.184, allocations: 1.661 MB / 1.059 GB, free: 131.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/2.21, allocations: 10.09 MB / 1.069 GB, free: 125.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/2.212, allocations: 0.6521 MB / 1.07 GB, free: 125.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002422/2.214, allocations: 110.6 kB / 1.07 GB, free: 125.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004991/2.219, allocations: 135.4 kB / 1.07 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/2.221, allocations: 450.4 kB / 1.071 GB, free: 124.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000464/2.221, allocations: 256.5 kB / 1.071 GB, free: 124.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006762/2.228, allocations: 4.103 MB / 1.075 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/2.228, allocations: 4 kB / 1.075 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01134/2.239, allocations: 2.101 MB / 1.077 GB, free: 118.5 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.001878/2.241, allocations: 0.5373 MB / 1.077 GB, free: 118.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01718/2.258, allocations: 8.482 MB / 1.086 GB, free: 109.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.856e-05/2.258, allocations: 0 / 1.086 GB, free: 109.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01042/2.269, allocations: 4.848 MB / 1.09 GB, free: 104.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/2.28, allocations: 1.586 MB / 1.092 GB, free: 102.8 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.816442382027162] Failed to read output from testmodel.py, exit status != 0: 2.2905913459835574 2.2990502889999997 1.614071571 Calling exit ...