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.0009461/0.0009461, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.00104/0.00104, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.09516/0.09516, allocations: 17.46 MB / 278.5 MB, free: 11.4 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 3.417e-06/3.417e-06, allocations: 4 kB / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.922e-05, allocations: 2.312 kB / 354.8 MB, free: 10.61 MB / 330.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.05697/0.05701, allocations: 64.41 MB / 419.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02581/0.08282, allocations: 17.87 MB / 437.1 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004921/0.08774, allocations: 297.6 kB / 437.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004521/0.09226, allocations: 2.59 MB / 440 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.0997, allocations: 4.56 MB / 444.5 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1658/0.2655, allocations: 3.138 MB / 447.7 MB, free: 66.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.015/0.2805, allocations: 12.27 MB / 459.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/0.2844, allocations: 2.398 MB / 462.3 MB, free: 63.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.2955, allocations: 7.359 MB / 469.7 MB, free: 62.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007159/0.3027, allocations: 5.227 MB / 474.9 MB, free: 60.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00229/0.305, allocations: 1.163 MB / 476.1 MB, free: 60.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006499/0.3115, allocations: 2.488 MB / 478.6 MB, free: 60.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.3139, allocations: 3.624 MB / 482.2 MB, free: 58.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005985/0.3199, allocations: 4.149 MB / 486.3 MB, free: 56.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.3316, allocations: 12.07 MB / 498.4 MB, free: 51.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3316, allocations: 2.656 kB / 498.4 MB, free: 51.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3316, allocations: 3.938 kB / 498.4 MB, free: 51.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002838/0.3318, allocations: 0 / 498.4 MB, free: 51.41 MB / 410.7 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.01307/0.3449, allocations: 13.78 MB / 0.5002 GB, free: 44.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.3449, allocations: 6.688 kB / 0.5002 GB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/0.3507, allocations: 5.585 MB / 0.5056 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.3561, allocations: 6.436 MB / 0.5119 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005648/0.3567, allocations: 1.526 MB / 0.5134 GB, free: 35.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008478/0.3575, allocations: 1.151 MB / 0.5145 GB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.3687, allocations: 13.45 MB / 0.5277 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.3688, allocations: 3.953 kB / 0.5277 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005527/0.3694, allocations: 481.3 kB / 0.5281 GB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009539/0.3703, allocations: 1.765 MB / 0.5299 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.3814, allocations: 16.16 MB / 0.5456 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05472/0.4361, allocations: 46.23 MB / 0.5908 GB, free: 7.973 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.4401, allocations: 3.155 MB / 0.5939 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.4421, allocations: 1.551 MB / 0.5954 GB, free: 3.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2325/0.6745, allocations: 16.31 MB / 0.6113 GB, free: 96.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.039e-05/0.6746, allocations: 86.08 kB / 0.6114 GB, free: 96.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=398): time 6.953e-06/0.6746, allocations: 3.828 kB / 0.6114 GB, free: 96.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=486): time 0.05769/0.7323, allocations: 20.08 MB / 0.631 GB, free: 94.2 MB / 458.7 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.001485/0.7338, allocations: 2.494 MB / 0.6334 GB, free: 91.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005695/0.7395, allocations: 4.847 MB / 0.6382 GB, free: 91.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001245/0.7407, allocations: 108.3 kB / 0.6383 GB, free: 91.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003608/0.7443, allocations: 6.646 MB / 0.6448 GB, free: 87.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002283/0.7466, allocations: 1.754 MB / 0.6465 GB, free: 86.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002864/0.7495, allocations: 1.954 MB / 0.6484 GB, free: 85.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.7496, allocations: 483.3 kB / 0.6488 GB, free: 85.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.7522, allocations: 1.475 MB / 0.6503 GB, free: 84.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/0.7565, allocations: 5.502 MB / 0.6557 GB, free: 79.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009386/0.7659, allocations: 7.873 MB / 0.6633 GB, free: 73.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.784e-05/0.7659, allocations: 28.12 kB / 0.6634 GB, free: 73.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01662/0.7826, allocations: 8.536 MB / 0.6717 GB, free: 71.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.7826, allocations: 44.03 kB / 0.6718 GB, free: 71.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.247e-05/0.7827, allocations: 90.12 kB / 0.6718 GB, free: 71.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/0.7864, allocations: 1.832 MB / 0.6736 GB, free: 71.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008655/0.795, allocations: 3.016 MB / 0.6766 GB, free: 70.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.8153, allocations: 34.37 MB / 0.7101 GB, free: 35.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008067/0.8234, allocations: 305.1 kB / 0.7104 GB, free: 34.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002595/0.826, allocations: 1.024 MB / 0.7114 GB, free: 33.86 MB / 458.7 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.005395/0.8314, allocations: 0.6445 MB / 0.7121 GB, free: 33.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002915/0.8343, allocations: 0.8163 MB / 0.7129 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/0.8588, allocations: 9.479 MB / 0.7221 GB, free: 25.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/0.8589, allocations: 48 kB / 0.7222 GB, free: 25.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/0.8589, allocations: 11.94 kB / 0.7222 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.778e-05/0.859, allocations: 23.75 kB / 0.7222 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04278/0.9018, allocations: 19.94 MB / 0.7417 GB, free: 7.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.9018, allocations: 12.97 kB / 0.7417 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/0.9077, allocations: 1.728 MB / 0.7434 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004072/0.9118, allocations: 1.879 MB / 0.7452 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006544/0.9124, allocations: 179.9 kB / 0.7454 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2106/1.123, allocations: 36.09 MB / 0.7806 GB, free: 73.2 MB / 474.7 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.0009409/1.124, allocations: 2.278 MB / 0.7828 GB, free: 71.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.138, allocations: 7.255 MB / 0.7899 GB, free: 69.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.14, allocations: 0.5097 MB / 0.7904 GB, free: 69.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.141, allocations: 114.2 kB / 0.7905 GB, free: 69.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.143, allocations: 168.4 kB / 0.7907 GB, free: 69.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007809/1.144, allocations: 448.7 kB / 0.7911 GB, free: 69.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000338/1.144, allocations: 235.8 kB / 0.7913 GB, free: 69.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002576/1.147, allocations: 2.396 MB / 0.7937 GB, free: 68.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.147, allocations: 0 / 0.7937 GB, free: 68.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008478/1.156, allocations: 2.213 MB / 0.7958 GB, free: 68.95 MB / 474.7 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.001315/1.157, allocations: 0.5481 MB / 0.7964 GB, free: 68.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01113/1.168, allocations: 7.699 MB / 0.8039 GB, free: 65.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.168, allocations: 3.219 kB / 0.8039 GB, free: 65.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005504/1.173, allocations: 4.905 MB / 0.8087 GB, free: 62.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005587/1.179, allocations: 1.572 MB / 0.8102 GB, free: 62.88 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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: 3.067943013738841]