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.001394/0.001394, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001712/0.001712, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.034/1.034, allocations: 177.2 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.1309/0.1309, allocations: 17.45 MB / 277.7 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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: translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.Diffusion") translateModel(Chemical.Processes.Tests.Diffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.Diffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 300.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.295e-05, allocations: 5.078 kB / 300.8 MB, free: 1.684 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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:1361:7-1361: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.04835/0.04836, allocations: 70.28 MB / 371 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03529/0.08366, allocations: 18.63 MB / 389.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007536/0.09119, allocations: 293.6 kB / 390 MB, free: 10.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005118/0.09631, allocations: 2.73 MB / 392.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009816/0.1061, allocations: 4.544 MB / 397.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006617/0.1127, allocations: 3.146 MB / 400.4 MB, free: 448 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01313/0.1259, allocations: 12.25 MB / 412.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.1289, allocations: 2.487 MB / 415.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007226/0.1361, allocations: 7.352 MB / 422.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.1409, allocations: 5.112 MB / 427.6 MB, free: 5.027 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.1421, allocations: 1.164 MB / 428.7 MB, free: 3.863 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.1458, allocations: 2.505 MB / 431.2 MB, free: 1.355 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.1476, allocations: 3.629 MB / 434.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.1511, allocations: 4.149 MB / 439 MB, free: 9.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2691/0.4201, allocations: 12.07 MB / 451.1 MB, free: 65.83 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4201, allocations: 2.172 kB / 451.1 MB, free: 65.83 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4201, allocations: 0 / 451.1 MB, free: 65.83 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0006013/0.4207, allocations: 3.281 kB / 451.1 MB, free: 65.83 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3621 * Number of variables: 3621 Notification: Performance of Generate backend data structure: time 0.02339/0.4441, allocations: 12.69 MB / 463.8 MB, free: 60.75 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4442, allocations: 11.75 kB / 463.8 MB, free: 60.75 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.4546, allocations: 5.126 MB / 468.9 MB, free: 60.64 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008971/0.4636, allocations: 4.14 MB / 473.1 MB, free: 59.27 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009574/0.4645, allocations: 1.511 MB / 474.6 MB, free: 58.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/0.4671, allocations: 1.153 MB / 475.7 MB, free: 58.54 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.4895, allocations: 13.66 MB / 489.4 MB, free: 57.62 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/0.4898, allocations: 3.938 kB / 489.4 MB, free: 57.62 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00101/0.4908, allocations: 474.6 kB / 489.9 MB, free: 57.62 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/0.492, allocations: 1.77 MB / 491.6 MB, free: 57.56 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/0.5084, allocations: 16.08 MB / 0.4958 GB, free: 42.31 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05168/0.5601, allocations: 38.71 MB / 0.5336 GB, free: 5.508 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.5638, allocations: 2.656 MB / 0.5362 GB, free: 2.914 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.5654, allocations: 1.197 MB / 0.5374 GB, free: 1.723 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/0.5853, allocations: 12.89 MB / 0.55 GB, free: 5.148 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.5854, allocations: 77.38 kB / 0.55 GB, free: 5.07 MB / 426.8 MB Notification: Performance of pre-optimization done (n=398): time 5.35e-06/0.5854, allocations: 0 / 0.55 GB, free: 5.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=486): time 0.04422/0.6296, allocations: 18.54 MB / 0.5681 GB, free: 2.801 MB / 442.8 MB 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 inlineWhenForInitialization (initialization): time 0.001184/0.6308, allocations: 1.921 MB / 0.57 GB, free: 0.8008 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/0.6346, allocations: 3.807 MB / 0.5737 GB, free: 13.82 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/0.6357, allocations: 105.7 kB / 0.5738 GB, free: 13.71 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002498/0.6382, allocations: 5.424 MB / 0.5791 GB, free: 8.504 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002019/0.6403, allocations: 1.757 MB / 0.5808 GB, free: 6.848 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/0.6424, allocations: 1.575 MB / 0.5824 GB, free: 5.426 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.6425, allocations: 301.1 kB / 0.5827 GB, free: 5.129 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/0.6449, allocations: 1.328 MB / 0.584 GB, free: 3.797 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/0.6483, allocations: 4.074 MB / 0.5879 GB, free: 14.66 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006564/0.6548, allocations: 6.438 MB / 0.5942 GB, free: 7.613 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.723e-05/0.6549, allocations: 24 kB / 0.5943 GB, free: 7.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01294/0.6678, allocations: 6.48 MB / 0.6006 GB, free: 1.762 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.6679, allocations: 48.95 kB / 0.6006 GB, free: 1.719 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.668, allocations: 94.73 kB / 0.6007 GB, free: 1.629 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1579/0.8259, allocations: 1.773 MB / 0.6025 GB, free: 121.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/0.8364, allocations: 3.436 MB / 0.6058 GB, free: 121.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.8483, allocations: 23.7 MB / 0.629 GB, free: 100.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004382/0.8527, allocations: 304.8 kB / 0.6292 GB, free: 100.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/0.8543, allocations: 0.8812 MB / 0.6301 GB, free: 100.3 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 12 (s2.substanceDefinitionVar.data.phase,s2.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering,s3.substanceDefinitionVar.data.phase,s3.substanceDefinitionVar.SelfClustering,s4.substanceDefinitionVar.data.phase,s4.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering,s5.substanceDefinitionVar.data.phase,s5.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 833 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,6), (2,2), (1,2), (2,1), (1,6), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003989/0.8583, allocations: 0.6058 MB / 0.6307 GB, free: 100.2 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/0.8599, allocations: 0.5743 MB / 0.6313 GB, free: 100.2 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/0.8744, allocations: 8.404 MB / 0.6395 GB, free: 99.42 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.8744, allocations: 43.47 kB / 0.6395 GB, free: 99.42 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/0.8745, allocations: 9.656 kB / 0.6395 GB, free: 99.42 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.8745, allocations: 22.5 kB / 0.6395 GB, free: 99.42 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/0.901, allocations: 14.06 MB / 0.6533 GB, free: 97.49 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.901, allocations: 11.38 kB / 0.6533 GB, free: 97.49 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007192/0.9082, allocations: 2.206 MB / 0.6554 GB, free: 97.49 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004494/0.9127, allocations: 2.133 MB / 0.6575 GB, free: 97.25 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007025/0.9134, allocations: 146.5 kB / 0.6577 GB, free: 97.25 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.9258, allocations: 25.31 MB / 0.6824 GB, free: 74.52 MB / 474.8 MB 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.0007363/0.9265, allocations: 1.717 MB / 0.6841 GB, free: 72.97 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009984/0.9365, allocations: 5.945 MB / 0.6899 GB, free: 70.25 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.9377, allocations: 0.4993 MB / 0.6903 GB, free: 70.24 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007511/0.9384, allocations: 114.8 kB / 0.6905 GB, free: 70.23 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.94, allocations: 166.6 kB / 0.6906 GB, free: 70.21 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00065/0.9407, allocations: 423 kB / 0.691 GB, free: 69.96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002591/0.9409, allocations: 201 kB / 0.6912 GB, free: 69.8 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001562/0.9425, allocations: 1.964 MB / 0.6931 GB, free: 68.18 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9425, allocations: 0 / 0.6931 GB, free: 68.18 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006519/0.949, allocations: 2.218 MB / 0.6953 GB, free: 66.18 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 19 (s2.logm,p2.logm,d2.rear.n_flow,s1.logm,p1.logm,d1.rear.n_flow,$STATESET3.x,s3.logm,p3.logm,d3.rear.n_flow,$STATESET2.x,s4.logm,p4.logm,d4.rear.n_flow,solvent.logm,$STATESET1.x,s5.logm,p5.logm,d5.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (434): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * 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%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,5), (3,4), (1,2), (3,3), (1,5), (3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000912/0.9499, allocations: 0.5306 MB / 0.6958 GB, free: 65.88 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.008017/0.9579, allocations: 6.152 MB / 0.7018 GB, free: 60.02 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001812/0.9581, allocations: 87.94 kB / 0.7019 GB, free: 59.93 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004345/0.9625, allocations: 3.782 MB / 0.7056 GB, free: 56.13 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/0.9669, allocations: 1.494 MB / 0.7071 GB, free: 54.77 MB / 474.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.751570955850184]