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.0007835/0.0007835, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007757/0.0007757, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9206/0.9206, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.09275/0.09275, allocations: 17.36 MB / 276.6 MB, free: 11.85 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: "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 411.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.053e-05, allocations: 2.281 kB / 411.4 MB, free: 436 kB / 378.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.2485/0.2485, allocations: 55.08 MB / 466.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.2731, allocations: 15.56 MB / 482.1 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008092/0.2812, allocations: 124.9 kB / 482.2 MB, free: 34.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00578/0.287, allocations: 2.518 MB / 484.7 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009794/0.2968, allocations: 3.67 MB / 488.4 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.3042, allocations: 2.906 MB / 491.3 MB, free: 29.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01558/0.3198, allocations: 11.29 MB / 0.4908 GB, free: 24.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.3231, allocations: 2.382 MB / 0.4931 GB, free: 23.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.3351, allocations: 6.823 MB / 0.4998 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007269/0.3423, allocations: 3.922 MB / 0.5036 GB, free: 18.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002989/0.3453, allocations: 1.223 MB / 0.5048 GB, free: 17.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00626/0.3516, allocations: 2.325 MB / 0.5071 GB, free: 15.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.3538, allocations: 3.647 MB / 0.5107 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006889/0.3607, allocations: 4.113 MB / 0.5147 GB, free: 8.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.3801, allocations: 16.93 MB / 0.5312 GB, free: 9.473 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3801, allocations: 0 / 0.5312 GB, free: 9.473 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3801, allocations: 0 / 0.5312 GB, free: 9.473 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006353/0.3808, allocations: 0 / 0.5312 GB, free: 9.473 MB / 426.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.02075/0.4015, allocations: 12.49 MB / 0.5434 GB, free: 12.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4016, allocations: 8.031 kB / 0.5434 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001739/0.4033, allocations: 1.705 MB / 0.5451 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.4085, allocations: 2.869 MB / 0.5479 GB, free: 8.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007162/0.4156, allocations: 5.296 MB / 0.5531 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/0.417, allocations: 2.005 MB / 0.555 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.4181, allocations: 1.133 MB / 0.5561 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04673/0.4648, allocations: 47.29 MB / 0.6023 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.465, allocations: 0 / 0.6023 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006613/0.4656, allocations: 463.9 kB / 0.6027 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.467, allocations: 1.843 MB / 0.6045 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4228/0.8898, allocations: 79.2 MB / 0.6819 GB, free: 136.2 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.1092/0.999, allocations: 108.4 MB / 0.7878 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/1.015, allocations: 19.42 MB / 0.8067 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01214/1.027, allocations: 15.61 MB / 0.822 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/1.029, allocations: 0.745 MB / 0.8227 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.029, allocations: 97.8 kB / 0.8228 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=533): time 7.775e-06/1.029, allocations: 4 kB / 0.8228 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of matching and sorting (n=755): time 0.4313/1.46, allocations: 132.1 MB / 0.9518 GB, free: 94.63 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04422/1.504, allocations: 51.82 MB / 1.002 GB, free: 41.54 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01696/1.521, allocations: 13.71 MB / 1.016 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.00262/1.524, allocations: 141.7 kB / 1.016 GB, free: 27.77 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003591/1.527, allocations: 5.431 MB / 1.021 GB, free: 22.62 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00423/1.532, allocations: 2.617 MB / 1.024 GB, free: 20.25 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005443/1.537, allocations: 2.427 MB / 1.026 GB, free: 17.81 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.73e-05/1.537, allocations: 301.1 kB / 1.026 GB, free: 17.52 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2535/1.791, allocations: 23.01 MB / 1.049 GB, free: 145.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02353/1.814, allocations: 24.06 MB / 1.072 GB, free: 137.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2681/2.082, allocations: 111.2 MB / 1.181 GB, free: 60.48 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.817e-05/2.082, allocations: 8 kB / 1.181 GB, free: 60.48 MB / 0.5262 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.05993/2.142, allocations: 52.17 MB / 1.232 GB, free: 9.199 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/2.142, allocations: 16 kB / 1.232 GB, free: 9.184 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.822e-05/2.142, allocations: 27.81 kB / 1.232 GB, free: 9.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2475/2.39, allocations: 13.57 MB / 1.245 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/2.407, allocations: 4.483 MB / 1.25 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05351/2.46, allocations: 74.48 MB / 1.322 GB, free: 99.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/2.472, allocations: 0.6951 MB / 1.323 GB, free: 99.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004514/2.476, allocations: 1.723 MB / 1.325 GB, free: 99.18 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.01151/2.488, allocations: 2.765 MB / 1.327 GB, free: 97.63 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004439/2.492, allocations: 1.195 MB / 1.329 GB, free: 97.63 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04987/2.542, allocations: 31.36 MB / 1.359 GB, free: 75.37 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02816/2.57, allocations: 18.17 MB / 1.377 GB, free: 57.95 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.213e-05/2.57, allocations: 8 kB / 1.377 GB, free: 57.95 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002844/2.571, allocations: 42.52 kB / 1.377 GB, free: 57.91 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07593/2.647, allocations: 62.17 MB / 1.438 GB, free: 11.58 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001198/2.647, allocations: 32 kB / 1.438 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008598/2.655, allocations: 1.97 MB / 1.44 GB, free: 9.602 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01952/2.675, allocations: 7.214 MB / 1.447 GB, free: 2.449 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001867/2.677, allocations: 299.8 kB / 1.447 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2691/2.946, allocations: 50.46 MB / 1.496 GB, free: 121.9 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.009264/2.955, allocations: 11.44 MB / 1.507 GB, free: 112.5 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04341/2.999, allocations: 27.37 MB / 1.534 GB, free: 100 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004739/3.003, allocations: 1.805 MB / 1.536 GB, free: 99.45 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004179/3.007, allocations: 199.2 kB / 1.536 GB, free: 99.34 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00795/3.015, allocations: 392.8 kB / 1.537 GB, free: 99.25 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00289/3.018, allocations: 0.8764 MB / 1.537 GB, free: 99.06 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008213/3.019, allocations: 479.5 kB / 1.538 GB, free: 98.98 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01819/3.037, allocations: 13.82 MB / 1.551 GB, free: 93.07 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.61e-07/3.037, allocations: 0 / 1.551 GB, free: 93.07 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01624/3.054, allocations: 4.107 MB / 1.555 GB, free: 92.82 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.03961/3.093, allocations: 26.74 MB / 1.581 GB, free: 68.59 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.03345/3.127, allocations: 29.83 MB / 1.611 GB, free: 41.22 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.005e-05/3.127, allocations: 10.66 kB / 1.611 GB, free: 41.21 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0138/3.14, allocations: 10.12 MB / 1.62 GB, free: 30.91 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01835/3.159, allocations: 2.79 MB / 1.623 GB, free: 28.37 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 4.9303277637809515] Failed to read output from testmodel.py, exit status != 0: 3.1665383214130998 3.177817747 2.795928276 Calling exit ...