Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001334/0.001334, 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.001555/0.001555, allocations: 215.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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1528/0.1528, allocations: 23.89 MB / 336.3 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002122/0.002122, allocations: 71.89 kB / 471.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4401, allocations: 59.85 MB / 0.519 GB, free: 9.836 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343: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 2.0.0/Boundaries.mo:1343:7-1343: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.1162/0.5563, allocations: 54.72 MB / 0.5725 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04429/0.6006, allocations: 15.57 MB / 0.5877 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01439/0.6149, allocations: 123.5 kB / 0.5878 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.6259, allocations: 2.501 MB / 0.5902 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01635/0.6423, allocations: 3.521 MB / 0.5937 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01077/0.6531, allocations: 2.883 MB / 0.5965 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02158/0.6746, allocations: 10.87 MB / 0.6071 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005056/0.6797, allocations: 2.396 MB / 0.6094 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009416/0.6891, allocations: 4.496 MB / 0.6138 GB, free: 8.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.7008, allocations: 5.384 MB / 0.6191 GB, free: 3.043 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004873/0.7056, allocations: 1.223 MB / 0.6203 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009248/0.7149, allocations: 2.338 MB / 0.6226 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005753/0.7207, allocations: 3.602 MB / 0.6261 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01058/0.7312, allocations: 5.048 MB / 0.631 GB, free: 6.793 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02598/0.7572, allocations: 17.01 MB / 0.6476 GB, free: 5.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7572, allocations: 0 / 0.6476 GB, free: 5.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.7572, allocations: 8 kB / 0.6476 GB, free: 5.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005308/0.7577, allocations: 3.938 kB / 0.6476 GB, free: 5.703 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.02746/0.7852, allocations: 12.63 MB / 0.66 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.7852, allocations: 12.03 kB / 0.66 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.7963, allocations: 2.865 MB / 0.6628 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.8091, allocations: 5.292 MB / 0.6679 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002657/0.8118, allocations: 2.013 MB / 0.6699 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003118/0.8149, allocations: 1.133 MB / 0.671 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06876/0.8837, allocations: 47.3 MB / 0.7172 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004349/0.8841, allocations: 0 / 0.7172 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003117/0.8872, allocations: 467.8 kB / 0.7176 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.8895, allocations: 1.843 MB / 0.7194 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6504/1.54, allocations: 79.21 MB / 0.7968 GB, free: 126.2 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.1413/1.681, allocations: 103.6 MB / 0.8979 GB, free: 23.36 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/1.705, allocations: 19.41 MB / 0.9169 GB, free: 3.914 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02379/1.729, allocations: 15.61 MB / 0.9321 GB, free: 4.297 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002756/1.731, allocations: 0.7488 MB / 0.9329 GB, free: 3.551 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/1.732, allocations: 93.66 kB / 0.933 GB, free: 3.449 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=533): time 8.536e-06/1.732, allocations: 0 / 0.933 GB, free: 3.449 MB / 0.5763 GB Notification: Performance of matching and sorting (n=755): time 0.7035/2.435, allocations: 131.5 MB / 1.061 GB, free: 145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07437/2.509, allocations: 51.58 MB / 1.112 GB, free: 92.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006138/2.516, allocations: 4.756 MB / 1.116 GB, free: 87.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003202/2.519, allocations: 145.7 kB / 1.117 GB, free: 87.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002466/2.521, allocations: 5.418 MB / 1.122 GB, free: 82.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004705/2.526, allocations: 2.639 MB / 1.124 GB, free: 80.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007952/2.534, allocations: 2.48 MB / 1.127 GB, free: 77.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/2.534, allocations: 305.1 kB / 1.127 GB, free: 77.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02541/2.559, allocations: 23 MB / 1.15 GB, free: 54.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02717/2.587, allocations: 24.07 MB / 1.173 GB, free: 29.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7973/3.384, allocations: 110.5 MB / 1.281 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.055e-05/3.384, allocations: 9.312 kB / 1.281 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08434/3.468, allocations: 51.58 MB / 1.331 GB, free: 100.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/3.468, allocations: 16 kB / 1.331 GB, free: 100.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.941e-05/3.468, allocations: 24 kB / 1.331 GB, free: 100.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0418/3.51, allocations: 13.5 MB / 1.345 GB, free: 87.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03018/3.54, allocations: 4.495 MB / 1.349 GB, free: 82.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0662/3.607, allocations: 74.09 MB / 1.421 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/3.621, allocations: 0.694 MB / 1.422 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004324/3.625, allocations: 1.722 MB / 1.424 GB, free: 5.109 MB / 0.6075 GB Warning: Assuming fixed start value for the following 5 variables: d5.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d4.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d3.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real d2.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 746 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(6,20), (4,3), (3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01076/3.636, allocations: 2.759 MB / 1.426 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005077/3.641, allocations: 0.621 MB / 1.427 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3813/4.023, allocations: 30.78 MB / 1.457 GB, free: 191.9 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05164/4.074, allocations: 18.18 MB / 1.475 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000129/4.074, allocations: 9.281 kB / 1.475 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002402/4.075, allocations: 42.7 kB / 1.475 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1068/4.181, allocations: 64.62 MB / 1.538 GB, free: 148.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-05/4.181, allocations: 34.62 kB / 1.538 GB, free: 148.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01489/4.196, allocations: 1.969 MB / 1.54 GB, free: 146.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03391/4.23, allocations: 7.167 MB / 1.547 GB, free: 139.1 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001442/4.232, allocations: 307.8 kB / 1.547 GB, free: 138.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05634/4.288, allocations: 50.02 MB / 1.596 GB, free: 87.1 MB / 0.6232 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.01583/4.304, allocations: 11.34 MB / 1.607 GB, free: 75.28 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05703/4.361, allocations: 26.81 MB / 1.633 GB, free: 47.99 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002984/4.364, allocations: 0.8016 MB / 1.634 GB, free: 47.33 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003313/4.367, allocations: 193.8 kB / 1.634 GB, free: 47.15 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007623/4.375, allocations: 398.2 kB / 1.635 GB, free: 46.76 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002244/4.377, allocations: 0.8756 MB / 1.636 GB, free: 45.89 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008518/4.378, allocations: 482.4 kB / 1.636 GB, free: 45.42 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007936/4.386, allocations: 7.444 MB / 1.643 GB, free: 37.98 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.01e-07/4.386, allocations: 0 / 1.643 GB, free: 37.98 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.0128/4.399, allocations: 3.983 MB / 1.647 GB, free: 34.02 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * Number of states: 19 ($STATESET8.x[3],$STATESET8.x[2],$STATESET8.x[1],d5.rear.n_flow,$STATESET7.x,$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],d4.rear.n_flow,$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],d3.rear.n_flow,$STATESET4.x,$STATESET3.x,d1.rear.n_flow,$STATESET2.x,$STATESET1.x,d2.rear.n_flow) * Number of discrete variables: 11 ($cse169,$cse163,$cse148,$cse143,$cse136,$cse127,$cse121,$cse110,$cse103,$cse93,$cse87) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (581): * Single equations (assignments): 556 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 25 * 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,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(4,20), (9,10), (3,3), (3,9), (8,10), (4,20), (9,10), (3,3), (3,3), (3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/4.401, allocations: 0.5974 MB / 1.648 GB, free: 33.53 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04035/4.441, allocations: 29.85 MB / 1.677 GB, free: 3.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.354e-05/4.441, allocations: 4 kB / 1.677 GB, free: 3.496 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.297/4.738, allocations: 10.13 MB / 1.687 GB, free: 190.7 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01483/4.753, allocations: 1.511 MB / 1.688 GB, free: 190.6 MB / 0.6232 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 655] [Calling sys.exit(0), Time elapsed: 7.419426387175918] Failed to read output from testmodel.py, exit status != 0: 4.7665162668563426 4.780683005 4.01998692 Calling exit ...