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.001327/0.001327, allocations: 92.42 kB / 19.69 MB, free: 2.137 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.001435/0.001435, allocations: 211.3 kB / 23 MB, free: 4.938 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1464/0.1464, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.002059/0.002059, allocations: 67.91 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4456, allocations: 59.88 MB / 0.5198 GB, free: 9.758 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.1106/0.5562, allocations: 54.62 MB / 0.5732 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0417/0.5979, allocations: 15.58 MB / 0.5884 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/0.6141, allocations: 179.1 kB / 0.5886 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.6241, allocations: 2.459 MB / 0.591 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.6415, allocations: 3.587 MB / 0.5945 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.652, allocations: 2.859 MB / 0.5973 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02258/0.6746, allocations: 10.77 MB / 0.6078 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005098/0.6797, allocations: 2.399 MB / 0.6101 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.69, allocations: 4.555 MB / 0.6146 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.7022, allocations: 6.098 MB / 0.6205 GB, free: 2.375 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004742/0.7069, allocations: 1.148 MB / 0.6216 GB, free: 1.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009405/0.7163, allocations: 2.178 MB / 0.6238 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00582/0.7221, allocations: 3.235 MB / 0.6269 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.7344, allocations: 4.791 MB / 0.6316 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03239/0.7668, allocations: 16.27 MB / 0.6475 GB, free: 6.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7668, allocations: 0 / 0.6475 GB, free: 6.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.7668, allocations: 0 / 0.6475 GB, free: 6.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000727/0.7675, allocations: 0 / 0.6475 GB, free: 6.645 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.0338/0.8013, allocations: 12.38 MB / 0.6596 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.8014, allocations: 8.031 kB / 0.6596 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.8126, allocations: 2.662 MB / 0.6622 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.8245, allocations: 4.363 MB / 0.6665 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001829/0.8263, allocations: 1.5 MB / 0.6679 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/0.8297, allocations: 1.133 MB / 0.669 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0623/0.892, allocations: 39.54 MB / 0.7076 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.8922, allocations: 4 kB / 0.7076 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/0.8937, allocations: 467.9 kB / 0.7081 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/0.8957, allocations: 1.769 MB / 0.7098 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5826/1.478, 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.08293/1.561, allocations: 56.14 MB / 0.8326 GB, free: 91.66 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009565/1.571, allocations: 4.867 MB / 0.8373 GB, free: 86.76 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005727/1.577, allocations: 3.024 MB / 0.8403 GB, free: 83.73 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03224/1.609, allocations: 16.52 MB / 0.8564 GB, free: 67.36 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/1.609, allocations: 78.12 kB / 0.8565 GB, free: 67.27 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 7.083e-06/1.609, allocations: 0 / 0.8565 GB, free: 67.27 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.1073/1.716, allocations: 35.37 MB / 0.891 GB, free: 32.39 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.001597/1.718, allocations: 1.877 MB / 0.8929 GB, free: 30.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/1.723, allocations: 4.684 MB / 0.8974 GB, free: 25.85 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/1.724, allocations: 105.7 kB / 0.8975 GB, free: 25.74 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002478/1.727, allocations: 6.157 MB / 0.9036 GB, free: 19.68 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.729, allocations: 1.751 MB / 0.9053 GB, free: 17.92 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/1.731, allocations: 1.826 MB / 0.907 GB, free: 16.09 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/1.731, allocations: 301.1 kB / 0.9073 GB, free: 15.79 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/1.737, allocations: 2.853 MB / 0.9101 GB, free: 12.94 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006883/1.744, allocations: 5.53 MB / 0.9155 GB, free: 6.168 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.759, allocations: 9.214 MB / 0.9245 GB, free: 11.83 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.759, allocations: 24 kB / 0.9245 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.038/1.797, allocations: 11.15 MB / 0.9354 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/1.797, allocations: 50.59 kB / 0.9355 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.797, allocations: 88.16 kB / 0.9356 GB, free: 0.5508 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007272/1.804, allocations: 2.089 MB / 0.9376 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/1.82, allocations: 2.718 MB / 0.9403 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3255/2.145, allocations: 28.32 MB / 0.9679 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007218/2.152, allocations: 349.3 kB / 0.9682 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002887/2.155, allocations: 1.069 MB / 0.9693 GB, free: 185.9 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.008199/2.164, allocations: 2.801 MB / 0.972 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002187/2.166, allocations: 0.6048 MB / 0.9726 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03872/2.204, allocations: 11.53 MB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/2.205, allocations: 49.88 kB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/2.205, allocations: 10.12 kB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001449/2.205, allocations: 23.67 kB / 0.9839 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05719/2.262, allocations: 20.35 MB / 1.004 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/2.262, allocations: 13.19 kB / 1.004 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009967/2.272, allocations: 1.429 MB / 1.005 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006229/2.278, allocations: 1.997 MB / 1.007 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007968/2.279, allocations: 171.8 kB / 1.007 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03095/2.31, allocations: 30.07 MB / 1.037 GB, free: 147.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.001428/2.311, allocations: 1.66 MB / 1.038 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03039/2.342, allocations: 10.47 MB / 1.049 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/2.343, allocations: 0.5094 MB / 1.049 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/2.345, allocations: 127.6 kB / 1.049 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004042/2.349, allocations: 204.6 kB / 1.049 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009885/2.35, allocations: 448 kB / 1.05 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/2.35, allocations: 250.6 kB / 1.05 GB, free: 140.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004514/2.354, allocations: 3.297 MB / 1.053 GB, free: 139.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/2.354, allocations: 2.656 kB / 1.053 GB, free: 139.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009209/2.364, allocations: 2.049 MB / 1.055 GB, free: 137.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.00133/2.365, allocations: 0.5006 MB / 1.056 GB, free: 137.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01739/2.382, allocations: 8.813 MB / 1.064 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-05/2.382, allocations: 4 kB / 1.064 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/2.394, allocations: 5.045 MB / 1.069 GB, free: 123 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00723/2.402, allocations: 1.26 MB / 1.071 GB, free: 121.8 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.928787686993019] Failed to read output from testmodel.py, exit status != 0: 2.410863224999048 2.418998551 1.649663473 Calling exit ...