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.001316/0.001316, allocations: 118.9 kB / 17.13 MB, free: 6.027 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.001493/0.001493, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1539/0.1539, allocations: 23.86 MB / 333.4 MB, free: 1.227 MB / 254.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.001999/0.001999, allocations: 63.41 kB / 467.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1445, allocations: 59.83 MB / 0.5146 GB, free: 12.48 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.08306/0.2276, allocations: 61.41 MB / 0.5746 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3758/0.6033, allocations: 16.87 MB / 0.5911 GB, free: 17.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01162/0.615, allocations: 122.8 kB / 0.5912 GB, free: 17.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009578/0.6245, allocations: 2.641 MB / 0.5938 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.6411, allocations: 3.525 MB / 0.5972 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.6521, allocations: 2.883 MB / 0.6 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02763/0.6797, allocations: 10.89 MB / 0.6107 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006111/0.6858, allocations: 2.697 MB / 0.6133 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.6965, allocations: 4.491 MB / 0.6177 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.708, allocations: 5.386 MB / 0.6229 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004931/0.713, allocations: 1.223 MB / 0.6241 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/0.7263, allocations: 2.906 MB / 0.627 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005944/0.7322, allocations: 3.595 MB / 0.6305 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01611/0.7483, allocations: 6.614 MB / 0.6369 GB, free: 304 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03923/0.7876, allocations: 17.08 MB / 0.6536 GB, free: 15.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.7876, allocations: 0 / 0.6536 GB, free: 15.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7876, allocations: 0 / 0.6536 GB, free: 15.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008459/0.7884, allocations: 0 / 0.6536 GB, free: 15.98 MB / 478.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.04157/0.83, allocations: 12.72 MB / 0.666 GB, free: 3.301 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.83, allocations: 8.031 kB / 0.666 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009723/0.8398, allocations: 2.389 MB / 0.6684 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.854, allocations: 5.37 MB / 0.6736 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002918/0.857, allocations: 1.679 MB / 0.6753 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004084/0.861, allocations: 1.135 MB / 0.6764 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07651/0.9375, allocations: 45.18 MB / 0.7205 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/0.9378, allocations: 2.656 kB / 0.7205 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/0.94, allocations: 468.4 kB / 0.7209 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0024/0.9424, allocations: 1.839 MB / 0.7227 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.099/1.041, allocations: 75.81 MB / 0.7968 GB, free: 13.77 MB / 0.6075 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.7596/1.801, allocations: 111.6 MB / 0.9058 GB, free: 141.5 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02157/1.823, allocations: 19.23 MB / 0.9246 GB, free: 122.2 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01633/1.839, allocations: 15.24 MB / 0.9394 GB, free: 107 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005343/1.844, allocations: 2.537 MB / 0.9419 GB, free: 104.2 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/1.844, allocations: 95.75 kB / 0.942 GB, free: 104.1 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=533): time 8.045e-06/1.844, allocations: 0 / 0.942 GB, free: 104.1 MB / 0.6232 GB Notification: Performance of matching and sorting (n=755): time 0.7282/2.573, allocations: 132.1 MB / 1.071 GB, free: 192.6 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08348/2.656, allocations: 53.04 MB / 1.123 GB, free: 163.2 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0191/2.675, allocations: 13.68 MB / 1.136 GB, free: 156.5 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.00299/2.678, allocations: 143 kB / 1.136 GB, free: 156.4 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004363/2.682, allocations: 5.428 MB / 1.142 GB, free: 152.5 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00483/2.687, allocations: 2.645 MB / 1.144 GB, free: 150.2 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008157/2.695, allocations: 2.438 MB / 1.147 GB, free: 147.8 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/2.695, allocations: 301.1 kB / 1.147 GB, free: 147.5 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02423/2.72, allocations: 22.43 MB / 1.169 GB, free: 125.1 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02595/2.746, allocations: 23.49 MB / 1.192 GB, free: 101.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5998/3.345, allocations: 116.3 MB / 1.305 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-05/3.346, allocations: 12 kB / 1.305 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.4317/3.777, allocations: 51.08 MB / 1.355 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/3.777, allocations: 17.53 kB / 1.355 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.431e-05/3.777, allocations: 29.69 kB / 1.355 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04678/3.824, allocations: 13.26 MB / 1.368 GB, free: 217.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03105/3.855, allocations: 4.414 MB / 1.373 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07104/3.926, allocations: 76.26 MB / 1.447 GB, free: 134.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/3.944, allocations: 0.6228 MB / 1.448 GB, free: 134.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005031/3.949, allocations: 1.718 MB / 1.449 GB, free: 132.4 MB / 0.6544 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.01222/3.961, allocations: 2.762 MB / 1.452 GB, free: 129.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008856/3.97, allocations: 1.195 MB / 1.453 GB, free: 128.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07822/4.048, allocations: 30.93 MB / 1.483 GB, free: 97.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04507/4.093, allocations: 17.93 MB / 1.501 GB, free: 79.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.923e-05/4.093, allocations: 8 kB / 1.501 GB, free: 79.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003059/4.094, allocations: 39.86 kB / 1.501 GB, free: 79.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1063/4.2, allocations: 65.29 MB / 1.565 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001104/4.2, allocations: 32 kB / 1.565 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0152/4.215, allocations: 1.894 MB / 1.567 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03649/4.252, allocations: 7.181 MB / 1.574 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0023/4.254, allocations: 303.8 kB / 1.574 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4392/4.693, allocations: 53.72 MB / 1.626 GB, free: 191.8 MB / 0.6544 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.01907/4.712, allocations: 12.15 MB / 1.638 GB, free: 181.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06457/4.777, allocations: 26.76 MB / 1.664 GB, free: 169.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005371/4.782, allocations: 1.887 MB / 1.666 GB, free: 168.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004825/4.787, allocations: 191.5 kB / 1.666 GB, free: 168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009871/4.797, allocations: 319.8 kB / 1.667 GB, free: 167.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003414/4.8, allocations: 0.8487 MB / 1.667 GB, free: 167.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001071/4.801, allocations: 476.2 kB / 1.668 GB, free: 167.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.02199/4.823, allocations: 13.82 MB / 1.681 GB, free: 161.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/4.823, allocations: 2.688 kB / 1.681 GB, free: 161.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01902/4.842, allocations: 4.13 MB / 1.685 GB, free: 158.1 MB / 0.6544 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.002952/4.845, allocations: 0.6522 MB / 1.686 GB, free: 157.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.04038/4.886, allocations: 29.06 MB / 1.714 GB, free: 130.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.002e-05/4.886, allocations: 8 kB / 1.714 GB, free: 130.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02006/4.906, allocations: 9.96 MB / 1.724 GB, free: 120.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02117/4.927, allocations: 2.788 MB / 1.727 GB, free: 118.2 MB / 0.6544 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.708435098989867] Failed to read output from testmodel.py, exit status != 0: 4.937577350996435 4.945498704 4.155361528 Calling exit ...