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.001052/0.001052, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009869/0.002039, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007114/0.0007114, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009305/0.001642, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.043/1.043, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09654/1.14, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.09594/0.09594, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0122/0.1081, allocations: 6.94 MB / 268.4 MB, free: 6.402 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.322e-06/1.322e-06, allocations: 0 / 269.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.945e-05, allocations: 9.688 kB / 269.7 MB, free: 5.102 MB / 266.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.1777/0.1777, allocations: 39.19 MB / 308.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03275/0.2105, allocations: 17.27 MB / 326.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/0.2215, allocations: 119.5 kB / 326.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008708/0.2302, allocations: 2.656 MB / 329 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.2436, allocations: 3.659 MB / 332.6 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009166/0.2528, allocations: 2.913 MB / 335.5 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01758/0.2704, allocations: 11.3 MB / 346.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003969/0.2744, allocations: 2.479 MB / 349.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.2854, allocations: 7.406 MB / 356.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006613/0.292, allocations: 3.962 MB / 360.7 MB, free: 7.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003624/0.2956, allocations: 1.223 MB / 361.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008741/0.3043, allocations: 2.361 MB / 364.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.3083, allocations: 3.018 MB / 367.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00955/0.3179, allocations: 3.406 MB / 370.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/0.3363, allocations: 10.83 MB / 381.5 MB, free: 2.234 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.26e-05/0.3364, allocations: 0 / 381.5 MB, free: 2.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3364, allocations: 3.984 kB / 381.5 MB, free: 2.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005595/0.3369, allocations: 4 kB / 381.5 MB, free: 2.227 MB / 362.7 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.01919/0.3561, allocations: 14.73 MB / 396.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3562, allocations: 8.031 kB / 396.3 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008696/0.3649, allocations: 5.227 MB / 401.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006528/0.3714, allocations: 3.286 MB / 404.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001555/0.3729, allocations: 1.993 MB / 406.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/0.3747, allocations: 1.137 MB / 407.9 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.3942, allocations: 14.19 MB / 422.1 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.3944, allocations: 3.984 kB / 422.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006306/0.395, allocations: 467.8 kB / 422.6 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00125/0.3963, allocations: 1.761 MB / 424.3 MB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1841/0.5803, allocations: 16.39 MB / 440.7 MB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06708/0.6474, allocations: 48.83 MB / 489.6 MB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006057/0.6535, allocations: 3.125 MB / 492.7 MB, free: 53.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.6574, allocations: 1.39 MB / 494.1 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.6586, allocations: 0.7698 MB / 494.8 MB, free: 51.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.6586, allocations: 95.44 kB / 494.9 MB, free: 51.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=533): time 7.254e-06/0.6586, allocations: 0 / 494.9 MB, free: 51.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=707): time 0.1342/0.7928, allocations: 41.14 MB / 0.5235 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02926/0.8221, allocations: 24.15 MB / 0.5471 GB, free: 2.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.8254, allocations: 2.964 MB / 0.55 GB, free: 15.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002103/0.8275, allocations: 137.7 kB / 0.5501 GB, free: 15.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.8293, allocations: 4.591 MB / 0.5546 GB, free: 11.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003188/0.8325, allocations: 2.485 MB / 0.557 GB, free: 8.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003657/0.8362, allocations: 1.693 MB / 0.5587 GB, free: 7.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.8363, allocations: 305.1 kB / 0.559 GB, free: 6.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/0.8413, allocations: 2.135 MB / 0.5611 GB, free: 4.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/0.8469, allocations: 3.184 MB / 0.5642 GB, free: 1.363 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/0.8617, allocations: 8.58 MB / 0.5725 GB, free: 8.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-05/0.8618, allocations: 11.94 kB / 0.5726 GB, free: 8.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=862) (initialization): time 0.02453/0.8863, allocations: 8.639 MB / 0.581 GB, free: 96 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.8863, allocations: 16 kB / 0.581 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-05/0.8864, allocations: 31.94 kB / 0.581 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/0.9103, allocations: 10.64 MB / 0.5914 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/0.9287, allocations: 4.607 MB / 0.5959 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2124/1.141, allocations: 35.67 MB / 0.6308 GB, free: 97.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006777/1.148, allocations: 290.5 kB / 0.631 GB, free: 97.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003778/1.152, allocations: 1.555 MB / 0.6326 GB, free: 97.81 MB / 474.7 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 (730): * Single equations (assignments): 698 * 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%), (3,4,77.8%), (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%), (3,4,77.8%), (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.007159/1.159, allocations: 0.4906 MB / 0.633 GB, free: 97.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004/1.163, allocations: 0.5705 MB / 0.6336 GB, free: 97.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02906/1.192, allocations: 14.41 MB / 0.6477 GB, free: 96.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01249/1.204, allocations: 4.881 MB / 0.6524 GB, free: 96.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.209e-05/1.204, allocations: 10.31 kB / 0.6524 GB, free: 96.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001488/1.205, allocations: 32.39 kB / 0.6525 GB, free: 96.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04261/1.247, allocations: 22.33 MB / 0.6743 GB, free: 89.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-05/1.247, allocations: 28 kB / 0.6743 GB, free: 89.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007633/1.255, allocations: 2.354 MB / 0.6766 GB, free: 87.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.257, allocations: 0.6425 MB / 0.6772 GB, free: 86.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02189/1.279, allocations: 7.47 MB / 0.6845 GB, free: 79.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001472/1.28, allocations: 242.5 kB / 0.6848 GB, free: 79.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/1.306, allocations: 36.38 MB / 0.7203 GB, free: 41.32 MB / 474.7 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.00753/1.314, allocations: 10.06 MB / 0.7301 GB, free: 30.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/1.335, allocations: 10.21 MB / 0.7401 GB, free: 19.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002083/1.337, allocations: 175.3 kB / 0.7402 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/1.341, allocations: 215.9 kB / 0.7405 GB, free: 19.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/1.343, allocations: 0.7314 MB / 0.7412 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005539/1.344, allocations: 397.6 kB / 0.7415 GB, free: 18.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002863/1.347, allocations: 2.6 MB / 0.7441 GB, free: 15.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.347, allocations: 3.375 kB / 0.7441 GB, free: 15.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01207/1.359, allocations: 3.82 MB / 0.7478 GB, free: 12.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 133 * 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 (533): * Single equations (assignments): 508 * 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%), (3,4,77.8%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,4,100.0%), (3,4,77.8%), (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.001965/1.361, allocations: 0.5837 MB / 0.7484 GB, free: 11.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01498/1.376, allocations: 7.922 MB / 0.7561 GB, free: 3.859 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003693/1.376, allocations: 95.45 kB / 0.7562 GB, free: 3.766 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009585/1.385, allocations: 6.635 MB / 0.7627 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/1.399, allocations: 10.77 MB / 0.7732 GB, free: 0.6641 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.2026104740798473]