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.001592/0.001592, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002348/0.002348, allocations: 218.7 kB / 22.25 MB, free: 5.258 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.785 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.1546/0.1546, allocations: 23.92 MB / 336.3 MB, free: 10.9 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.002092/0.002092, allocations: 63.91 kB / 471.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4442, allocations: 59.87 MB / 0.5191 GB, free: 9.789 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.1095/0.5537, allocations: 54.72 MB / 0.5725 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04002/0.5937, allocations: 15.57 MB / 0.5877 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01449/0.6082, allocations: 179.1 kB / 0.5879 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009615/0.6178, allocations: 2.451 MB / 0.5903 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.6341, allocations: 3.579 MB / 0.5938 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.6443, allocations: 2.871 MB / 0.5966 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0189/0.6632, allocations: 10.78 MB / 0.6071 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.6675, allocations: 2.396 MB / 0.6095 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00877/0.6763, allocations: 4.555 MB / 0.6139 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.6872, allocations: 6.106 MB / 0.6199 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004798/0.692, allocations: 1.148 MB / 0.621 GB, free: 1.078 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009603/0.7016, allocations: 2.182 MB / 0.6231 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00488/0.7065, allocations: 3.223 MB / 0.6263 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01215/0.7187, allocations: 4.798 MB / 0.631 GB, free: 6.836 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03036/0.749, allocations: 16.27 MB / 0.6468 GB, free: 6.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.749, allocations: 0 / 0.6468 GB, free: 6.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.749, allocations: 0 / 0.6468 GB, free: 6.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000699/0.7497, allocations: 0 / 0.6468 GB, free: 6.5 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.04019/0.7899, allocations: 12.38 MB / 0.6589 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.79, allocations: 12.03 kB / 0.659 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.8012, allocations: 2.65 MB / 0.6615 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.8134, allocations: 4.367 MB / 0.6658 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002738/0.8161, allocations: 1.504 MB / 0.6673 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004739/0.8209, allocations: 1.133 MB / 0.6684 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0695/0.8904, allocations: 39.53 MB / 0.707 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004413/0.8908, allocations: 4 kB / 0.707 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002753/0.8936, allocations: 467.9 kB / 0.7074 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.8958, allocations: 1.768 MB / 0.7092 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6481/1.544, allocations: 69.57 MB / 0.7771 GB, free: 145.7 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.08966/1.634, allocations: 56.13 MB / 0.8319 GB, free: 91.47 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.644, allocations: 4.875 MB / 0.8367 GB, free: 86.56 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006174/1.65, allocations: 3.036 MB / 0.8396 GB, free: 83.52 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03596/1.686, allocations: 16.51 MB / 0.8558 GB, free: 67.15 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/1.686, allocations: 80.81 kB / 0.8559 GB, free: 67.07 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 7.905e-06/1.686, allocations: 0 / 0.8559 GB, free: 67.07 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.1025/1.788, allocations: 35.35 MB / 0.8904 GB, free: 32.19 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.001567/1.79, allocations: 1.878 MB / 0.8922 GB, free: 30.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006986/1.797, allocations: 4.685 MB / 0.8968 GB, free: 25.64 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.798, allocations: 105.7 kB / 0.8969 GB, free: 25.53 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.801, allocations: 6.165 MB / 0.9029 GB, free: 19.46 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002163/1.803, allocations: 1.753 MB / 0.9046 GB, free: 17.69 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004469/1.808, allocations: 1.823 MB / 0.9064 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/1.808, allocations: 301.1 kB / 0.9067 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/1.813, allocations: 2.846 MB / 0.9095 GB, free: 12.72 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/1.821, allocations: 5.534 MB / 0.9149 GB, free: 5.945 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/1.836, allocations: 9.211 MB / 0.9239 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-05/1.836, allocations: 28 kB / 0.9239 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03438/1.871, allocations: 11.15 MB / 0.9348 GB, free: 472 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.871, allocations: 50.91 kB / 0.9348 GB, free: 424 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/1.871, allocations: 91.98 kB / 0.9349 GB, free: 332 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007751/1.879, allocations: 2.08 MB / 0.9369 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01609/1.895, allocations: 2.714 MB / 0.9396 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3471/2.242, allocations: 28.32 MB / 0.9672 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007598/2.249, allocations: 349.9 kB / 0.9676 GB, free: 185.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002896/2.252, allocations: 1.073 MB / 0.9686 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.008051/2.26, allocations: 2.795 MB / 0.9714 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00207/2.263, allocations: 0.6039 MB / 0.9719 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03488/2.297, allocations: 11.54 MB / 0.9832 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.247e-05/2.297, allocations: 46.56 kB / 0.9833 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/2.298, allocations: 9.906 kB / 0.9833 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001295/2.298, allocations: 25.52 kB / 0.9833 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06295/2.361, allocations: 20.34 MB / 1.003 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.467e-05/2.361, allocations: 16.97 kB / 1.003 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01084/2.372, allocations: 1.431 MB / 1.005 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006351/2.378, allocations: 1.996 MB / 1.007 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001244/2.379, allocations: 172.4 kB / 1.007 GB, free: 173.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02832/2.407, allocations: 30.07 MB / 1.036 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.001281/2.409, allocations: 1.651 MB / 1.038 GB, free: 145.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/2.436, allocations: 10.48 MB / 1.048 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/2.437, allocations: 0.5174 MB / 1.048 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.438, allocations: 123.7 kB / 1.049 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/2.442, allocations: 209.8 kB / 1.049 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009505/2.443, allocations: 448.2 kB / 1.049 GB, free: 140.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/2.444, allocations: 254.3 kB / 1.049 GB, free: 140.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004597/2.448, allocations: 3.303 MB / 1.053 GB, free: 139.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.448, allocations: 0 / 1.053 GB, free: 139.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009469/2.458, allocations: 2.048 MB / 1.055 GB, free: 137.3 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.001424/2.459, allocations: 0.4945 MB / 1.055 GB, free: 136.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01858/2.478, allocations: 8.805 MB / 1.064 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-05/2.478, allocations: 0.625 kB / 1.064 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/2.489, allocations: 5.044 MB / 1.069 GB, free: 122.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006627/2.495, allocations: 1.263 MB / 1.07 GB, free: 121.6 MB / 0.6075 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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 657] [Calling sys.exit(0), Time elapsed: 5.2903204071335495] Failed to read output from testmodel.py, exit status != 0: 2.5049894750118256 2.513816602 1.762284667 Calling exit ...