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.0008369/0.0008369, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0009032/0.0009032, allocations: 165 kB / 23.27 MB, free: 1.219 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 0.942/0.942, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.106/0.106, allocations: 17.37 MB / 277.6 MB, free: 11.48 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.363e-06/1.363e-06, allocations: 3.938 kB / 353.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.634e-05, allocations: 5.266 kB / 353.9 MB, free: 10.73 MB / 330.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.04917/0.04918, allocations: 62.49 MB / 416.4 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02601/0.0752, allocations: 16.37 MB / 432.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006648/0.08184, allocations: 119.5 kB / 432.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005775/0.08762, allocations: 2.521 MB / 435.4 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.09761, allocations: 3.679 MB / 439.1 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006321/0.1039, allocations: 2.909 MB / 442 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1713/0.2752, allocations: 11.28 MB / 453.3 MB, free: 66.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.2782, allocations: 2.376 MB / 455.6 MB, free: 65.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007647/0.2858, allocations: 6.851 MB / 462.5 MB, free: 65.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.2894, allocations: 3.957 MB / 466.4 MB, free: 64.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.2905, allocations: 1.22 MB / 467.7 MB, free: 64.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.2946, allocations: 2.315 MB / 470 MB, free: 64.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.2961, allocations: 3.646 MB / 473.6 MB, free: 62.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003258/0.2994, allocations: 4.106 MB / 477.7 MB, free: 60.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009239/0.3086, allocations: 11.62 MB / 489.3 MB, free: 55.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3086, allocations: 0 / 489.3 MB, free: 55.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3086, allocations: 0 / 489.3 MB, free: 55.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003443/0.309, allocations: 2.906 kB / 489.4 MB, free: 55.12 MB / 410.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.01291/0.3219, allocations: 13.49 MB / 0.4911 GB, free: 48.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3219, allocations: 11.16 kB / 0.4911 GB, free: 48.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/0.3281, allocations: 5.656 MB / 0.4966 GB, free: 45.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.3323, allocations: 4.641 MB / 0.5011 GB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009686/0.3333, allocations: 2.001 MB / 0.5031 GB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008232/0.3341, allocations: 1.131 MB / 0.5042 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3452, allocations: 13.99 MB / 0.5178 GB, free: 31.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.3454, allocations: 6.594 kB / 0.5178 GB, free: 31.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004667/0.3458, allocations: 469.4 kB / 0.5183 GB, free: 31.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000954/0.3468, allocations: 1.84 MB / 0.5201 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3571, allocations: 16.47 MB / 0.5362 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05963/0.4168, allocations: 58.14 MB / 0.5929 GB, free: 5.703 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.4228, allocations: 3.407 MB / 0.5963 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.4259, allocations: 1.789 MB / 0.598 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1481/0.574, allocations: 0.8442 MB / 0.5988 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.719e-05/0.574, allocations: 98.47 kB / 0.5989 GB, free: 101.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=533): time 6.983e-06/0.574, allocations: 0 / 0.5989 GB, free: 101.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=755): time 0.1328/0.7069, allocations: 42.5 MB / 0.6404 GB, free: 98.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0327/0.7396, allocations: 32.14 MB / 0.6718 GB, free: 76.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.7432, allocations: 3.853 MB / 0.6756 GB, free: 74.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002025/0.7453, allocations: 144.1 kB / 0.6757 GB, free: 74.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/0.7473, allocations: 5.734 MB / 0.6813 GB, free: 70.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002231/0.7495, allocations: 2.648 MB / 0.6839 GB, free: 68.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003955/0.7535, allocations: 2.323 MB / 0.6862 GB, free: 66.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.7535, allocations: 480.8 kB / 0.6866 GB, free: 65.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005465/0.759, allocations: 3.139 MB / 0.6897 GB, free: 63.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/0.7648, allocations: 4.561 MB / 0.6942 GB, free: 58.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/0.7795, allocations: 11.3 MB / 0.7052 GB, free: 47.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.7795, allocations: 10.66 kB / 0.7052 GB, free: 47.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02454/0.8041, allocations: 12.84 MB / 0.7177 GB, free: 35.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.8041, allocations: 20.88 kB / 0.7178 GB, free: 35.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.8042, allocations: 24 kB / 0.7178 GB, free: 35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02257/0.8267, allocations: 10.38 MB / 0.7279 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01428/0.841, allocations: 4.311 MB / 0.7321 GB, free: 20.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1894/1.03, allocations: 64.72 MB / 0.7953 GB, free: 75.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.038, allocations: 316.6 kB / 0.7956 GB, free: 75.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/1.04, allocations: 1.665 MB / 0.7973 GB, free: 75.58 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 (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): 5 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 21 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (4,3), (6,20), (4,3), (1,1), (1,1), (1,1), (1,1), (2,1), (3,8), (2,1), (4,3), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.004822/1.045, allocations: 0.5504 MB / 0.7978 GB, free: 75.42 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003077/1.048, allocations: 0.8497 MB / 0.7986 GB, free: 75.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02951/1.077, allocations: 18 MB / 0.8162 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01605/1.093, allocations: 7.15 MB / 0.8232 GB, free: 73.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-05/1.093, allocations: 10.5 kB / 0.8232 GB, free: 73.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/1.093, allocations: 41.73 kB / 0.8232 GB, free: 73.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04946/1.143, allocations: 31.09 MB / 0.8536 GB, free: 66.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-05/1.143, allocations: 33.78 kB / 0.8536 GB, free: 66.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00657/1.15, allocations: 1.92 MB / 0.8555 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02188/1.171, allocations: 6.823 MB / 0.8622 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/1.173, allocations: 310.1 kB / 0.8625 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/1.2, allocations: 50.37 MB / 0.9117 GB, free: 11.07 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.008866/1.208, allocations: 13.54 MB / 0.9249 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/1.232, allocations: 12.3 MB / 0.9369 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.234, allocations: 0.7382 MB / 0.9376 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.236, allocations: 201.9 kB / 0.9378 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.238, allocations: 222.5 kB / 0.938 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/1.24, allocations: 0.8094 MB / 0.9388 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005898/1.24, allocations: 431.8 kB / 0.9392 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003072/1.243, allocations: 3.225 MB / 0.9424 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/1.243, allocations: 0 / 0.9424 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009317/1.253, allocations: 3.704 MB / 0.946 GB, free: 6.863 MB / 0.4948 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.001167/1.254, allocations: 0.6434 MB / 0.9466 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1646/1.419, allocations: 8.037 MB / 0.9545 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.077e-05/1.419, allocations: 6.312 kB / 0.9545 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009762/1.428, allocations: 7.507 MB / 0.9618 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005991/1.434, allocations: 1.932 MB / 0.9637 GB, free: 122.3 MB / 0.4948 GB [/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 659] [Calling sys.exit(0), Time elapsed: 3.1498304354026914]