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.001425/0.001425, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001693/0.001693, allocations: 218.3 kB / 22.25 MB, free: 5.102 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.382/1.382, allocations: 230.6 MB / 256 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.1277/0.1277, allocations: 23.92 MB / 336.4 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: "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) [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.001905/0.001905, allocations: 71.89 kB / 471.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2968, allocations: 59.87 MB / 0.5186 GB, free: 9.496 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.1007/0.3975, allocations: 54.69 MB / 0.572 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03871/0.4362, allocations: 15.59 MB / 0.5872 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009826/0.446, allocations: 179.1 kB / 0.5874 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008206/0.4542, allocations: 2.447 MB / 0.5898 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.4663, allocations: 3.575 MB / 0.5933 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008479/0.4748, allocations: 2.867 MB / 0.5961 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01723/0.492, allocations: 10.78 MB / 0.6066 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004298/0.4963, allocations: 2.396 MB / 0.6089 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006981/0.5033, allocations: 4.551 MB / 0.6134 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009703/0.513, allocations: 6.11 MB / 0.6194 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003106/0.5161, allocations: 1.152 MB / 0.6205 GB, free: 1.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006086/0.5222, allocations: 2.178 MB / 0.6226 GB, free: 15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003965/0.5261, allocations: 3.227 MB / 0.6258 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008802/0.5349, allocations: 4.791 MB / 0.6304 GB, free: 6.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02467/0.5596, allocations: 16.28 MB / 0.6463 GB, free: 6.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5596, allocations: 0 / 0.6463 GB, free: 6.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5596, allocations: 0 / 0.6463 GB, free: 6.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004943/0.5601, allocations: 0 / 0.6463 GB, free: 6.605 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.02748/0.5876, allocations: 12.38 MB / 0.6584 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5876, allocations: 8.031 kB / 0.6584 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00344/0.5911, allocations: 1.705 MB / 0.6601 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.6014, allocations: 2.658 MB / 0.6627 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009109/0.6105, allocations: 4.359 MB / 0.667 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/0.6118, allocations: 1.504 MB / 0.6684 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/0.6139, allocations: 1.133 MB / 0.6695 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05345/0.6674, allocations: 39.54 MB / 0.7081 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/0.6677, allocations: 0 / 0.7081 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001933/0.6696, allocations: 467.9 kB / 0.7086 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/0.6716, allocations: 1.761 MB / 0.7103 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4495/1.121, allocations: 69.57 MB / 0.7783 GB, free: 144 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.07529/1.196, allocations: 58.95 MB / 0.8358 GB, free: 86.95 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00847/1.205, allocations: 4.879 MB / 0.8406 GB, free: 82.03 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004785/1.21, allocations: 3.025 MB / 0.8435 GB, free: 79.01 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02869/1.238, allocations: 16.67 MB / 0.8598 GB, free: 62.52 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.238, allocations: 82.12 kB / 0.8599 GB, free: 62.43 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 6.692e-06/1.238, allocations: 2.688 kB / 0.8599 GB, free: 62.43 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.09934/1.338, allocations: 35.45 MB / 0.8945 GB, free: 27.46 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.001436/1.339, allocations: 1.878 MB / 0.8964 GB, free: 25.46 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005616/1.345, allocations: 5.74 MB / 0.902 GB, free: 19.85 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.346, allocations: 101.7 kB / 0.9021 GB, free: 19.74 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.348, allocations: 6.145 MB / 0.9081 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/1.35, allocations: 1.759 MB / 0.9098 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002171/1.352, allocations: 1.819 MB / 0.9116 GB, free: 10.01 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.966e-05/1.352, allocations: 305.1 kB / 0.9118 GB, free: 9.707 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004695/1.357, allocations: 2.853 MB / 0.9146 GB, free: 6.855 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00558/1.363, allocations: 5.526 MB / 0.92 GB, free: 92 kB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/1.379, allocations: 9.215 MB / 0.929 GB, free: 5.754 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.688e-05/1.379, allocations: 24 kB / 0.9291 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03416/1.413, allocations: 11.24 MB / 0.94 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/1.413, allocations: 44 kB / 0.9401 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.281e-05/1.413, allocations: 94.59 kB / 0.9402 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006712/1.42, allocations: 2.093 MB / 0.9422 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01507/1.435, allocations: 2.71 MB / 0.9449 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2395/1.674, allocations: 28.67 MB / 0.9728 GB, free: 182.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/1.681, allocations: 356.2 kB / 0.9732 GB, free: 182.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.683, allocations: 1.069 MB / 0.9742 GB, free: 182.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.005351/1.688, allocations: 2.795 MB / 0.977 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001816/1.69, allocations: 0.6947 MB / 0.9776 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03455/1.724, allocations: 11.6 MB / 0.989 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/1.725, allocations: 47.88 kB / 0.989 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/1.725, allocations: 9.469 kB / 0.989 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.755e-05/1.725, allocations: 25.97 kB / 0.989 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05263/1.777, allocations: 22.5 MB / 1.011 GB, free: 169.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.612e-05/1.777, allocations: 14.31 kB / 1.011 GB, free: 169.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009851/1.787, allocations: 1.43 MB / 1.012 GB, free: 169.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/1.793, allocations: 1.986 MB / 1.014 GB, free: 168.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007857/1.794, allocations: 174.6 kB / 1.015 GB, free: 168.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02844/1.823, allocations: 30.45 MB / 1.044 GB, free: 141.4 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.00139/1.824, allocations: 1.655 MB / 1.046 GB, free: 139.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02835/1.852, allocations: 10.59 MB / 1.056 GB, free: 135.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/1.854, allocations: 0.6422 MB / 1.057 GB, free: 135.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/1.855, allocations: 127.3 kB / 1.057 GB, free: 135.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003844/1.859, allocations: 207.2 kB / 1.057 GB, free: 135 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007766/1.86, allocations: 438.9 kB / 1.058 GB, free: 134.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003623/1.86, allocations: 258.6 kB / 1.058 GB, free: 134.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004896/1.865, allocations: 4.103 MB / 1.062 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/1.865, allocations: 0 / 1.062 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009173/1.874, allocations: 2.073 MB / 1.064 GB, free: 128.1 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.02821/1.903, allocations: 11.56 MB / 1.075 GB, free: 116.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01772/1.92, allocations: 8.804 MB / 1.084 GB, free: 107.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/1.92, allocations: 7.938 kB / 1.084 GB, free: 107.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/1.932, allocations: 5.047 MB / 1.089 GB, free: 102.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/1.942, allocations: 1.583 MB / 1.09 GB, free: 100.9 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.251665360003244] Failed to read output from testmodel.py, exit status != 0: 1.9501851069799159 1.959183478 1.39718729 Calling exit ...