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.0008236/0.0008236, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007796/0.0007796, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8282/0.8282, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08758/0.08758, allocations: 17.37 MB / 277.3 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 412.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.365e-05, allocations: 2.281 kB / 412.7 MB, free: 15.92 MB / 394.7 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.1836/0.1836, allocations: 55.06 MB / 467.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.2026, allocations: 15.58 MB / 483.3 MB, free: 34.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006527/0.2091, allocations: 125.6 kB / 483.5 MB, free: 34.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006087/0.2152, allocations: 2.514 MB / 486 MB, free: 33.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009183/0.2244, allocations: 3.674 MB / 489.7 MB, free: 31.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007438/0.2319, allocations: 2.907 MB / 492.6 MB, free: 30.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01209/0.2439, allocations: 11.28 MB / 0.492 GB, free: 24.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.2467, allocations: 2.385 MB / 0.4944 GB, free: 23.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009299/0.256, allocations: 6.831 MB / 0.501 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.2621, allocations: 3.921 MB / 0.5049 GB, free: 18.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002648/0.2647, allocations: 1.223 MB / 0.5061 GB, free: 17.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006357/0.2711, allocations: 2.325 MB / 0.5083 GB, free: 15.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002965/0.2741, allocations: 3.645 MB / 0.5119 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007737/0.2818, allocations: 4.111 MB / 0.5159 GB, free: 8.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.3001, allocations: 16.93 MB / 0.5324 GB, free: 9.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3001, allocations: 4 kB / 0.5324 GB, free: 9.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3001, allocations: 0 / 0.5324 GB, free: 9.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005339/0.3007, allocations: 0 / 0.5324 GB, free: 9.168 MB / 426.7 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.01929/0.32, allocations: 12.49 MB / 0.5446 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.32, allocations: 8.031 kB / 0.5446 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006272/0.3263, allocations: 2.869 MB / 0.5474 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007788/0.3341, allocations: 5.288 MB / 0.5526 GB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001906/0.336, allocations: 2.012 MB / 0.5546 GB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.3382, allocations: 1.133 MB / 0.5557 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04341/0.3816, allocations: 47.29 MB / 0.6019 GB, free: 1.672 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.3818, allocations: 0 / 0.6019 GB, free: 1.672 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.3828, allocations: 467.9 kB / 0.6023 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001559/0.3844, allocations: 1.847 MB / 0.6041 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2169/0.6013, allocations: 79.2 MB / 0.6815 GB, free: 140.3 MB / 0.5105 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.09626/0.6975, allocations: 103.6 MB / 0.7826 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/0.714, allocations: 19.42 MB / 0.8016 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01278/0.7267, allocations: 15.6 MB / 0.8168 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.7282, allocations: 0.7449 MB / 0.8175 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.7283, allocations: 95.81 kB / 0.8176 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=533): time 8.416e-06/0.7283, allocations: 0 / 0.8176 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=755): time 0.3887/1.117, allocations: 131.6 MB / 0.9461 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04308/1.16, allocations: 51.56 MB / 0.9965 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/1.165, allocations: 4.752 MB / 1.001 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002679/1.167, allocations: 152.4 kB / 1.001 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.169, allocations: 5.409 MB / 1.007 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003866/1.173, allocations: 2.611 MB / 1.009 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005529/1.178, allocations: 2.481 MB / 1.012 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/1.178, allocations: 301.1 kB / 1.012 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2189/1.397, allocations: 23 MB / 1.034 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0224/1.419, allocations: 24.06 MB / 1.058 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2498/1.669, allocations: 111.2 MB / 1.166 GB, free: 36.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.544e-05/1.669, allocations: 11.19 kB / 1.166 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2126/1.882, allocations: 51.58 MB / 1.217 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/1.882, allocations: 15.34 kB / 1.217 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/1.882, allocations: 24.03 kB / 1.217 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02255/1.905, allocations: 13.59 MB / 1.23 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/1.92, allocations: 4.491 MB / 1.234 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04625/1.966, allocations: 74.04 MB / 1.307 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007991/1.974, allocations: 0.6946 MB / 1.307 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/1.977, allocations: 1.719 MB / 1.309 GB, free: 95.28 MB / 0.5261 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.006447/1.983, allocations: 2.763 MB / 1.312 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/1.985, allocations: 0.6097 MB / 1.312 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04238/2.028, allocations: 30.82 MB / 1.342 GB, free: 67.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02477/2.053, allocations: 18.16 MB / 1.36 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/2.053, allocations: 11.94 kB / 1.36 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001583/2.053, allocations: 39.86 kB / 1.36 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2494/2.302, allocations: 64.62 MB / 1.423 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.117e-05/2.302, allocations: 35.09 kB / 1.423 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007587/2.31, allocations: 1.97 MB / 1.425 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01854/2.328, allocations: 7.221 MB / 1.432 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/2.33, allocations: 301.2 kB / 1.433 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04034/2.37, allocations: 49.96 MB / 1.481 GB, free: 99.32 MB / 0.5261 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.009624/2.38, allocations: 11.35 MB / 1.493 GB, free: 90.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03692/2.417, allocations: 26.75 MB / 1.519 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/2.419, allocations: 0.7979 MB / 1.519 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002229/2.421, allocations: 190.4 kB / 1.52 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004487/2.425, allocations: 401.9 kB / 1.52 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/2.427, allocations: 0.8751 MB / 1.521 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006417/2.428, allocations: 478.5 kB / 1.521 GB, free: 76.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006169/2.434, allocations: 7.45 MB / 1.529 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/2.434, allocations: 0 / 1.529 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01104/2.445, allocations: 3.98 MB / 1.532 GB, free: 65.5 MB / 0.5261 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.001746/2.447, allocations: 0.6214 MB / 1.533 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02887/2.476, allocations: 29.83 MB / 1.562 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.222e-05/2.476, allocations: 4 kB / 1.562 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01322/2.489, allocations: 10.12 MB / 1.572 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008576/2.498, allocations: 1.524 MB / 1.574 GB, free: 25.26 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 4.061480083502829] Failed to read output from testmodel.py, exit status != 0: 2.5045496486127377 2.51096839 2.209306845 Calling exit ...