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.001475/0.001475, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001675/0.001675, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0963/0.0963, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.963e-06/1.963e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.672e-05/3.868e-05, allocations: 4.844 kB / 353.4 MB, free: 9.973 MB / 282.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.3793/0.3793, allocations: 63.52 MB / 417 MB, free: 14.09 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02883/0.4081, allocations: 16.53 MB / 433.5 MB, free: 11.99 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.4186, allocations: 124.5 kB / 433.6 MB, free: 11.95 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008438/0.4271, allocations: 2.517 MB / 436.1 MB, free: 10.83 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01333/0.4404, allocations: 3.672 MB / 439.8 MB, free: 8.488 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009289/0.4497, allocations: 2.913 MB / 442.7 MB, free: 6.289 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.464, allocations: 11.3 MB / 454 MB, free: 15.4 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004542/0.4686, allocations: 2.373 MB / 456.4 MB, free: 14.13 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.4792, allocations: 6.85 MB / 463.2 MB, free: 9.793 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005294/0.4845, allocations: 3.947 MB / 467.2 MB, free: 7.586 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.4863, allocations: 1.223 MB / 468.4 MB, free: 7.582 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004806/0.4911, allocations: 2.319 MB / 470.7 MB, free: 7.188 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.4928, allocations: 3.634 MB / 474.4 MB, free: 4.621 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004349/0.4971, allocations: 4.108 MB / 478.5 MB, free: 2.328 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.5099, allocations: 11.62 MB / 490.1 MB, free: 9.773 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.5099, allocations: 0 / 490.1 MB, free: 9.773 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5099, allocations: 0 / 490.1 MB, free: 9.773 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0004766/0.5104, allocations: 0 / 490.1 MB, free: 9.773 MB / 362.8 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.0155/0.5259, allocations: 13.43 MB / 0.4917 GB, free: 12.34 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.526, allocations: 8.031 kB / 0.4917 GB, free: 12.34 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007434/0.5334, allocations: 5.653 MB / 0.4973 GB, free: 6.719 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006784/0.5402, allocations: 4.796 MB / 0.5019 GB, free: 1.941 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/0.5416, allocations: 1.999 MB / 0.5039 GB, free: 15.83 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.5426, allocations: 1.132 MB / 0.505 GB, free: 14.73 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.5623, allocations: 16.66 MB / 0.5213 GB, free: 14.07 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.5624, allocations: 0 / 0.5213 GB, free: 14.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009233/0.5633, allocations: 462.3 kB / 0.5217 GB, free: 13.64 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/0.5646, allocations: 1.847 MB / 0.5235 GB, free: 11.79 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0245/0.5891, allocations: 20.88 MB / 0.5439 GB, free: 6.824 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2753/0.8644, allocations: 61.31 MB / 0.6038 GB, free: 94.29 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.8745, allocations: 3.753 MB / 0.6074 GB, free: 93.45 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006542/0.881, allocations: 2.057 MB / 0.6094 GB, free: 93.09 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.8825, allocations: 0.7642 MB / 0.6102 GB, free: 92.89 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.8826, allocations: 102.5 kB / 0.6103 GB, free: 92.8 MB / 442.8 MB Notification: Performance of pre-optimization done (n=533): time 8.055e-06/0.8826, allocations: 0 / 0.6103 GB, free: 92.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=755): time 0.2051/1.088, allocations: 55.69 MB / 0.6647 GB, free: 40.48 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0337/1.121, allocations: 33.07 MB / 0.697 GB, free: 6.094 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/1.126, allocations: 3.997 MB / 0.7009 GB, free: 2.098 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003013/1.129, allocations: 147.5 kB / 0.701 GB, free: 1.949 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002965/1.132, allocations: 5.689 MB / 0.7066 GB, free: 13.07 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005741/1.137, allocations: 2.616 MB / 0.7091 GB, free: 10.54 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008086/1.145, allocations: 2.3 MB / 0.7114 GB, free: 8.234 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001166/1.145, allocations: 483.4 kB / 0.7118 GB, free: 7.762 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008911/1.154, allocations: 3.426 MB / 0.7152 GB, free: 4.336 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00998/1.164, allocations: 4.807 MB / 0.7199 GB, free: 15.08 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02539/1.19, allocations: 12.11 MB / 0.7317 GB, free: 2.633 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.369e-05/1.19, allocations: 8 kB / 0.7317 GB, free: 2.625 MB / 474.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2781/1.468, allocations: 13.48 MB / 0.7449 GB, free: 118.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/1.468, allocations: 17.84 kB / 0.7449 GB, free: 118.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-05/1.468, allocations: 24.62 kB / 0.7449 GB, free: 118.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02755/1.496, allocations: 10.85 MB / 0.7555 GB, free: 118.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02092/1.516, allocations: 4.453 MB / 0.7599 GB, free: 118.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04306/1.56, allocations: 51.83 MB / 0.8105 GB, free: 78.85 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.57, allocations: 0.6482 MB / 0.8111 GB, free: 78.85 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003921/1.574, allocations: 1.719 MB / 0.8128 GB, free: 78.1 MB / 474.8 MB 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.0105/1.584, allocations: 0.5548 MB / 0.8133 GB, free: 77.86 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007014/1.591, allocations: 0.8516 MB / 0.8142 GB, free: 77.13 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04491/1.636, allocations: 19.04 MB / 0.8328 GB, free: 60.33 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02202/1.658, allocations: 8.255 MB / 0.8408 GB, free: 52.14 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001127/1.658, allocations: 12 kB / 0.8408 GB, free: 52.13 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000298/1.659, allocations: 35.86 kB / 0.8409 GB, free: 52.1 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06306/1.722, allocations: 32.28 MB / 0.8724 GB, free: 19.57 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/1.722, allocations: 32 kB / 0.8724 GB, free: 19.54 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007654/1.729, allocations: 1.94 MB / 0.8743 GB, free: 17.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02438/1.754, allocations: 7.262 MB / 0.8814 GB, free: 10.49 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001867/1.756, allocations: 303.5 kB / 0.8817 GB, free: 10.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2714/2.027, allocations: 51.51 MB / 0.932 GB, free: 97.39 MB / 490.8 MB 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.01216/2.039, allocations: 13.73 MB / 0.9454 GB, free: 85.84 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.036/2.075, allocations: 13.53 MB / 0.9586 GB, free: 81.72 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002928/2.078, allocations: 0.7754 MB / 0.9594 GB, free: 81.72 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006084/2.084, allocations: 188.8 kB / 0.9596 GB, free: 81.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005407/2.09, allocations: 362.6 kB / 0.9599 GB, free: 81.72 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002488/2.092, allocations: 0.8064 MB / 0.9607 GB, free: 81.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001069/2.093, allocations: 478.2 kB / 0.9611 GB, free: 81.69 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005569/2.099, allocations: 4.011 MB / 0.9651 GB, free: 81.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.91e-07/2.099, allocations: 0 / 0.9651 GB, free: 81.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01288/2.112, allocations: 3.977 MB / 0.9689 GB, free: 81.46 MB / 490.8 MB 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.00252/2.114, allocations: 0.6169 MB / 0.9695 GB, free: 81.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01928/2.134, allocations: 11.2 MB / 0.9805 GB, free: 77.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-05/2.134, allocations: 4.844 kB / 0.9805 GB, free: 77.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01317/2.147, allocations: 8.007 MB / 0.9883 GB, free: 71.99 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/2.158, allocations: 1.928 MB / 0.9902 GB, free: 71.05 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.069049193058163]