Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001356/0.001356, 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.00144/0.00144, 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1442/0.1442, allocations: 23.88 MB / 333.4 MB, free: 1.184 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Processes_Tests_Diffusion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_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.00199/0.00199, allocations: 60.12 kB / 466.7 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 59.84 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.07781/0.1852, allocations: 61.42 MB / 0.5742 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.308/0.4932, allocations: 16.87 MB / 0.5907 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00911/0.5023, allocations: 123.5 kB / 0.5908 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008478/0.5108, allocations: 2.634 MB / 0.5934 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01337/0.5241, allocations: 3.524 MB / 0.5968 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00949/0.5336, allocations: 2.886 MB / 0.5996 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01942/0.553, allocations: 10.88 MB / 0.6102 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005161/0.5582, allocations: 2.701 MB / 0.6129 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.5684, allocations: 4.492 MB / 0.6173 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009712/0.5781, allocations: 5.388 MB / 0.6225 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004262/0.5823, allocations: 1.223 MB / 0.6237 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.5939, allocations: 2.913 MB / 0.6266 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005252/0.5992, allocations: 3.596 MB / 0.6301 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01283/0.612, allocations: 6.611 MB / 0.6365 GB, free: 296 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03036/0.6424, allocations: 17.09 MB / 0.6532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.6424, allocations: 0 / 0.6532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.678e-06/0.6424, allocations: 4 kB / 0.6532 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007887/0.6432, allocations: 0 / 0.6532 GB, free: 15.96 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.03241/0.6756, allocations: 12.72 MB / 0.6656 GB, free: 3.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6756, allocations: 10.69 kB / 0.6657 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003474/0.676, allocations: 315 kB / 0.666 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004318/0.6803, allocations: 1.708 MB / 0.6676 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008244/0.6885, allocations: 2.392 MB / 0.67 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.6998, allocations: 5.367 MB / 0.6752 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002254/0.702, allocations: 1.688 MB / 0.6768 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.705, allocations: 1.135 MB / 0.678 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06646/0.7715, allocations: 45.17 MB / 0.7221 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/0.7718, allocations: 0 / 0.7221 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/0.7734, allocations: 470 kB / 0.7225 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/0.7755, allocations: 1.849 MB / 0.7243 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08675/0.8623, allocations: 75.81 MB / 0.7984 GB, free: 11.76 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.6028/1.465, allocations: 111.7 MB / 0.9074 GB, free: 172.4 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/1.487, allocations: 20.03 MB / 0.927 GB, free: 152.4 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01575/1.503, allocations: 15.27 MB / 0.9419 GB, free: 137.1 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005045/1.508, allocations: 2.529 MB / 0.9444 GB, free: 134.3 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.62e-05/1.508, allocations: 98.28 kB / 0.9445 GB, free: 134.2 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=538): time 7.625e-06/1.508, allocations: 2.656 kB / 0.9445 GB, free: 134.2 MB / 0.6232 GB Notification: Performance of matching and sorting (n=760): time 0.3439/1.852, allocations: 132 MB / 1.073 GB, free: 2.855 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3525/2.204, allocations: 53.01 MB / 1.125 GB, free: 189.3 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01775/2.222, allocations: 13.68 MB / 1.138 GB, free: 184.3 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.002979/2.225, allocations: 147.6 kB / 1.139 GB, free: 184.2 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.004315/2.229, allocations: 5.423 MB / 1.144 GB, free: 180.9 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.004606/2.234, allocations: 2.659 MB / 1.147 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007726/2.242, allocations: 2.442 MB / 1.149 GB, free: 178.5 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/2.242, allocations: 301.1 kB / 1.149 GB, free: 178.2 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02405/2.266, allocations: 22.44 MB / 1.171 GB, free: 156.3 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02532/2.291, allocations: 23.51 MB / 1.194 GB, free: 132.5 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03737/2.328, allocations: 30.87 MB / 1.224 GB, free: 101.3 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.242e-05/2.329, allocations: 10.66 kB / 1.224 GB, free: 101.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=915) (initialization): time 0.08098/2.41, allocations: 50.97 MB / 1.274 GB, free: 50.39 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/2.41, allocations: 17.12 kB / 1.274 GB, free: 50.38 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-05/2.41, allocations: 24 kB / 1.274 GB, free: 50.35 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04483/2.454, allocations: 13.28 MB / 1.287 GB, free: 37.17 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03094/2.485, allocations: 4.417 MB / 1.291 GB, free: 32.77 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3458/2.831, allocations: 76.24 MB / 1.366 GB, free: 178.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/2.847, allocations: 0.6284 MB / 1.366 GB, free: 178.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004231/2.851, allocations: 1.717 MB / 1.368 GB, free: 178 MB / 0.6232 GB 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 (783): * Single equations (assignments): 751 * 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.0103/2.862, allocations: 2.738 MB / 1.371 GB, free: 176.5 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006795/2.868, allocations: 1.205 MB / 1.372 GB, free: 176.5 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08185/2.95, allocations: 31 MB / 1.402 GB, free: 163.2 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04558/2.996, allocations: 17.97 MB / 1.42 GB, free: 145.2 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.763e-05/2.996, allocations: 8 kB / 1.42 GB, free: 145.2 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002523/2.996, allocations: 35.86 kB / 1.42 GB, free: 145.2 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1102/3.106, allocations: 66.76 MB / 1.485 GB, free: 78.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001903/3.106, allocations: 36 kB / 1.485 GB, free: 78.26 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01503/3.122, allocations: 1.905 MB / 1.487 GB, free: 76.38 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03664/3.158, allocations: 7.182 MB / 1.494 GB, free: 69.26 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002007/3.16, allocations: 307.8 kB / 1.494 GB, free: 68.96 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0614/3.222, allocations: 53.7 MB / 1.547 GB, free: 12.31 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.2958/3.517, allocations: 12.15 MB / 1.558 GB, free: 185.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06485/3.582, allocations: 26.89 MB / 1.585 GB, free: 179.9 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004352/3.587, allocations: 1.887 MB / 1.587 GB, free: 179.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004234/3.591, allocations: 197.2 kB / 1.587 GB, free: 179.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/3.601, allocations: 323.7 kB / 1.587 GB, free: 179.2 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003061/3.604, allocations: 0.8499 MB / 1.588 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/3.605, allocations: 479.6 kB / 1.588 GB, free: 179 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.02052/3.626, allocations: 13.82 MB / 1.602 GB, free: 173.1 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.61e-07/3.626, allocations: 0 / 1.602 GB, free: 173.1 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01766/3.643, allocations: 4.142 MB / 1.606 GB, free: 172.8 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 151 * 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 (586): * Single equations (assignments): 561 * 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.05585/3.699, allocations: 26.3 MB / 1.632 GB, free: 156.3 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.03925/3.739, allocations: 29.07 MB / 1.66 GB, free: 129.7 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/3.739, allocations: 8 kB / 1.66 GB, free: 129.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01841/3.757, allocations: 9.954 MB / 1.67 GB, free: 120.4 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01644/3.773, allocations: 2.806 MB / 1.672 GB, free: 118.4 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 656] [Calling sys.exit(0), Time elapsed: 6.321693223027978] Failed to read output from testmodel.py, exit status != 0: 3.781971136049833 3.791081039 3.14628988 Calling exit ...