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.00191/0.00191, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002463/0.002463, allocations: 215 kB / 20.13 MB, free: 2.949 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1762/0.1762, allocations: 23.86 MB / 333.4 MB, free: 1.203 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_Chemical_Processes_Tests_Diffusion",fmuType="cs",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.003562/0.003562, allocations: 64.89 kB / 466.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1919, allocations: 59.83 MB / 0.5142 GB, free: 12.96 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.1229/0.3148, allocations: 61.42 MB / 0.5741 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3498/0.6645, allocations: 16.85 MB / 0.5906 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0112/0.6757, allocations: 124.1 kB / 0.5907 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.6864, allocations: 2.635 MB / 0.5933 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01749/0.7039, allocations: 3.532 MB / 0.5967 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.7158, allocations: 2.889 MB / 0.5996 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.7377, allocations: 10.88 MB / 0.6102 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004965/0.7427, allocations: 2.697 MB / 0.6128 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.7541, allocations: 4.489 MB / 0.6172 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/0.7691, allocations: 5.385 MB / 0.6225 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005903/0.775, allocations: 1.223 MB / 0.6237 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.7895, allocations: 2.908 MB / 0.6265 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006158/0.7956, allocations: 3.593 MB / 0.63 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01563/0.8112, allocations: 6.618 MB / 0.6365 GB, free: 288 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0325/0.8437, allocations: 17.07 MB / 0.6532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.8438, allocations: 0 / 0.6532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8438, allocations: 0 / 0.6532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007213/0.8445, allocations: 0 / 0.6532 GB, free: 15.97 MB / 478.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.03743/0.8819, allocations: 12.71 MB / 0.6656 GB, free: 3.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.882, allocations: 12.03 kB / 0.6656 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003921/0.8824, allocations: 317.6 kB / 0.6659 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004884/0.8872, allocations: 1.704 MB / 0.6675 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008759/0.896, allocations: 2.392 MB / 0.6699 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.9084, allocations: 5.363 MB / 0.6751 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002478/0.9108, allocations: 1.686 MB / 0.6768 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/0.9144, allocations: 1.126 MB / 0.6779 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07055/0.9849, allocations: 45.18 MB / 0.722 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004592/0.9854, allocations: 2.531 kB / 0.722 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/0.9886, allocations: 464.1 kB / 0.7224 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.9909, allocations: 1.847 MB / 0.7242 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09478/1.086, allocations: 75.81 MB / 0.7983 GB, free: 11.77 MB / 0.6075 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.7439/1.83, allocations: 111.7 MB / 0.9073 GB, free: 172.3 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.851, allocations: 19.22 MB / 0.9261 GB, free: 153 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01711/1.868, allocations: 15.24 MB / 0.941 GB, free: 137.8 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00513/1.874, allocations: 2.532 MB / 0.9434 GB, free: 135 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/1.874, allocations: 98.52 kB / 0.9435 GB, free: 134.9 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=533): time 7.063e-06/1.874, allocations: 0 / 0.9435 GB, free: 134.9 MB / 0.6232 GB Notification: Performance of matching and sorting (n=755): time 0.3393/2.213, allocations: 132.1 MB / 1.073 GB, free: 3.445 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3856/2.599, allocations: 53.01 MB / 1.124 GB, free: 189.5 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01902/2.618, allocations: 13.68 MB / 1.138 GB, free: 184.6 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.003098/2.621, allocations: 141.7 kB / 1.138 GB, free: 184.4 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.004321/2.625, allocations: 5.433 MB / 1.143 GB, free: 181.1 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.004864/2.63, allocations: 2.646 MB / 1.146 GB, free: 179.4 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007355/2.637, allocations: 2.438 MB / 1.148 GB, free: 178.8 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/2.637, allocations: 305.1 kB / 1.148 GB, free: 178.5 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02432/2.662, allocations: 22.43 MB / 1.17 GB, free: 156.9 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02723/2.689, allocations: 23.49 MB / 1.193 GB, free: 133.2 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6301/3.319, allocations: 116.3 MB / 1.307 GB, free: 17.25 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.816e-05/3.319, allocations: 8 kB / 1.307 GB, free: 17.24 MB / 0.6232 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.3887/3.708, allocations: 51.07 MB / 1.357 GB, free: 197.6 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/3.708, allocations: 18.27 kB / 1.357 GB, free: 197.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-05/3.708, allocations: 28.38 kB / 1.357 GB, free: 197.6 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04611/3.754, allocations: 13.25 MB / 1.37 GB, free: 193.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03105/3.785, allocations: 4.421 MB / 1.374 GB, free: 193.3 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06854/3.853, allocations: 76.26 MB / 1.448 GB, free: 118.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01585/3.869, allocations: 0.6234 MB / 1.449 GB, free: 117.8 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004409/3.874, allocations: 1.725 MB / 1.451 GB, free: 116 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.00961/3.883, allocations: 2.745 MB / 1.453 GB, free: 113.3 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004846/3.888, allocations: 1.195 MB / 1.455 GB, free: 112.1 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07342/3.962, allocations: 30.94 MB / 1.485 GB, free: 81.17 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04337/4.005, allocations: 17.94 MB / 1.502 GB, free: 63.24 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/4.005, allocations: 9.781 kB / 1.502 GB, free: 63.23 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002807/4.005, allocations: 35.86 kB / 1.502 GB, free: 63.2 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4019/4.407, allocations: 65.29 MB / 1.566 GB, free: 187.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001265/4.407, allocations: 31.56 kB / 1.566 GB, free: 187.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01601/4.423, allocations: 1.895 MB / 1.568 GB, free: 187.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03931/4.463, allocations: 7.178 MB / 1.575 GB, free: 186.8 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002098/4.465, allocations: 302.2 kB / 1.575 GB, free: 186.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06441/4.529, allocations: 53.71 MB / 1.628 GB, free: 150.5 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.01769/4.547, allocations: 12.17 MB / 1.64 GB, free: 140.3 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05902/4.606, allocations: 26.76 MB / 1.666 GB, free: 127.8 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005423/4.611, allocations: 1.885 MB / 1.668 GB, free: 126.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005412/4.617, allocations: 188.7 kB / 1.668 GB, free: 126.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/4.628, allocations: 326 kB / 1.668 GB, free: 126.5 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003603/4.631, allocations: 0.8451 MB / 1.669 GB, free: 126.4 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009401/4.632, allocations: 476.6 kB / 1.669 GB, free: 126.3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.0198/4.652, allocations: 13.82 MB / 1.683 GB, free: 116.5 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.8e-07/4.652, allocations: 3.141 kB / 1.683 GB, free: 116.5 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01697/4.669, allocations: 4.133 MB / 1.687 GB, free: 112.4 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.05997/4.729, allocations: 26.18 MB / 1.713 GB, free: 85.62 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04279/4.772, allocations: 29.07 MB / 1.741 GB, free: 56.39 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.601e-05/4.772, allocations: 4 kB / 1.741 GB, free: 56.39 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.02142/4.793, allocations: 9.943 MB / 1.751 GB, free: 46.23 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02342/4.817, allocations: 2.791 MB / 1.753 GB, free: 43.61 MB / 0.6232 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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: 7.715284963021986] Failed to read output from testmodel.py, exit status != 0: 4.828126972017344 4.842426901 3.99503529 Calling exit ...