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.001336/0.001336, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001473/0.001473, allocations: 215.2 kB / 22.25 MB, free: 5.258 MB / 14.72 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1602/0.1602, allocations: 23.88 MB / 336.3 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 179] 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4913, allocations: 59.87 MB / 0.5185 GB, free: 9.555 MB / 382.1 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.1209/0.6122, allocations: 54.68 MB / 0.5719 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0415/0.6537, allocations: 15.57 MB / 0.5871 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01832/0.672, allocations: 119.5 kB / 0.5872 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.6838, allocations: 2.501 MB / 0.5897 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02034/0.7041, allocations: 3.529 MB / 0.5931 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.7168, allocations: 2.871 MB / 0.5959 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0252/0.742, allocations: 10.89 MB / 0.6066 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006985/0.749, allocations: 2.396 MB / 0.6089 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.7598, allocations: 4.5 MB / 0.6133 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.7716, allocations: 5.376 MB / 0.6186 GB, free: 3.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00569/0.7772, allocations: 1.227 MB / 0.6197 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.7885, allocations: 2.334 MB / 0.622 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006809/0.7953, allocations: 3.602 MB / 0.6255 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01371/0.809, allocations: 5.056 MB / 0.6305 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03505/0.8441, allocations: 17.02 MB / 0.6471 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.8441, allocations: 0 / 0.6471 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8441, allocations: 0 / 0.6471 GB, free: 5.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007783/0.8449, allocations: 0 / 0.6471 GB, free: 5.824 MB / 494.1 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.04091/0.8858, allocations: 12.65 MB / 0.6594 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.8858, allocations: 8.031 kB / 0.6595 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005614/0.8914, allocations: 1.705 MB / 0.6611 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.9042, allocations: 2.857 MB / 0.6639 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.9181, allocations: 5.304 MB / 0.6691 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002902/0.921, allocations: 2.012 MB / 0.6711 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003992/0.925, allocations: 1.133 MB / 0.6722 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08128/1.006, allocations: 47.29 MB / 0.7183 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/1.007, allocations: 3.938 kB / 0.7183 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002603/1.009, allocations: 467.9 kB / 0.7188 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/1.012, allocations: 1.843 MB / 0.7206 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5764/1.588, allocations: 79.2 MB / 0.7979 GB, free: 124.5 MB / 0.5607 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.1605/1.748, allocations: 108.4 MB / 0.9038 GB, free: 17.05 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/1.774, allocations: 19.42 MB / 0.9228 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02494/1.799, allocations: 15.6 MB / 0.938 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003002/1.802, allocations: 0.7529 MB / 0.9387 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/1.802, allocations: 91.81 kB / 0.9388 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=533): time 1.768e-05/1.802, allocations: 0 / 0.9388 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=755): time 0.7798/2.582, allocations: 132 MB / 1.068 GB, free: 137.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08638/2.668, allocations: 51.82 MB / 1.118 GB, free: 84.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02466/2.693, allocations: 13.72 MB / 1.132 GB, free: 71.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00335/2.696, allocations: 145 kB / 1.132 GB, free: 70.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.006109/2.702, allocations: 5.431 MB / 1.137 GB, free: 65.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005374/2.707, allocations: 2.644 MB / 1.14 GB, free: 63.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01128/2.719, allocations: 2.432 MB / 1.142 GB, free: 60.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/2.719, allocations: 309.1 kB / 1.142 GB, free: 60.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0283/2.747, allocations: 23 MB / 1.165 GB, free: 37.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02854/2.776, allocations: 24.06 MB / 1.188 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9024/3.678, allocations: 110.5 MB / 1.296 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/3.678, allocations: 8 kB / 1.296 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0951/3.773, allocations: 52.16 MB / 1.347 GB, free: 83.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/3.773, allocations: 16 kB / 1.347 GB, free: 83.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-05/3.774, allocations: 28 kB / 1.347 GB, free: 83.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04584/3.819, allocations: 13.51 MB / 1.361 GB, free: 69.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03171/3.851, allocations: 4.494 MB / 1.365 GB, free: 65.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08386/3.935, allocations: 74.52 MB / 1.438 GB, free: 5.074 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/3.954, allocations: 0.6964 MB / 1.438 GB, free: 4.379 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005847/3.96, allocations: 1.722 MB / 1.44 GB, free: 2.656 MB / 0.6232 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.3857/4.345, allocations: 2.758 MB / 1.443 GB, free: 195.7 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00689/4.352, allocations: 1.192 MB / 1.444 GB, free: 195.7 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09987/4.452, allocations: 31.33 MB / 1.475 GB, free: 189.5 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05289/4.505, allocations: 18.17 MB / 1.492 GB, free: 182.5 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000163/4.505, allocations: 13.44 kB / 1.492 GB, free: 182.5 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003201/4.505, allocations: 40.7 kB / 1.492 GB, free: 182.4 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.127/4.633, allocations: 62.16 MB / 1.553 GB, free: 132.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000195/4.633, allocations: 32 kB / 1.553 GB, free: 132.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01495/4.648, allocations: 1.971 MB / 1.555 GB, free: 130.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03962/4.687, allocations: 7.174 MB / 1.562 GB, free: 123.2 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001888/4.689, allocations: 303.8 kB / 1.562 GB, free: 122.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06552/4.755, allocations: 50.51 MB / 1.612 GB, free: 70.41 MB / 0.6232 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.02049/4.775, allocations: 11.46 MB / 1.623 GB, free: 58.3 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06871/4.844, allocations: 27.42 MB / 1.65 GB, free: 30.01 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005093/4.849, allocations: 1.806 MB / 1.651 GB, free: 28.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005089/4.854, allocations: 187.8 kB / 1.652 GB, free: 28.03 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01035/4.864, allocations: 398.3 kB / 1.652 GB, free: 27.64 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003147/4.868, allocations: 0.8707 MB / 1.653 GB, free: 26.77 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001835/4.869, allocations: 479.8 kB / 1.653 GB, free: 26.3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01972/4.889, allocations: 13.83 MB / 1.667 GB, free: 12.52 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.4e-07/4.889, allocations: 0 / 1.667 GB, free: 12.52 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01574/4.905, allocations: 4.1 MB / 1.671 GB, free: 8.441 MB / 0.6232 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.3936/5.298, allocations: 26.8 MB / 1.697 GB, free: 175.1 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0571/5.356, allocations: 29.84 MB / 1.726 GB, free: 164.3 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 5.914e-05/5.356, allocations: 2.875 kB / 1.726 GB, free: 164.3 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.02284/5.378, allocations: 10.13 MB / 1.736 GB, free: 159.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02513/5.404, allocations: 2.797 MB / 1.739 GB, free: 158.3 MB / 0.6232 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 8.258208485989599] Failed to read output from testmodel.py, exit status != 0: 5.414518780977232 5.433082709 4.58503663 Calling exit ...