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.001498/0.001498, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001816/0.001816, allocations: 167.9 kB / 22.46 MB, free: 5.359 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.518/1.518, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.1352/0.1352, allocations: 17.37 MB / 276.5 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 411.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.139e-05, allocations: 6.219 kB / 411.9 MB, free: 4.438 MB / 334.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.4047/0.4048, allocations: 55.12 MB / 467.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02765/0.4324, allocations: 15.57 MB / 482.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00865/0.4411, allocations: 127.4 kB / 482.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008118/0.4492, allocations: 2.509 MB / 485.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.4621, allocations: 3.674 MB / 488.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008823/0.471, allocations: 2.916 MB / 491.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02162/0.4926, allocations: 11.27 MB / 0.4913 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005844/0.4984, allocations: 2.383 MB / 0.4937 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/0.5131, allocations: 6.827 MB / 0.5003 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008332/0.5214, allocations: 3.923 MB / 0.5042 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003548/0.5249, allocations: 1.223 MB / 0.5054 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008977/0.5339, allocations: 2.324 MB / 0.5076 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005636/0.5396, allocations: 3.643 MB / 0.5112 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01091/0.5505, allocations: 4.108 MB / 0.5152 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02995/0.5804, allocations: 16.93 MB / 0.5317 GB, free: 14.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.5804, allocations: 0 / 0.5317 GB, free: 14.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5804, allocations: 4 kB / 0.5317 GB, free: 14.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009067/0.5813, allocations: 3.938 kB / 0.5317 GB, free: 14.49 MB / 430.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.0305/0.6118, allocations: 12.49 MB / 0.5439 GB, free: 2.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6119, allocations: 12.03 kB / 0.5439 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.6239, allocations: 2.864 MB / 0.5467 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.6365, allocations: 5.289 MB / 0.5519 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002599/0.6391, allocations: 2.006 MB / 0.5539 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003079/0.6422, allocations: 1.135 MB / 0.555 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06481/0.707, allocations: 47.3 MB / 0.6012 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.7072, allocations: 0 / 0.6012 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.7082, allocations: 467.9 kB / 0.6016 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/0.7107, allocations: 1.847 MB / 0.6034 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3022/1.013, allocations: 79.2 MB / 0.6808 GB, free: 153.2 MB / 0.5138 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.1306/1.144, allocations: 103.6 MB / 0.7819 GB, free: 51.08 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02261/1.166, allocations: 19.42 MB / 0.8009 GB, free: 31.65 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01745/1.184, allocations: 15.6 MB / 0.8161 GB, free: 16.05 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002454/1.186, allocations: 0.748 MB / 0.8169 GB, free: 15.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/1.186, allocations: 95.86 kB / 0.817 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=533): time 8.997e-06/1.186, allocations: 0 / 0.817 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=755): time 0.5984/1.785, allocations: 131.6 MB / 0.9454 GB, free: 79.89 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07588/1.86, allocations: 51.56 MB / 0.9958 GB, free: 27.19 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005949/1.866, allocations: 4.755 MB / 1 GB, free: 22.45 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.004449/1.871, allocations: 149.2 kB / 1.001 GB, free: 22.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002601/1.873, allocations: 5.42 MB / 1.006 GB, free: 17.64 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.004909/1.878, allocations: 2.598 MB / 1.008 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009166/1.887, allocations: 2.478 MB / 1.011 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/1.888, allocations: 309.1 kB / 1.011 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.264/2.152, allocations: 23 MB / 1.034 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03318/2.185, allocations: 24.06 MB / 1.057 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5273/2.712, allocations: 111.2 MB / 1.166 GB, free: 42.05 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.1e-05/2.712, allocations: 6.656 kB / 1.166 GB, free: 42.05 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08641/2.799, allocations: 51.59 MB / 1.216 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/2.799, allocations: 16 kB / 1.216 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.349e-05/2.799, allocations: 28.03 kB / 1.216 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2724/3.071, allocations: 13.58 MB / 1.229 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03524/3.106, allocations: 4.496 MB / 1.234 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07695/3.183, allocations: 74.05 MB / 1.306 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01593/3.199, allocations: 0.6896 MB / 1.307 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004653/3.204, allocations: 1.724 MB / 1.308 GB, free: 108.7 MB / 0.5294 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.01249/3.216, allocations: 2.748 MB / 1.311 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006201/3.223, allocations: 0.6141 MB / 1.312 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07932/3.302, allocations: 30.82 MB / 1.342 GB, free: 75.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04597/3.348, allocations: 18.17 MB / 1.36 GB, free: 57.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001181/3.348, allocations: 8 kB / 1.36 GB, free: 57.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002931/3.348, allocations: 39.86 kB / 1.36 GB, free: 57.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3706/3.719, allocations: 64.61 MB / 1.423 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001568/3.719, allocations: 32.86 kB / 1.423 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01726/3.736, allocations: 1.968 MB / 1.425 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03875/3.775, allocations: 7.213 MB / 1.432 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001989/3.777, allocations: 302.1 kB / 1.432 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06245/3.839, allocations: 49.98 MB / 1.481 GB, free: 112.7 MB / 0.5294 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.01777/3.857, allocations: 11.34 MB / 1.492 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0597/3.917, allocations: 26.75 MB / 1.518 GB, free: 87.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/3.919, allocations: 0.7996 MB / 1.519 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/3.921, allocations: 188 kB / 1.519 GB, free: 86.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006039/3.927, allocations: 396 kB / 1.519 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002078/3.929, allocations: 0.8756 MB / 1.52 GB, free: 86.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007222/3.93, allocations: 479.7 kB / 1.521 GB, free: 85.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007252/3.937, allocations: 7.449 MB / 1.528 GB, free: 78.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/3.937, allocations: 2.219 kB / 1.528 GB, free: 78.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01144/3.949, allocations: 3.987 MB / 1.532 GB, free: 74.35 MB / 0.5294 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.00156/3.95, allocations: 0.61 MB / 1.532 GB, free: 73.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.04038/3.991, allocations: 29.83 MB / 1.562 GB, free: 44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-05/3.991, allocations: 8.5 kB / 1.562 GB, free: 43.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.02133/4.012, allocations: 10.13 MB / 1.571 GB, free: 33.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01263/4.025, allocations: 1.527 MB / 1.573 GB, free: 32.32 MB / 0.5294 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 656] [Calling sys.exit(0), Time elapsed: 6.511072549968958] Failed to read output from testmodel.py, exit status != 0: 4.034926030784845 4.043538795 3.460678848 Calling exit ...