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.001154/0.001154, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001919/0.001919, allocations: 173 kB / 23.49 MB, free: 1.055 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.9719/0.9719, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.08901/0.08901, allocations: 17.46 MB / 277.7 MB, free: 11.63 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.663e-06/1.663e-06, allocations: 3.938 kB / 353.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.058e-05, allocations: 8.703 kB / 353.6 MB, free: 10.16 MB / 282.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.2879/0.2879, allocations: 65.13 MB / 418.7 MB, free: 13.75 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.3099, allocations: 17.96 MB / 436.7 MB, free: 11.11 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003897/0.3138, allocations: 294.9 kB / 436.9 MB, free: 10.96 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004025/0.3179, allocations: 2.599 MB / 439.5 MB, free: 9.738 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007466/0.3253, allocations: 4.556 MB / 444.1 MB, free: 6.852 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005285/0.3306, allocations: 3.136 MB / 447.2 MB, free: 4.508 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.009499/0.3401, allocations: 12.26 MB / 459.5 MB, free: 13.29 MB / 346.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.3423, allocations: 2.392 MB / 461.9 MB, free: 12.02 MB / 346.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006031/0.3483, allocations: 7.337 MB / 469.2 MB, free: 7.629 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.3525, allocations: 5.226 MB / 474.5 MB, free: 5.078 MB / 346.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.3533, allocations: 1.175 MB / 475.6 MB, free: 5.078 MB / 346.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.3574, allocations: 2.483 MB / 478.1 MB, free: 4.613 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.3594, allocations: 3.635 MB / 481.7 MB, free: 1.605 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004695/0.3641, allocations: 4.162 MB / 485.9 MB, free: 13.64 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.3783, allocations: 12.08 MB / 498 MB, free: 2.418 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3783, allocations: 0 / 498 MB, free: 2.418 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3783, allocations: 0 / 498 MB, free: 2.418 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0002372/0.3785, allocations: 0 / 498 MB, free: 2.418 MB / 362.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.01283/0.3914, allocations: 13.68 MB / 0.4997 GB, free: 4.723 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3914, allocations: 8.031 kB / 0.4997 GB, free: 4.715 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/0.3979, allocations: 5.591 MB / 0.5052 GB, free: 15.15 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006743/0.4046, allocations: 6.505 MB / 0.5115 GB, free: 8.625 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007946/0.4054, allocations: 1.514 MB / 0.513 GB, free: 7 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009652/0.4064, allocations: 1.158 MB / 0.5141 GB, free: 5.863 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/0.4266, allocations: 15.9 MB / 0.5296 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.4267, allocations: 0 / 0.5296 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005941/0.4273, allocations: 484.3 kB / 0.5301 GB, free: 5.469 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/0.4285, allocations: 1.773 MB / 0.5318 GB, free: 3.684 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02377/0.4523, allocations: 20.43 MB / 0.5518 GB, free: 15.2 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2461/0.6985, allocations: 48.33 MB / 0.599 GB, free: 132.6 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00589/0.7043, allocations: 3.481 MB / 0.6024 GB, free: 130.9 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.7073, allocations: 1.804 MB / 0.6041 GB, free: 129.1 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/0.7272, allocations: 16.41 MB / 0.6202 GB, free: 113 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.7272, allocations: 77.02 kB / 0.6202 GB, free: 113 MB / 442.8 MB Notification: Performance of pre-optimization done (n=398): time 7.023e-06/0.7272, allocations: 0 / 0.6202 GB, free: 113 MB / 442.8 MB Notification: Performance of matching and sorting (n=486): time 0.1236/0.8508, allocations: 30 MB / 0.6495 GB, free: 83.34 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.0009633/0.8517, allocations: 2.514 MB / 0.652 GB, free: 80.7 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.8559, allocations: 4.907 MB / 0.6568 GB, free: 75.92 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001119/0.8571, allocations: 109.6 kB / 0.6569 GB, free: 75.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.8593, allocations: 6.59 MB / 0.6633 GB, free: 69.89 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.8608, allocations: 1.739 MB / 0.665 GB, free: 68.17 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/0.8627, allocations: 1.926 MB / 0.6669 GB, free: 66.23 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 2.956e-05/0.8627, allocations: 484.8 kB / 0.6674 GB, free: 65.76 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.8651, allocations: 1.633 MB / 0.669 GB, free: 64.12 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.8682, allocations: 5.639 MB / 0.6745 GB, free: 56.71 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006746/0.875, allocations: 8.244 MB / 0.6825 GB, free: 46.82 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.842e-05/0.875, allocations: 28 kB / 0.6825 GB, free: 46.79 MB / 442.8 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.01465/0.8897, allocations: 9.072 MB / 0.6914 GB, free: 37.71 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.8897, allocations: 48 kB / 0.6915 GB, free: 37.67 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-05/0.8898, allocations: 94.62 kB / 0.6915 GB, free: 37.58 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/0.8933, allocations: 1.841 MB / 0.6933 GB, free: 35.72 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007298/0.9006, allocations: 3.028 MB / 0.6963 GB, free: 32.73 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1759/1.076, allocations: 34.91 MB / 0.7304 GB, free: 119.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/1.081, allocations: 332.3 kB / 0.7307 GB, free: 119.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/1.083, allocations: 1.077 MB / 0.7318 GB, free: 119.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 12 (s5.substanceDefinitionVar.SelfClustering,s5.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,s4.substanceDefinitionVar.SelfClustering,s4.substanceDefinitionVar.data.phase,s3.substanceDefinitionVar.SelfClustering,s3.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase,s2.substanceDefinitionVar.SelfClustering,s2.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 836 * 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.004301/1.088, allocations: 0.6498 MB / 0.7324 GB, free: 119.1 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/1.09, allocations: 0.8199 MB / 0.7332 GB, free: 119.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/1.108, allocations: 9.918 MB / 0.7429 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/1.108, allocations: 46.72 kB / 0.7429 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-05/1.108, allocations: 7.906 kB / 0.7429 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/1.108, allocations: 24.7 kB / 0.743 GB, free: 118.3 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03345/1.141, allocations: 20.24 MB / 0.7627 GB, free: 113 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/1.141, allocations: 14.38 kB / 0.7627 GB, free: 113 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005921/1.147, allocations: 1.728 MB / 0.7644 GB, free: 113 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/1.151, allocations: 1.9 MB / 0.7663 GB, free: 112.4 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006477/1.152, allocations: 178.8 kB / 0.7664 GB, free: 112.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/1.169, allocations: 36.65 MB / 0.8022 GB, free: 73.89 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 postOpt calculateStateSetsJacobians (simulation): time 0.0009415/1.17, allocations: 2.285 MB / 0.8045 GB, free: 71.52 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.184, allocations: 7.947 MB / 0.8122 GB, free: 63.61 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.186, allocations: 0.5141 MB / 0.8127 GB, free: 63.44 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/1.187, allocations: 120.3 kB / 0.8128 GB, free: 63.33 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.19, allocations: 190.2 kB / 0.813 GB, free: 63.15 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000825/1.191, allocations: 442.9 kB / 0.8135 GB, free: 62.71 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/1.191, allocations: 263.9 kB / 0.8137 GB, free: 62.46 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003164/1.194, allocations: 2.611 MB / 0.8163 GB, free: 59.85 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.2e-07/1.194, allocations: 0 / 0.8163 GB, free: 59.85 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008296/1.202, allocations: 2.217 MB / 0.8184 GB, free: 57.66 MB / 442.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.001058/1.203, allocations: 0.5247 MB / 0.8189 GB, free: 57.23 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.011/1.214, allocations: 8.177 MB / 0.8269 GB, free: 48.84 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.214, allocations: 4 kB / 0.8269 GB, free: 48.83 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006115/1.221, allocations: 5.208 MB / 0.832 GB, free: 43.38 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/1.225, allocations: 1.576 MB / 0.8335 GB, free: 41.91 MB / 442.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.975849312962964]