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.001446/0.001446, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00156/0.00156, allocations: 210 kB / 22.24 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.77 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.1659/0.1659, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002254/0.002254, allocations: 63.89 kB / 471.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4538, allocations: 59.87 MB / 0.5185 GB, free: 9.562 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.1219/0.5757, allocations: 54.8 MB / 0.572 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04898/0.6247, allocations: 15.55 MB / 0.5872 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.017/0.6417, allocations: 127.4 kB / 0.5874 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01213/0.6538, allocations: 2.498 MB / 0.5898 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01981/0.6736, allocations: 3.529 MB / 0.5932 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.686, allocations: 2.879 MB / 0.596 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02572/0.7117, allocations: 10.87 MB / 0.6067 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008208/0.7199, allocations: 2.36 MB / 0.609 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.7305, allocations: 4.499 MB / 0.6134 GB, free: 8.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.7407, allocations: 4.587 MB / 0.6178 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00638/0.7471, allocations: 1.223 MB / 0.619 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009766/0.7568, allocations: 2.299 MB / 0.6213 GB, free: 320 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006092/0.7629, allocations: 3.598 MB / 0.6248 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01367/0.7766, allocations: 5.056 MB / 0.6297 GB, free: 7.617 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03523/0.8118, allocations: 17.02 MB / 0.6464 GB, free: 6.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.8118, allocations: 4 kB / 0.6464 GB, free: 6.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.8118, allocations: 0 / 0.6464 GB, free: 6.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007866/0.8126, allocations: 0 / 0.6464 GB, free: 6.531 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.04218/0.8548, allocations: 12.65 MB / 0.6587 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.8549, allocations: 8.031 kB / 0.6587 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005248/0.8601, allocations: 1.705 MB / 0.6604 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.8734, allocations: 2.865 MB / 0.6632 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/0.8909, allocations: 5.292 MB / 0.6683 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00341/0.8943, allocations: 2.012 MB / 0.6703 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00463/0.899, allocations: 1.133 MB / 0.6714 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08219/0.9811, allocations: 47.3 MB / 0.7176 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/0.9814, allocations: 0 / 0.7176 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001865/0.9833, allocations: 471.9 kB / 0.7181 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.9855, allocations: 1.835 MB / 0.7198 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6608/1.646, allocations: 79.21 MB / 0.7972 GB, free: 125.3 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.1444/1.791, allocations: 108.4 MB / 0.9031 GB, free: 17.85 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/1.814, allocations: 19.41 MB / 0.922 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02452/1.838, allocations: 15.6 MB / 0.9373 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002973/1.841, allocations: 0.7529 MB / 0.938 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/1.841, allocations: 95.81 kB / 0.9381 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=533): time 1.035e-05/1.841, allocations: 2.719 kB / 0.9381 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=755): time 0.6937/2.535, allocations: 132 MB / 1.067 GB, free: 138.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07696/2.612, allocations: 51.83 MB / 1.118 GB, free: 85.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02078/2.633, allocations: 13.71 MB / 1.131 GB, free: 71.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003184/2.636, allocations: 145.7 kB / 1.131 GB, free: 71.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00531/2.641, allocations: 5.435 MB / 1.136 GB, free: 66.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005438/2.647, allocations: 2.639 MB / 1.139 GB, free: 64.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009998/2.657, allocations: 2.436 MB / 1.141 GB, free: 61.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/2.657, allocations: 305.1 kB / 1.142 GB, free: 61.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0271/2.684, allocations: 23 MB / 1.164 GB, free: 38.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02797/2.712, allocations: 24.06 MB / 1.188 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7977/3.51, allocations: 110.6 MB / 1.296 GB, free: 134.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.316e-05/3.51, allocations: 10.66 kB / 1.296 GB, free: 134.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08414/3.594, allocations: 52.16 MB / 1.347 GB, free: 83.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/3.594, allocations: 16 kB / 1.347 GB, free: 83.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.27e-05/3.594, allocations: 27.98 kB / 1.347 GB, free: 83.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04347/3.637, allocations: 13.5 MB / 1.36 GB, free: 70.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03051/3.668, allocations: 4.491 MB / 1.364 GB, free: 65.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07621/3.744, allocations: 74.52 MB / 1.437 GB, free: 5.641 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01674/3.761, allocations: 0.6983 MB / 1.438 GB, free: 4.941 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006248/3.767, allocations: 1.722 MB / 1.439 GB, free: 3.219 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.01301/3.78, allocations: 2.763 MB / 1.442 GB, free: 476 kB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3042/4.084, allocations: 1.19 MB / 1.443 GB, free: 195.6 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08583/4.17, allocations: 31.36 MB / 1.474 GB, free: 189.5 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04614/4.216, allocations: 18.18 MB / 1.492 GB, free: 182.5 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001097/4.216, allocations: 9.688 kB / 1.492 GB, free: 182.5 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002247/4.217, allocations: 37.36 kB / 1.492 GB, free: 182.5 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1076/4.324, allocations: 62.16 MB / 1.552 GB, free: 132.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/4.324, allocations: 32 kB / 1.552 GB, free: 132.4 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01538/4.34, allocations: 1.975 MB / 1.554 GB, free: 130.4 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03629/4.376, allocations: 7.178 MB / 1.561 GB, free: 123.3 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001718/4.378, allocations: 303.8 kB / 1.562 GB, free: 123 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06185/4.44, allocations: 50.49 MB / 1.611 GB, free: 70.59 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.01776/4.457, allocations: 11.45 MB / 1.622 GB, free: 58.59 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0643/4.522, allocations: 27.44 MB / 1.649 GB, free: 30.43 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005465/4.527, allocations: 1.801 MB / 1.651 GB, free: 28.62 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005409/4.533, allocations: 196.4 kB / 1.651 GB, free: 28.44 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/4.543, allocations: 394.2 kB / 1.651 GB, free: 28.05 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003338/4.547, allocations: 0.8746 MB / 1.652 GB, free: 27.18 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/4.548, allocations: 475.8 kB / 1.653 GB, free: 26.71 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.02072/4.568, allocations: 13.83 MB / 1.666 GB, free: 12.94 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.31e-07/4.568, allocations: 0 / 1.666 GB, free: 12.94 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01604/4.584, allocations: 4.107 MB / 1.67 GB, free: 8.852 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.3812/4.966, allocations: 26.79 MB / 1.696 GB, free: 175.1 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.05356/5.019, allocations: 29.85 MB / 1.725 GB, free: 164.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 5.689e-05/5.019, allocations: 3.938 kB / 1.725 GB, free: 164.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.022/5.041, allocations: 10.13 MB / 1.735 GB, free: 159.4 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02105/5.062, allocations: 2.796 MB / 1.738 GB, free: 158.5 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: 7.8180093839764595] Failed to read output from testmodel.py, exit status != 0: 5.072746990714222 5.083880381 4.269181086 Calling exit ...