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.001704/0.001704, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002186/0.002186, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.543/1.543, allocations: 230.6 MB / 256.8 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.1604/0.1604, allocations: 23.88 MB / 337.1 MB, free: 10.96 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="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.00208/0.00208, allocations: 59.91 kB / 471.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4372, allocations: 59.86 MB / 0.5193 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.1059/0.5431, allocations: 54.42 MB / 0.5724 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03676/0.5798, allocations: 15.55 MB / 0.5876 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01729/0.5971, allocations: 123.4 kB / 0.5877 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.6072, allocations: 2.544 MB / 0.5902 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01606/0.6233, allocations: 3.548 MB / 0.5937 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009365/0.6326, allocations: 2.879 MB / 0.5965 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02292/0.6556, allocations: 10.89 MB / 0.6071 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/0.6608, allocations: 2.399 MB / 0.6095 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.6709, allocations: 4.492 MB / 0.6139 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.6815, allocations: 5.384 MB / 0.6191 GB, free: 3.359 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005198/0.6867, allocations: 1.223 MB / 0.6203 GB, free: 2.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008563/0.6953, allocations: 2.33 MB / 0.6226 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005725/0.701, allocations: 3.602 MB / 0.6261 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01301/0.714, allocations: 5.052 MB / 0.631 GB, free: 7.113 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03907/0.7531, allocations: 17.02 MB / 0.6477 GB, free: 6.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.7531, allocations: 4 kB / 0.6477 GB, free: 6.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.7531, allocations: 0 / 0.6477 GB, free: 6.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001203/0.7543, allocations: 0 / 0.6477 GB, free: 6.023 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.03948/0.7938, allocations: 12.64 MB / 0.66 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.7939, allocations: 8.031 kB / 0.66 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004713/0.7943, allocations: 319 kB / 0.6603 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006169/0.8005, allocations: 1.713 MB / 0.662 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.8137, allocations: 2.857 MB / 0.6648 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.829, allocations: 5.293 MB / 0.67 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003303/0.8323, allocations: 2.016 MB / 0.6719 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004363/0.8367, allocations: 1.133 MB / 0.673 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07899/0.9157, allocations: 47.28 MB / 0.7192 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/0.9159, allocations: 0 / 0.7192 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002018/0.918, allocations: 467.9 kB / 0.7197 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00242/0.9204, allocations: 1.843 MB / 0.7215 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5979/1.518, allocations: 79.33 MB / 0.7989 GB, free: 124.6 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.1511/1.669, allocations: 108.4 MB / 0.9048 GB, free: 17.08 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02501/1.694, allocations: 19.42 MB / 0.9238 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02423/1.719, allocations: 15.61 MB / 0.939 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002822/1.721, allocations: 0.7499 MB / 0.9397 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/1.722, allocations: 91.88 kB / 0.9398 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=533): time 9.087e-06/1.722, allocations: 0 / 0.9398 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=755): time 0.7354/2.457, allocations: 132 MB / 1.069 GB, free: 137.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07817/2.535, allocations: 51.83 MB / 1.119 GB, free: 84.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02183/2.557, allocations: 13.68 MB / 1.133 GB, free: 71.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003356/2.56, allocations: 149.7 kB / 1.133 GB, free: 71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005918/2.566, allocations: 5.423 MB / 1.138 GB, free: 65.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005774/2.572, allocations: 2.647 MB / 1.141 GB, free: 63.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0137/2.586, allocations: 2.433 MB / 1.143 GB, free: 61.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/2.586, allocations: 313 kB / 1.143 GB, free: 60.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02675/2.613, allocations: 23 MB / 1.166 GB, free: 37.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02675/2.639, allocations: 24.06 MB / 1.189 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9002/3.54, allocations: 110.6 MB / 1.297 GB, free: 134.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-05/3.54, allocations: 8 kB / 1.297 GB, free: 134.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.08452/3.624, allocations: 52.16 MB / 1.348 GB, free: 83.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/3.624, allocations: 16 kB / 1.348 GB, free: 83.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.722e-05/3.624, allocations: 24 kB / 1.348 GB, free: 83.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04319/3.667, allocations: 13.5 MB / 1.362 GB, free: 69.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03003/3.697, allocations: 4.494 MB / 1.366 GB, free: 65.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07464/3.772, allocations: 74.53 MB / 1.439 GB, free: 5.301 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01662/3.789, allocations: 0.6944 MB / 1.439 GB, free: 4.605 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004756/3.793, allocations: 1.718 MB / 1.441 GB, free: 2.887 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.01076/3.804, allocations: 2.759 MB / 1.444 GB, free: 144 kB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2612/4.065, allocations: 1.196 MB / 1.445 GB, free: 196.4 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09102/4.156, allocations: 31.34 MB / 1.476 GB, free: 190.1 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04776/4.204, allocations: 18.16 MB / 1.493 GB, free: 183.1 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001358/4.204, allocations: 13.91 kB / 1.493 GB, free: 183.1 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000312/4.205, allocations: 36.56 kB / 1.493 GB, free: 183.1 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1024/4.307, allocations: 62.16 MB / 1.554 GB, free: 132.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001135/4.307, allocations: 32 kB / 1.554 GB, free: 132.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01403/4.321, allocations: 1.973 MB / 1.556 GB, free: 130.5 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03662/4.358, allocations: 7.177 MB / 1.563 GB, free: 123.4 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002234/4.36, allocations: 308.2 kB / 1.563 GB, free: 123.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0629/4.423, allocations: 50.5 MB / 1.613 GB, free: 70.68 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.01866/4.442, allocations: 11.45 MB / 1.624 GB, free: 58.63 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0648/4.506, allocations: 27.43 MB / 1.651 GB, free: 30.34 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005334/4.512, allocations: 1.809 MB / 1.652 GB, free: 28.53 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005258/4.517, allocations: 189.3 kB / 1.653 GB, free: 28.35 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01047/4.527, allocations: 398.2 kB / 1.653 GB, free: 27.96 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003279/4.531, allocations: 0.8764 MB / 1.654 GB, free: 27.09 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001519/4.532, allocations: 479.8 kB / 1.654 GB, free: 26.62 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.0215/4.554, allocations: 13.82 MB / 1.668 GB, free: 12.85 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.91e-07/4.554, allocations: 0 / 1.668 GB, free: 12.85 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01777/4.572, allocations: 4.104 MB / 1.672 GB, free: 8.766 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.431/5.003, allocations: 26.8 MB / 1.698 GB, free: 175.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.05169/5.054, allocations: 29.84 MB / 1.727 GB, free: 165.1 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.16e-05/5.054, allocations: 3.406 kB / 1.727 GB, free: 165.1 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.02291/5.077, allocations: 10.13 MB / 1.737 GB, free: 159.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02444/5.102, allocations: 2.799 MB / 1.74 GB, free: 159.1 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 655] [Calling sys.exit(0), Time elapsed: 7.817615124979056] Failed to read output from testmodel.py, exit status != 0: 5.1126808050321415 5.124041088 4.36802526 Calling exit ...