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.001464/0.001464, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001635/0.001635, allocations: 221.4 kB / 22.25 MB, free: 5.102 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.797 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.1331/0.1331, allocations: 23.88 MB / 336.3 MB, free: 10.98 MB / 270.1 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: 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.001943/0.001943, allocations: 71.89 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 59.85 MB / 0.5185 GB, free: 9.52 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.09473/0.3893, allocations: 54.73 MB / 0.572 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03121/0.4206, allocations: 15.55 MB / 0.5872 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008258/0.4288, allocations: 123.4 kB / 0.5873 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00772/0.4365, allocations: 2.501 MB / 0.5897 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.4481, allocations: 3.525 MB / 0.5932 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007256/0.4554, allocations: 2.891 MB / 0.596 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01696/0.4723, allocations: 10.88 MB / 0.6066 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004008/0.4763, allocations: 2.396 MB / 0.609 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.4825, allocations: 4.488 MB / 0.6133 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009102/0.4917, allocations: 5.392 MB / 0.6186 GB, free: 3.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004487/0.4961, allocations: 1.227 MB / 0.6198 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007725/0.5039, allocations: 2.33 MB / 0.6221 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00481/0.5087, allocations: 3.594 MB / 0.6256 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008311/0.517, allocations: 5.056 MB / 0.6305 GB, free: 6.891 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02326/0.5402, allocations: 17.02 MB / 0.6471 GB, free: 5.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5403, allocations: 0 / 0.6471 GB, free: 5.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5403, allocations: 0 / 0.6471 GB, free: 5.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004244/0.5407, allocations: 4 kB / 0.6471 GB, free: 5.797 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.02544/0.5661, allocations: 12.63 MB / 0.6595 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5662, allocations: 8.031 kB / 0.6595 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002853/0.569, allocations: 1.705 MB / 0.6612 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.5791, allocations: 2.865 MB / 0.664 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.5902, allocations: 5.292 MB / 0.6691 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002454/0.5927, allocations: 2.016 MB / 0.6711 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/0.5957, allocations: 1.136 MB / 0.6722 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06039/0.6561, allocations: 47.29 MB / 0.7184 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.6563, allocations: 4 kB / 0.7184 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/0.6573, allocations: 467.9 kB / 0.7188 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002019/0.6593, allocations: 1.839 MB / 0.7206 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.447/1.106, allocations: 79.2 MB / 0.798 GB, free: 124.7 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.1194/1.226, allocations: 108.4 MB / 0.9039 GB, free: 17.21 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02113/1.247, allocations: 19.42 MB / 0.9228 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02093/1.268, allocations: 15.6 MB / 0.9381 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/1.27, allocations: 0.7413 MB / 0.9388 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.476e-05/1.27, allocations: 95.81 kB / 0.9389 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=533): time 8.485e-06/1.27, allocations: 0 / 0.9389 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=755): time 0.5621/1.832, allocations: 132 MB / 1.068 GB, free: 137.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06691/1.899, allocations: 51.82 MB / 1.118 GB, free: 84.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01438/1.913, allocations: 13.71 MB / 1.132 GB, free: 71.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002649/1.916, allocations: 149.1 kB / 1.132 GB, free: 71.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.919, allocations: 5.425 MB / 1.137 GB, free: 65.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003556/1.923, allocations: 2.65 MB / 1.14 GB, free: 63.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005098/1.928, allocations: 2.429 MB / 1.142 GB, free: 61.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.095e-05/1.928, allocations: 305.1 kB / 1.143 GB, free: 60.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02186/1.95, allocations: 23.01 MB / 1.165 GB, free: 37.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02346/1.973, allocations: 24.07 MB / 1.188 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6838/2.657, allocations: 110.6 MB / 1.296 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.603e-05/2.657, allocations: 8 kB / 1.296 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.07783/2.735, allocations: 52.17 MB / 1.347 GB, free: 83.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/2.735, allocations: 16 kB / 1.347 GB, free: 83.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.096e-05/2.735, allocations: 24 kB / 1.347 GB, free: 83.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04054/2.776, allocations: 13.5 MB / 1.361 GB, free: 69.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02865/2.804, allocations: 4.49 MB / 1.365 GB, free: 65.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06791/2.872, allocations: 74.52 MB / 1.438 GB, free: 5.184 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01504/2.887, allocations: 0.6866 MB / 1.438 GB, free: 4.496 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004673/2.892, allocations: 1.722 MB / 1.44 GB, free: 2.773 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.009812/2.902, allocations: 2.768 MB / 1.443 GB, free: 16 kB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2375/3.139, allocations: 1.194 MB / 1.444 GB, free: 195.5 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07413/3.213, allocations: 31.34 MB / 1.475 GB, free: 189.4 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04171/3.255, allocations: 18.18 MB / 1.492 GB, free: 182.4 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.741e-05/3.255, allocations: 11.53 kB / 1.492 GB, free: 182.4 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001634/3.255, allocations: 36.98 kB / 1.492 GB, free: 182.4 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09159/3.347, allocations: 62.15 MB / 1.553 GB, free: 132.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001037/3.347, allocations: 32 kB / 1.553 GB, free: 132.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01422/3.361, allocations: 1.972 MB / 1.555 GB, free: 130.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03203/3.393, allocations: 7.175 MB / 1.562 GB, free: 123.2 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00134/3.394, allocations: 299.8 kB / 1.562 GB, free: 122.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0557/3.45, allocations: 50.51 MB / 1.612 GB, free: 70.44 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.01554/3.466, allocations: 11.46 MB / 1.623 GB, free: 58.38 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05881/3.524, allocations: 27.43 MB / 1.65 GB, free: 30.09 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004781/3.529, allocations: 1.808 MB / 1.651 GB, free: 28.27 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003807/3.533, allocations: 188.2 kB / 1.652 GB, free: 28.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008134/3.541, allocations: 394.2 kB / 1.652 GB, free: 27.71 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002448/3.544, allocations: 0.8793 MB / 1.653 GB, free: 26.84 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001271/3.545, allocations: 482.5 kB / 1.653 GB, free: 26.37 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01831/3.563, allocations: 13.82 MB / 1.667 GB, free: 12.6 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.31e-07/3.563, allocations: 0 / 1.667 GB, free: 12.6 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01524/3.578, allocations: 4.11 MB / 1.671 GB, free: 8.512 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.2919/3.87, allocations: 26.79 MB / 1.697 GB, free: 174.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.03992/3.91, allocations: 29.84 MB / 1.726 GB, free: 164.2 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 5.546e-05/3.91, allocations: 3.969 kB / 1.726 GB, free: 164.2 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01809/3.928, allocations: 10.13 MB / 1.736 GB, free: 159.1 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/3.941, allocations: 2.797 MB / 1.739 GB, free: 158.2 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 656] [Calling sys.exit(0), Time elapsed: 6.239507534017321] Failed to read output from testmodel.py, exit status != 0: 3.9492529020062648 3.958384137 3.415877377 Calling exit ...