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.001531/0.001531, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001645/0.001645, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.098/1.098, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.1221/0.1221, allocations: 17.38 MB / 278.4 MB, free: 11.49 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.833e-06/1.833e-06, allocations: 0 / 354.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.189e-05, allocations: 8.922 kB / 354.7 MB, free: 9.695 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.3034/0.3034, allocations: 62.45 MB / 417.1 MB, free: 14.7 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02837/0.3318, allocations: 16.39 MB / 433.5 MB, free: 12.65 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009738/0.3415, allocations: 119.4 kB / 433.6 MB, free: 12.62 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008141/0.3497, allocations: 2.518 MB / 436.1 MB, free: 11.57 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.3644, allocations: 3.681 MB / 439.8 MB, free: 9.246 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.3744, allocations: 2.912 MB / 442.7 MB, free: 7.051 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01554/0.39, allocations: 11.29 MB / 454 MB, free: 184 kB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004462/0.3944, allocations: 2.38 MB / 456.4 MB, free: 14.91 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/0.4099, allocations: 6.853 MB / 463.3 MB, free: 10.57 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008336/0.4182, allocations: 3.95 MB / 467.2 MB, free: 8.359 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003574/0.4218, allocations: 1.216 MB / 468.4 MB, free: 8.359 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008253/0.43, allocations: 2.319 MB / 470.7 MB, free: 7.965 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004447/0.4345, allocations: 3.636 MB / 474.4 MB, free: 5.398 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01322/0.4477, allocations: 4.113 MB / 478.5 MB, free: 3.098 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02207/0.4698, allocations: 11.62 MB / 490.1 MB, free: 10.14 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4698, allocations: 0 / 490.1 MB, free: 10.14 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4698, allocations: 3.938 kB / 490.1 MB, free: 10.13 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0005139/0.4703, allocations: 0 / 490.1 MB, free: 10.13 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.0214/0.4917, allocations: 13.48 MB / 0.4918 GB, free: 13.37 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4917, allocations: 12.03 kB / 0.4918 GB, free: 13.36 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.5021, allocations: 5.654 MB / 0.4973 GB, free: 7.738 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007873/0.5099, allocations: 4.655 MB / 0.5019 GB, free: 3.102 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001778/0.5117, allocations: 2 MB / 0.5038 GB, free: 0.9922 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/0.5139, allocations: 1.124 MB / 0.5049 GB, free: 15.89 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/0.5372, allocations: 13.99 MB / 0.5186 GB, free: 2.461 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.5374, allocations: 0 / 0.5186 GB, free: 2.461 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001319/0.5387, allocations: 470.3 kB / 0.519 GB, free: 2.023 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.5401, allocations: 1.847 MB / 0.5208 GB, free: 168 kB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02721/0.5673, allocations: 16.47 MB / 0.5369 GB, free: 15.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3073/0.8746, allocations: 58.13 MB / 0.5937 GB, free: 99.66 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.8821, allocations: 3.414 MB / 0.597 GB, free: 99.07 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/0.8868, allocations: 1.775 MB / 0.5988 GB, free: 98.86 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.8883, allocations: 0.7611 MB / 0.5995 GB, free: 98.65 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.8884, allocations: 95.56 kB / 0.5996 GB, free: 98.57 MB / 442.8 MB Notification: Performance of pre-optimization done (n=533): time 8.166e-06/0.8884, allocations: 0 / 0.5996 GB, free: 98.57 MB / 442.8 MB Notification: Performance of matching and sorting (n=755): time 0.1468/1.035, allocations: 42.48 MB / 0.6411 GB, free: 67.05 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03954/1.075, allocations: 32.12 MB / 0.6724 GB, free: 34.14 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/1.08, allocations: 3.853 MB / 0.6762 GB, free: 30.88 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00299/1.083, allocations: 145.7 kB / 0.6763 GB, free: 30.73 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.085, allocations: 5.743 MB / 0.6819 GB, free: 25.99 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004722/1.09, allocations: 2.649 MB / 0.6845 GB, free: 23.54 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009361/1.1, allocations: 2.324 MB / 0.6868 GB, free: 21.36 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/1.1, allocations: 480.7 kB / 0.6873 GB, free: 20.89 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008041/1.108, allocations: 3.136 MB / 0.6903 GB, free: 17.75 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00963/1.117, allocations: 4.551 MB / 0.6948 GB, free: 12.9 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02441/1.142, allocations: 11.31 MB / 0.7058 GB, free: 1.406 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-05/1.142, allocations: 10.66 kB / 0.7058 GB, free: 1.398 MB / 442.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.04592/1.188, allocations: 12.83 MB / 0.7183 GB, free: 4.742 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/1.188, allocations: 16 kB / 0.7184 GB, free: 4.727 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-05/1.188, allocations: 24 kB / 0.7184 GB, free: 4.703 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02587/1.214, allocations: 10.38 MB / 0.7285 GB, free: 10.36 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0167/1.23, allocations: 4.315 MB / 0.7327 GB, free: 6.148 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2207/1.451, allocations: 50.55 MB / 0.7821 GB, free: 84.55 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/1.459, allocations: 311.4 kB / 0.7824 GB, free: 84.55 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003544/1.463, allocations: 1.671 MB / 0.784 GB, free: 84.55 MB / 474.8 MB Warning: Assuming fixed start value for the following 5 variables: d2.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 d3.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 d5.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 {(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%), (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%)} * 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.007148/1.47, allocations: 0.5555 MB / 0.7846 GB, free: 84.39 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00458/1.475, allocations: 0.859 MB / 0.7854 GB, free: 84.05 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03661/1.511, allocations: 17.99 MB / 0.803 GB, free: 82.73 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01854/1.53, allocations: 7.14 MB / 0.8099 GB, free: 82.32 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.171e-05/1.53, allocations: 17.31 kB / 0.81 GB, free: 82.32 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002496/1.53, allocations: 33.42 kB / 0.81 GB, free: 82.32 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06657/1.597, allocations: 31.07 MB / 0.8403 GB, free: 59.02 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/1.597, allocations: 32 kB / 0.8404 GB, free: 58.98 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00946/1.606, allocations: 1.918 MB / 0.8422 GB, free: 57.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0301/1.636, allocations: 6.837 MB / 0.8489 GB, free: 50.43 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004465/1.641, allocations: 295.8 kB / 0.8492 GB, free: 50.14 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04895/1.69, allocations: 50.35 MB / 0.8984 GB, free: 13.89 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.1994/1.889, allocations: 13.55 MB / 0.9116 GB, free: 111.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03263/1.922, allocations: 12.28 MB / 0.9236 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.924, allocations: 0.7434 MB / 0.9243 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002582/1.927, allocations: 194.1 kB / 0.9245 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00527/1.932, allocations: 226.1 kB / 0.9247 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002385/1.934, allocations: 0.8131 MB / 0.9255 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009036/1.935, allocations: 431.7 kB / 0.9259 GB, free: 107.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004062/1.939, allocations: 3.224 MB / 0.9291 GB, free: 107.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.61e-07/1.939, allocations: 3.188 kB / 0.9291 GB, free: 107.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01452/1.954, allocations: 3.976 MB / 0.933 GB, free: 107.3 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.002389/1.956, allocations: 0.6305 MB / 0.9336 GB, free: 107.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02339/1.979, allocations: 10.55 MB / 0.9439 GB, free: 103.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.904e-05/1.98, allocations: 6.188 kB / 0.9439 GB, free: 103.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.99, allocations: 7.503 MB / 0.9512 GB, free: 99.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009692/2, allocations: 1.932 MB / 0.9531 GB, free: 99.54 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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: 3.894880998879671]