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.00102/0.00102, allocations: 93.06 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.001836/0.001836, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.07/1.07, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.1051/0.1051, 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.513e-06/1.513e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.333e-05, allocations: 4.703 kB / 353.4 MB, free: 9.992 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.288/0.288, allocations: 63.54 MB / 417 MB, free: 14.08 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02545/0.3134, allocations: 16.53 MB / 433.5 MB, free: 11.99 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009299/0.3227, allocations: 122.6 kB / 433.6 MB, free: 11.96 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007127/0.3298, allocations: 2.519 MB / 436.1 MB, free: 10.84 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.3415, allocations: 3.666 MB / 439.8 MB, free: 8.504 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007923/0.3494, allocations: 2.916 MB / 442.7 MB, free: 6.301 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.3629, allocations: 11.29 MB / 454 MB, free: 15.41 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.366, allocations: 2.374 MB / 456.4 MB, free: 14.15 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.3766, allocations: 6.836 MB / 463.2 MB, free: 9.816 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007374/0.3839, allocations: 3.971 MB / 467.2 MB, free: 7.586 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002982/0.3869, allocations: 1.226 MB / 468.4 MB, free: 7.586 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007567/0.3945, allocations: 2.323 MB / 470.7 MB, free: 7.191 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00486/0.3994, allocations: 3.644 MB / 474.4 MB, free: 4.613 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009291/0.4086, allocations: 4.121 MB / 478.5 MB, free: 2.305 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02081/0.4295, allocations: 11.63 MB / 490.1 MB, free: 9.746 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4295, allocations: 0 / 490.1 MB, free: 9.746 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4295, allocations: 0 / 490.1 MB, free: 9.746 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0005692/0.43, allocations: 0 / 490.1 MB, free: 9.746 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.02049/0.4505, allocations: 13.43 MB / 0.4918 GB, free: 12.32 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.4506, allocations: 8.031 kB / 0.4918 GB, free: 12.31 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008342/0.4589, allocations: 5.662 MB / 0.4973 GB, free: 6.688 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007816/0.4667, allocations: 4.814 MB / 0.502 GB, free: 1.891 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001986/0.4687, allocations: 1.996 MB / 0.504 GB, free: 15.79 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.4704, allocations: 1.133 MB / 0.5051 GB, free: 14.68 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/0.5002, allocations: 16.65 MB / 0.5213 GB, free: 14.03 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.5004, allocations: 0 / 0.5213 GB, free: 14.03 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.5015, allocations: 477.6 kB / 0.5218 GB, free: 13.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.5029, allocations: 1.847 MB / 0.5236 GB, free: 11.73 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/0.5386, allocations: 20.88 MB / 0.544 GB, free: 6.777 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2593/0.7979, allocations: 61.32 MB / 0.6038 GB, free: 94.43 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008926/0.8068, allocations: 3.755 MB / 0.6075 GB, free: 93.6 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005855/0.8127, allocations: 2.066 MB / 0.6095 GB, free: 93.23 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/0.814, allocations: 0.7603 MB / 0.6103 GB, free: 93.04 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.8141, allocations: 104.1 kB / 0.6104 GB, free: 92.95 MB / 442.8 MB Notification: Performance of pre-optimization done (n=533): time 8.826e-06/0.8141, allocations: 0 / 0.6104 GB, free: 92.95 MB / 442.8 MB Notification: Performance of matching and sorting (n=755): time 0.1598/0.9739, allocations: 55.68 MB / 0.6647 GB, free: 40.43 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03611/1.01, allocations: 33.07 MB / 0.697 GB, free: 6.043 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004245/1.014, allocations: 4.023 MB / 0.701 GB, free: 2.023 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002576/1.017, allocations: 141.7 kB / 0.7011 GB, free: 1.879 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/1.02, allocations: 5.691 MB / 0.7067 GB, free: 13 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004148/1.024, allocations: 2.622 MB / 0.7092 GB, free: 10.47 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006444/1.03, allocations: 2.29 MB / 0.7115 GB, free: 8.172 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001035/1.03, allocations: 487.4 kB / 0.7119 GB, free: 7.695 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008825/1.039, allocations: 3.422 MB / 0.7153 GB, free: 4.27 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/1.05, allocations: 4.805 MB / 0.72 GB, free: 15.02 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02479/1.075, allocations: 12.12 MB / 0.7318 GB, free: 2.562 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/1.075, allocations: 4 kB / 0.7318 GB, free: 2.559 MB / 474.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2331/1.308, allocations: 13.48 MB / 0.745 GB, free: 119 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/1.308, allocations: 15.91 kB / 0.745 GB, free: 119 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/1.308, allocations: 28.88 kB / 0.745 GB, free: 119 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02555/1.334, allocations: 10.85 MB / 0.7556 GB, free: 118.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/1.35, allocations: 4.457 MB / 0.76 GB, free: 118.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03211/1.382, allocations: 51.82 MB / 0.8106 GB, free: 78.96 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008793/1.391, allocations: 0.6543 MB / 0.8112 GB, free: 78.96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003627/1.395, allocations: 1.721 MB / 0.8129 GB, free: 78.02 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.007726/1.403, allocations: 0.5511 MB / 0.8134 GB, free: 77.79 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003929/1.407, allocations: 0.8534 MB / 0.8143 GB, free: 77.05 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03833/1.445, allocations: 19.04 MB / 0.8328 GB, free: 60.25 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02213/1.467, allocations: 8.261 MB / 0.8409 GB, free: 52.05 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.721e-05/1.467, allocations: 8 kB / 0.8409 GB, free: 52.04 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001978/1.467, allocations: 39.86 kB / 0.841 GB, free: 52 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05927/1.527, allocations: 32.29 MB / 0.8725 GB, free: 19.47 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.486e-05/1.527, allocations: 32 kB / 0.8725 GB, free: 19.44 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007567/1.534, allocations: 1.943 MB / 0.8744 GB, free: 17.59 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02398/1.558, allocations: 7.245 MB / 0.8815 GB, free: 10.39 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001635/1.56, allocations: 310.4 kB / 0.8818 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2376/1.797, allocations: 51.52 MB / 0.9321 GB, free: 97.14 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.009358/1.807, allocations: 13.74 MB / 0.9455 GB, free: 85.59 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03584/1.843, allocations: 13.52 MB / 0.9587 GB, free: 81.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.845, allocations: 0.7788 MB / 0.9595 GB, free: 81.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002244/1.847, allocations: 196 kB / 0.9597 GB, free: 81.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004692/1.852, allocations: 362.9 kB / 0.96 GB, free: 81.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002086/1.854, allocations: 0.809 MB / 0.9608 GB, free: 81.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008803/1.855, allocations: 479.9 kB / 0.9613 GB, free: 81.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008972/1.864, allocations: 4.022 MB / 0.9652 GB, free: 81.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 2e-07/1.864, allocations: 2.531 kB / 0.9652 GB, free: 81.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02841/1.892, allocations: 3.982 MB / 0.9691 GB, free: 81.21 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.00498/1.897, allocations: 0.6123 MB / 0.9697 GB, free: 81.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03019/1.927, allocations: 11.2 MB / 0.9806 GB, free: 77.47 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.658e-05/1.927, allocations: 3.5 kB / 0.9806 GB, free: 77.47 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01063/1.938, allocations: 8.019 MB / 0.9885 GB, free: 71.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007836/1.946, allocations: 1.929 MB / 0.9903 GB, free: 70.7 MB / 490.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695: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: 3.8125770883634686]