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.001344/0.001344, allocations: 92.42 kB / 19.7 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.001501/0.001501, allocations: 212.6 kB / 22.99 MB, free: 4.953 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1366/0.1366, allocations: 23.93 MB / 337.1 MB, free: 10.92 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.002025/0.002025, allocations: 67.89 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.337, 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.1016/0.4385, allocations: 54.68 MB / 0.5732 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03345/0.472, allocations: 15.58 MB / 0.5884 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009274/0.4813, allocations: 183.1 kB / 0.5886 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00881/0.4901, allocations: 2.451 MB / 0.591 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.505, allocations: 3.579 MB / 0.5945 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009922/0.515, allocations: 2.867 MB / 0.5973 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02025/0.5352, allocations: 10.78 MB / 0.6078 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004722/0.5399, allocations: 2.399 MB / 0.6102 GB, free: 13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008475/0.5484, allocations: 4.547 MB / 0.6146 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.5592, allocations: 6.106 MB / 0.6206 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00378/0.563, allocations: 1.148 MB / 0.6217 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007796/0.5708, allocations: 2.178 MB / 0.6238 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005761/0.5766, allocations: 3.223 MB / 0.627 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01069/0.5873, allocations: 4.798 MB / 0.6317 GB, free: 6.922 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.028/0.6153, allocations: 16.27 MB / 0.6476 GB, free: 6.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6153, allocations: 0 / 0.6476 GB, free: 6.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6153, allocations: 0 / 0.6476 GB, free: 6.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005678/0.6158, allocations: 4 kB / 0.6476 GB, free: 6.578 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.02979/0.6456, allocations: 12.38 MB / 0.6597 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6457, allocations: 12.03 kB / 0.6597 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.6564, allocations: 2.654 MB / 0.6623 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.6667, allocations: 4.359 MB / 0.6665 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001843/0.6686, allocations: 1.5 MB / 0.668 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003633/0.6722, allocations: 1.133 MB / 0.6691 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06164/0.7339, allocations: 39.55 MB / 0.7077 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.7342, allocations: 0 / 0.7077 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/0.736, allocations: 463.9 kB / 0.7082 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/0.738, allocations: 1.761 MB / 0.7099 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5159/1.254, allocations: 69.57 MB / 0.7778 GB, free: 145.6 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.08114/1.335, allocations: 56.14 MB / 0.8326 GB, free: 91.43 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009183/1.344, allocations: 4.866 MB / 0.8374 GB, free: 86.52 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/1.35, allocations: 3.027 MB / 0.8403 GB, free: 83.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03398/1.384, allocations: 16.52 MB / 0.8565 GB, free: 67.12 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/1.384, allocations: 88.77 kB / 0.8566 GB, free: 67.03 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 7.174e-06/1.384, allocations: 0 / 0.8566 GB, free: 67.03 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.114/1.498, allocations: 35.36 MB / 0.8911 GB, free: 32.15 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.001652/1.5, allocations: 1.878 MB / 0.8929 GB, free: 30.16 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/1.505, allocations: 4.685 MB / 0.8975 GB, free: 25.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/1.507, allocations: 105.7 kB / 0.8976 GB, free: 25.49 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.51, allocations: 6.158 MB / 0.9036 GB, free: 19.44 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002374/1.512, allocations: 1.751 MB / 0.9053 GB, free: 17.67 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00327/1.515, allocations: 1.823 MB / 0.9071 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.855e-05/1.516, allocations: 305.1 kB / 0.9074 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005291/1.521, allocations: 2.849 MB / 0.9102 GB, free: 12.69 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00718/1.528, allocations: 5.526 MB / 0.9156 GB, free: 5.926 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/1.543, allocations: 9.225 MB / 0.9246 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.543, allocations: 24 kB / 0.9246 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03631/1.58, allocations: 11.15 MB / 0.9355 GB, free: 444 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/1.58, allocations: 47.94 kB / 0.9355 GB, free: 396 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.58, allocations: 88 kB / 0.9356 GB, free: 308 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007037/1.587, allocations: 2.082 MB / 0.9377 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/1.602, allocations: 2.716 MB / 0.9403 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3015/1.904, allocations: 28.31 MB / 0.968 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007289/1.911, allocations: 348.5 kB / 0.9683 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002593/1.913, allocations: 1.07 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.007882/1.921, allocations: 2.796 MB / 0.9721 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/1.924, allocations: 0.612 MB / 0.9727 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03944/1.963, allocations: 11.53 MB / 0.9839 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-05/1.963, allocations: 51.45 kB / 0.984 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.3e-05/1.963, allocations: 12.53 kB / 0.984 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000142/1.963, allocations: 25.05 kB / 0.984 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06113/2.025, allocations: 20.35 MB / 1.004 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.405e-05/2.025, allocations: 16.53 kB / 1.004 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01026/2.035, allocations: 1.434 MB / 1.005 GB, free: 174.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006406/2.041, allocations: 1.988 MB / 1.007 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.042, allocations: 174.3 kB / 1.007 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03098/2.073, allocations: 30.06 MB / 1.037 GB, free: 147.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.001486/2.075, allocations: 1.648 MB / 1.038 GB, free: 145.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03111/2.106, allocations: 10.48 MB / 1.049 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/2.108, allocations: 0.5141 MB / 1.049 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/2.11, allocations: 122.4 kB / 1.049 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004759/2.114, allocations: 204.6 kB / 1.049 GB, free: 140.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/2.115, allocations: 451.6 kB / 1.05 GB, free: 140.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000406/2.116, allocations: 250.7 kB / 1.05 GB, free: 140.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004891/2.121, allocations: 3.303 MB / 1.053 GB, free: 139.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/2.121, allocations: 0 / 1.053 GB, free: 139.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01085/2.132, allocations: 2.045 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.001596/2.133, allocations: 0.5038 MB / 1.056 GB, free: 136.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01915/2.152, allocations: 8.809 MB / 1.064 GB, free: 128 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.587e-05/2.152, allocations: 4 kB / 1.064 GB, free: 128 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0138/2.166, allocations: 5.045 MB / 1.069 GB, free: 122.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008166/2.174, allocations: 1.261 MB / 1.071 GB, free: 121.6 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.667546223005047] Failed to read output from testmodel.py, exit status != 0: 2.183911148982588 2.192907636 1.5750914329999999 Calling exit ...