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.001532/0.001532, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001741/0.001741, allocations: 216.9 kB / 22.26 MB, free: 5.113 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 8.039 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.1303/0.1303, allocations: 23.84 MB / 336.3 MB, free: 11.24 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.001945/0.001945, allocations: 63.91 kB / 471.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2902, allocations: 59.85 MB / 0.5186 GB, free: 9.684 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.06988/0.3601, allocations: 61.61 MB / 0.5787 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.3932, allocations: 16.9 MB / 0.5952 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008321/0.4015, allocations: 131.4 kB / 0.5954 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007783/0.4093, allocations: 2.587 MB / 0.5979 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.422, allocations: 3.517 MB / 0.6013 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008412/0.4304, allocations: 2.879 MB / 0.6041 GB, free: 2.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01795/0.4484, allocations: 10.89 MB / 0.6148 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004413/0.4528, allocations: 2.396 MB / 0.6171 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00707/0.4599, allocations: 4.484 MB / 0.6215 GB, free: 476 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008071/0.4679, allocations: 5.388 MB / 0.6267 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00326/0.4712, allocations: 1.223 MB / 0.6279 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007606/0.4788, allocations: 2.915 MB / 0.6308 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004349/0.4832, allocations: 3.598 MB / 0.6343 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.4936, allocations: 6.622 MB / 0.6408 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02539/0.519, allocations: 17.07 MB / 0.6574 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.519, allocations: 0 / 0.6574 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.519, allocations: 0 / 0.6574 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004797/0.5195, allocations: 0 / 0.6574 GB, free: 11.52 MB / 0.4981 GB 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.02818/0.5476, allocations: 12.64 MB / 0.6698 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5477, allocations: 12.03 kB / 0.6698 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003814/0.5515, allocations: 1.701 MB / 0.6714 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007533/0.559, allocations: 2.389 MB / 0.6738 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.5711, allocations: 5.277 MB / 0.6789 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00253/0.5736, allocations: 2.012 MB / 0.6809 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/0.5766, allocations: 1.133 MB / 0.682 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06364/0.6402, allocations: 47.14 MB / 0.728 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/0.6405, allocations: 3.984 kB / 0.728 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/0.6421, allocations: 475.8 kB / 0.7285 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002028/0.6442, allocations: 1.847 MB / 0.7303 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4459/1.09, allocations: 79.12 MB / 0.8076 GB, free: 115.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.1295/1.22, allocations: 113.8 MB / 0.9187 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/1.247, allocations: 19.29 MB / 0.9375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02088/1.268, allocations: 15.44 MB / 0.9526 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004864/1.273, allocations: 1.196 MB / 0.9538 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.848e-05/1.273, allocations: 91.81 kB / 0.9539 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=533): time 7.193e-06/1.273, allocations: 3.938 kB / 0.9539 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=755): time 0.5394/1.812, allocations: 131.3 MB / 1.082 GB, free: 124.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07385/1.886, allocations: 52.71 MB / 1.134 GB, free: 70.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01681/1.903, allocations: 13.68 MB / 1.147 GB, free: 57.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002524/1.905, allocations: 147 kB / 1.147 GB, free: 56.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004475/1.91, allocations: 5.428 MB / 1.152 GB, free: 51.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003988/1.914, allocations: 2.642 MB / 1.155 GB, free: 49.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007405/1.921, allocations: 2.431 MB / 1.157 GB, free: 46.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/1.921, allocations: 305.1 kB / 1.158 GB, free: 46.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02323/1.944, allocations: 22.84 MB / 1.18 GB, free: 23.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.264/2.208, allocations: 23.89 MB / 1.203 GB, free: 185.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.542/2.75, allocations: 116.8 MB / 1.317 GB, free: 115.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-05/2.75, allocations: 8 kB / 1.317 GB, free: 115.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.07723/2.828, allocations: 51.84 MB / 1.368 GB, free: 64.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/2.828, allocations: 18.16 kB / 1.368 GB, free: 64.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.834e-05/2.828, allocations: 24 kB / 1.368 GB, free: 64.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04151/2.869, allocations: 13.5 MB / 1.381 GB, free: 50.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02725/2.897, allocations: 4.413 MB / 1.385 GB, free: 46.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3128/3.209, allocations: 75.42 MB / 1.459 GB, free: 186.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0142/3.224, allocations: 0.6221 MB / 1.46 GB, free: 186.8 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00431/3.228, allocations: 1.717 MB / 1.461 GB, free: 186.8 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.01097/3.239, allocations: 2.756 MB / 1.464 GB, free: 186.7 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005716/3.245, allocations: 1.198 MB / 1.465 GB, free: 186.7 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0746/3.319, allocations: 31.02 MB / 1.496 GB, free: 176 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04331/3.362, allocations: 17.99 MB / 1.513 GB, free: 168.9 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.278e-05/3.363, allocations: 9.312 kB / 1.513 GB, free: 168.9 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001993/3.363, allocations: 39.91 kB / 1.513 GB, free: 168.9 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09547/3.458, allocations: 67.1 MB / 1.579 GB, free: 107.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.361e-05/3.458, allocations: 32 kB / 1.579 GB, free: 107.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01293/3.471, allocations: 1.891 MB / 1.581 GB, free: 105.6 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03443/3.506, allocations: 7.182 MB / 1.588 GB, free: 98.51 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001711/3.507, allocations: 304.4 kB / 1.588 GB, free: 98.21 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05857/3.566, allocations: 51.46 MB / 1.638 GB, free: 44.71 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.01681/3.583, allocations: 11.64 MB / 1.649 GB, free: 32.43 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05545/3.638, allocations: 26.91 MB / 1.676 GB, free: 4.699 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004254/3.642, allocations: 1.811 MB / 1.678 GB, free: 2.887 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004289/3.647, allocations: 190.5 kB / 1.678 GB, free: 2.707 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008619/3.655, allocations: 319.7 kB / 1.678 GB, free: 2.395 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002647/3.658, allocations: 0.8719 MB / 1.679 GB, free: 1.539 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/3.659, allocations: 475.8 kB / 1.679 GB, free: 1.074 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.2548/3.914, allocations: 13.82 MB / 1.693 GB, free: 179.2 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2e-07/3.914, allocations: 4.906 kB / 1.693 GB, free: 179.2 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01688/3.931, allocations: 4.131 MB / 1.697 GB, free: 179.2 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.06172/3.993, allocations: 26.34 MB / 1.723 GB, free: 168.7 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.03981/4.032, allocations: 29.5 MB / 1.751 GB, free: 154 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.65e-05/4.032, allocations: 9.406 kB / 1.751 GB, free: 154 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01882/4.051, allocations: 9.994 MB / 1.761 GB, free: 144.8 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01652/4.068, allocations: 2.791 MB / 1.764 GB, free: 142.8 MB / 0.6232 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.393565643003967] Failed to read output from testmodel.py, exit status != 0: 4.07713768100075 4.086682316 3.565340195 Calling exit ...