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.0009326/0.0009326, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.001179/0.001179, allocations: 169.8 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9219/0.9219, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.09565/0.09565, allocations: 17.38 MB / 277.4 MB, free: 11.87 MB / 266.7 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: translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.Diffusion") [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.001024/0.001024, allocations: 68.5 kB / 412.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1255, allocations: 59.84 MB / 472.7 MB, free: 13.88 MB / 378.7 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.04424/0.1697, allocations: 54.96 MB / 0.5152 GB, free: 6.859 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.1956, allocations: 15.56 MB / 0.5304 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007028/0.2026, allocations: 127.4 kB / 0.5306 GB, free: 7.109 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.2072, allocations: 2.505 MB / 0.533 GB, free: 4.586 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008142/0.2154, allocations: 3.521 MB / 0.5365 GB, free: 1.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.2209, allocations: 2.89 MB / 0.5393 GB, free: 14.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.2311, allocations: 10.86 MB / 0.5499 GB, free: 3.242 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.2334, allocations: 2.361 MB / 0.5522 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006296/0.2396, allocations: 7.117 MB / 0.5591 GB, free: 9.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003957/0.2436, allocations: 4.591 MB / 0.5636 GB, free: 5.031 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.2447, allocations: 1.227 MB / 0.5648 GB, free: 3.805 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.2484, allocations: 2.299 MB / 0.5671 GB, free: 1.504 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.2505, allocations: 3.602 MB / 0.5706 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0036/0.2541, allocations: 5.056 MB / 0.5755 GB, free: 8.809 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3019/0.556, allocations: 17.02 MB / 0.5921 GB, free: 52.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.556, allocations: 0 / 0.5921 GB, free: 52.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.556, allocations: 0 / 0.5921 GB, free: 52.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005823/0.5566, allocations: 2.109 kB / 0.5921 GB, free: 52.68 MB / 490.7 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.01714/0.5737, allocations: 12.64 MB / 0.6045 GB, free: 47.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5738, allocations: 9.781 kB / 0.6045 GB, free: 47.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.579, allocations: 2.866 MB / 0.6073 GB, free: 46.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.585, allocations: 5.29 MB / 0.6125 GB, free: 45.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.586, allocations: 2.015 MB / 0.6144 GB, free: 44.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000901/0.5869, allocations: 1.135 MB / 0.6155 GB, free: 44.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03006/0.617, allocations: 47.29 MB / 0.6617 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.6171, allocations: 0 / 0.6617 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000577/0.6177, allocations: 468.1 kB / 0.6622 GB, free: 3.074 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009275/0.6186, allocations: 1.846 MB / 0.664 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0544/0.673, allocations: 79.2 MB / 0.7413 GB, free: 2.195 MB / 0.5573 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.4362/1.109, allocations: 103.6 MB / 0.8425 GB, free: 235.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/1.128, allocations: 19.41 MB / 0.8614 GB, free: 226.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/1.141, allocations: 15.6 MB / 0.8767 GB, free: 210.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/1.143, allocations: 0.7442 MB / 0.8774 GB, free: 210.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/1.143, allocations: 91.88 kB / 0.8775 GB, free: 210.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=533): time 8.546e-06/1.143, allocations: 3.031 kB / 0.8775 GB, free: 210.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=755): time 0.2342/1.377, allocations: 131.6 MB / 1.006 GB, free: 79.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05323/1.431, allocations: 51.58 MB / 1.056 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006546/1.437, allocations: 4.752 MB / 1.061 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.003818/1.441, allocations: 153.1 kB / 1.061 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.443, allocations: 5.412 MB / 1.066 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.005132/1.448, allocations: 2.649 MB / 1.069 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007072/1.455, allocations: 2.478 MB / 1.071 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/1.455, allocations: 305.1 kB / 1.072 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4359/1.891, allocations: 23 MB / 1.094 GB, free: 231.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0267/1.918, allocations: 24.06 MB / 1.118 GB, free: 220.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.287/2.205, allocations: 111.2 MB / 1.226 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.503e-05/2.205, allocations: 8 kB / 1.226 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0698/2.275, allocations: 51.58 MB / 1.277 GB, free: 63.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/2.275, allocations: 19.98 kB / 1.277 GB, free: 63.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.868e-05/2.275, allocations: 24 kB / 1.277 GB, free: 63.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02733/2.302, allocations: 13.59 MB / 1.29 GB, free: 49.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01911/2.321, allocations: 4.485 MB / 1.294 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4557/2.777, allocations: 74.08 MB / 1.367 GB, free: 208.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/2.79, allocations: 0.7004 MB / 1.367 GB, free: 208.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005629/2.796, allocations: 1.717 MB / 1.369 GB, free: 207.8 MB / 0.6355 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.01487/2.811, allocations: 2.757 MB / 1.372 GB, free: 206.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005858/2.817, allocations: 0.6122 MB / 1.372 GB, free: 206.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05639/2.873, allocations: 30.82 MB / 1.402 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03333/2.906, allocations: 18.17 MB / 1.42 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001146/2.906, allocations: 12 kB / 1.42 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003127/2.907, allocations: 35.86 kB / 1.42 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09637/3.003, allocations: 64.63 MB / 1.483 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001093/3.003, allocations: 35.98 kB / 1.483 GB, free: 108.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009036/3.012, allocations: 1.968 MB / 1.485 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02057/3.033, allocations: 7.211 MB / 1.492 GB, free: 99.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002542/3.035, allocations: 303.8 kB / 1.493 GB, free: 98.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05339/3.089, allocations: 50.02 MB / 1.541 GB, free: 46.95 MB / 0.6355 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.01087/3.1, allocations: 11.34 MB / 1.553 GB, free: 35.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04967/3.149, allocations: 26.8 MB / 1.579 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005115/3.154, allocations: 0.7965 MB / 1.58 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006835/3.161, allocations: 191.7 kB / 1.58 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01154/3.173, allocations: 400.9 kB / 1.58 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005473/3.178, allocations: 0.8745 MB / 1.581 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002243/3.18, allocations: 479.8 kB / 1.581 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.34/3.52, allocations: 7.448 MB / 1.589 GB, free: 204.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/3.52, allocations: 0 / 1.589 GB, free: 204.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01745/3.538, allocations: 3.979 MB / 1.593 GB, free: 204.8 MB / 0.6355 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.002776/3.541, allocations: 0.5997 MB / 1.593 GB, free: 204.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.03537/3.576, allocations: 29.85 MB / 1.622 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.455e-05/3.576, allocations: 3.875 kB / 1.622 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01579/3.592, allocations: 10.13 MB / 1.632 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0149/3.607, allocations: 1.521 MB / 1.634 GB, free: 189.5 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 5.593720213975757] Failed to read output from testmodel.py, exit status != 0: 3.8103655560407788 3.623371736 3.06557798 Calling exit ...