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.001066/0.001066, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 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.0009317/0.0009317, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.013/1.013, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.1004/0.1004, allocations: 17.38 MB / 276.6 MB, free: 11.84 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 413 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.261e-05, allocations: 3.828 kB / 413 MB, free: 14.84 MB / 394.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.2592/0.2592, allocations: 64.02 MB / 477 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.2847, allocations: 15.57 MB / 492.6 MB, free: 32.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008798/0.2935, allocations: 126.3 kB / 492.7 MB, free: 32.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007358/0.3008, allocations: 2.512 MB / 495.2 MB, free: 31.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.3137, allocations: 3.68 MB / 498.9 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00846/0.3222, allocations: 2.909 MB / 0.4901 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.3375, allocations: 11.28 MB / 0.5011 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004553/0.342, allocations: 2.376 MB / 0.5034 GB, free: 17.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01217/0.3542, allocations: 6.835 MB / 0.5101 GB, free: 12.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007812/0.362, allocations: 3.919 MB / 0.5139 GB, free: 9.297 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004308/0.3663, allocations: 1.223 MB / 0.5151 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.3766, allocations: 2.326 MB / 0.5174 GB, free: 5.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005004/0.3816, allocations: 3.639 MB / 0.5209 GB, free: 2.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.392, allocations: 4.115 MB / 0.5249 GB, free: 15.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0269/0.4189, allocations: 16.93 MB / 0.5415 GB, free: 15.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4189, allocations: 4 kB / 0.5415 GB, free: 15.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4189, allocations: 0 / 0.5415 GB, free: 15.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007088/0.4196, allocations: 0 / 0.5415 GB, free: 15.61 MB / 442.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.02481/0.4444, allocations: 12.49 MB / 0.5537 GB, free: 3.016 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4445, allocations: 15.97 kB / 0.5537 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004586/0.4491, allocations: 1.705 MB / 0.5554 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008739/0.4578, allocations: 2.857 MB / 0.5582 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009889/0.4677, allocations: 5.296 MB / 0.5633 GB, free: 9.047 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001899/0.4696, allocations: 2.012 MB / 0.5653 GB, free: 6.898 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004079/0.4737, allocations: 1.133 MB / 0.5664 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05221/0.5259, allocations: 47.28 MB / 0.6126 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.5261, allocations: 7.984 kB / 0.6126 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/0.5279, allocations: 467.9 kB / 0.613 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.5293, allocations: 1.847 MB / 0.6148 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4144/0.9436, allocations: 79.19 MB / 0.6922 GB, free: 126 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1242/1.068, allocations: 108.4 MB / 0.798 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/1.085, allocations: 19.42 MB / 0.817 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01495/1.1, allocations: 15.6 MB / 0.8322 GB, free: 7.109 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/1.102, allocations: 0.7521 MB / 0.833 GB, free: 6.359 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/1.102, allocations: 94.47 kB / 0.8331 GB, free: 6.262 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=533): time 7.534e-06/1.102, allocations: 0 / 0.8331 GB, free: 6.262 MB / 0.5262 GB Notification: Performance of matching and sorting (n=755): time 0.4348/1.537, allocations: 132.1 MB / 0.9621 GB, free: 81.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04651/1.583, allocations: 51.81 MB / 1.013 GB, free: 28.63 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01665/1.6, allocations: 13.71 MB / 1.026 GB, free: 15 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/1.603, allocations: 145.7 kB / 1.026 GB, free: 14.85 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003097/1.606, allocations: 5.421 MB / 1.032 GB, free: 9.711 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004309/1.61, allocations: 2.615 MB / 1.034 GB, free: 7.332 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005764/1.616, allocations: 2.427 MB / 1.036 GB, free: 4.898 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.99e-05/1.616, allocations: 307.8 kB / 1.037 GB, free: 4.598 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2358/1.852, allocations: 23 MB / 1.059 GB, free: 142.8 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02213/1.874, allocations: 24.07 MB / 1.083 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2694/2.143, allocations: 111.2 MB / 1.191 GB, free: 46.33 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.816e-05/2.143, allocations: 8 kB / 1.191 GB, free: 46.32 MB / 0.5262 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2537/2.397, allocations: 52.17 MB / 1.242 GB, free: 138.3 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/2.397, allocations: 18.25 kB / 1.242 GB, free: 138.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.374e-05/2.397, allocations: 25.66 kB / 1.242 GB, free: 138.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0315/2.428, allocations: 13.58 MB / 1.256 GB, free: 137.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02062/2.449, allocations: 4.497 MB / 1.26 GB, free: 137.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05195/2.501, allocations: 74.46 MB / 1.333 GB, free: 90.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/2.513, allocations: 0.6991 MB / 1.333 GB, free: 90.02 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003924/2.517, allocations: 1.721 MB / 1.335 GB, free: 89.71 MB / 0.5262 GB 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.009297/2.526, allocations: 2.758 MB / 1.338 GB, free: 88.16 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003826/2.53, allocations: 1.195 MB / 1.339 GB, free: 88.14 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05421/2.584, allocations: 31.36 MB / 1.37 GB, free: 61.66 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02589/2.61, allocations: 18.17 MB / 1.387 GB, free: 43.5 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.368e-05/2.61, allocations: 11.94 kB / 1.387 GB, free: 43.49 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000184/2.611, allocations: 39.86 kB / 1.387 GB, free: 43.45 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2699/2.88, allocations: 62.16 MB / 1.448 GB, free: 144.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.555e-05/2.88, allocations: 32.19 kB / 1.448 GB, free: 144.4 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007977/2.888, allocations: 1.968 MB / 1.45 GB, free: 144.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01844/2.907, allocations: 7.216 MB / 1.457 GB, free: 144.2 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001568/2.908, allocations: 304.8 kB / 1.457 GB, free: 144.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03786/2.946, allocations: 50.45 MB / 1.507 GB, free: 110.8 MB / 0.5418 GB 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.01043/2.957, allocations: 11.45 MB / 1.518 GB, free: 101.3 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04409/3.001, allocations: 27.37 MB / 1.544 GB, free: 88.87 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004035/3.005, allocations: 1.805 MB / 1.546 GB, free: 88.29 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00388/3.009, allocations: 193.3 kB / 1.546 GB, free: 88.19 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007591/3.016, allocations: 399 kB / 1.547 GB, free: 88.09 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002612/3.019, allocations: 0.8777 MB / 1.548 GB, free: 87.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008202/3.02, allocations: 480.7 kB / 1.548 GB, free: 87.82 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01701/3.037, allocations: 13.82 MB / 1.562 GB, free: 81.9 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.71e-07/3.037, allocations: 0 / 1.562 GB, free: 81.9 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01439/3.051, allocations: 4.102 MB / 1.566 GB, free: 79.08 MB / 0.5418 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.03618/3.087, allocations: 26.74 MB / 1.592 GB, free: 54.45 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0293/3.117, allocations: 29.84 MB / 1.621 GB, free: 24.76 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3e-05/3.117, allocations: 6.719 kB / 1.621 GB, free: 24.75 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01276/3.129, allocations: 10.11 MB / 1.631 GB, free: 14.45 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01408/3.144, allocations: 2.791 MB / 1.633 GB, free: 12.04 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.072827788069844]