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.001351/0.001351, allocations: 77.39 kB / 19.18 MB, free: 2.531 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.001567/0.001567, allocations: 170.8 kB / 22.46 MB, free: 5.355 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.1356/0.1356, allocations: 17.45 MB / 276.6 MB, free: 15.23 MB / 270.1 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.763e-06/1.763e-06, allocations: 0 / 412.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.741e-05/3.917e-05, allocations: 2.281 kB / 412.1 MB, free: 4.301 MB / 334.1 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.2476/0.2477, allocations: 56.99 MB / 469.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03205/0.2797, allocations: 17.06 MB / 486.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01132/0.291, allocations: 293.6 kB / 486.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009383/0.3004, allocations: 2.595 MB / 489 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01843/0.3188, allocations: 4.557 MB / 493.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.33, allocations: 3.134 MB / 496.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0241/0.3541, allocations: 12.25 MB / 0.497 GB, free: 360 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005788/0.3599, allocations: 2.396 MB / 0.4994 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02026/0.3802, allocations: 7.335 MB / 0.5065 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0117/0.3919, allocations: 5.174 MB / 0.5116 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003807/0.3957, allocations: 1.168 MB / 0.5127 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009206/0.4049, allocations: 2.493 MB / 0.5152 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004857/0.4097, allocations: 3.626 MB / 0.5187 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.4199, allocations: 4.152 MB / 0.5228 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03026/0.4502, allocations: 17.13 MB / 0.5395 GB, free: 6.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4502, allocations: 0 / 0.5395 GB, free: 6.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4502, allocations: 0 / 0.5395 GB, free: 6.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007312/0.4509, allocations: 0 / 0.5395 GB, free: 6.676 MB / 430.1 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.02766/0.4786, allocations: 12.75 MB / 0.5519 GB, free: 9.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4786, allocations: 8.031 kB / 0.5519 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/0.4886, allocations: 2.771 MB / 0.5546 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.5028, allocations: 6.4 MB / 0.5609 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001895/0.5047, allocations: 1.513 MB / 0.5624 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003874/0.5086, allocations: 1.156 MB / 0.5635 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06491/0.5735, allocations: 40.96 MB / 0.6035 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.5737, allocations: 8 kB / 0.6035 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001648/0.5754, allocations: 475.9 kB / 0.604 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/0.5779, allocations: 1.769 MB / 0.6057 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4419/1.02, allocations: 73.6 MB / 0.6776 GB, free: 156.1 MB / 0.5138 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.08046/1.1, allocations: 58.23 MB / 0.7344 GB, free: 99.37 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008745/1.109, allocations: 4.831 MB / 0.7391 GB, free: 94.52 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005769/1.115, allocations: 3.102 MB / 0.7422 GB, free: 91.41 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03482/1.15, allocations: 17.49 MB / 0.7593 GB, free: 74.28 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/1.15, allocations: 86.11 kB / 0.7593 GB, free: 74.19 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 7.394e-06/1.15, allocations: 0 / 0.7593 GB, free: 74.19 MB / 0.5138 GB Notification: Performance of matching and sorting (n=486): time 0.1123/1.262, allocations: 34.69 MB / 0.7932 GB, free: 40.02 MB / 0.5138 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 inlineWhenForInitialization (initialization): time 0.001624/1.264, allocations: 1.866 MB / 0.795 GB, free: 38.04 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/1.27, allocations: 4.768 MB / 0.7997 GB, free: 33.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/1.272, allocations: 105.7 kB / 0.7998 GB, free: 33.29 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002819/1.274, allocations: 6.26 MB / 0.8059 GB, free: 27.16 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002035/1.276, allocations: 1.744 MB / 0.8076 GB, free: 25.44 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003856/1.28, allocations: 1.851 MB / 0.8094 GB, free: 23.58 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/1.28, allocations: 309.1 kB / 0.8097 GB, free: 23.28 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005808/1.286, allocations: 2.869 MB / 0.8125 GB, free: 20.41 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00679/1.293, allocations: 5.65 MB / 0.818 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/1.307, allocations: 9.382 MB / 0.8272 GB, free: 2.934 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.693e-05/1.307, allocations: 28 kB / 0.8272 GB, free: 2.906 MB / 0.5138 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.2336/1.541, allocations: 11.31 MB / 0.8383 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.541, allocations: 44.22 kB / 0.8383 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/1.541, allocations: 93.09 kB / 0.8384 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/1.548, allocations: 2.069 MB / 0.8404 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01879/1.567, allocations: 3.354 MB / 0.8437 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02787/1.595, allocations: 28.19 MB / 0.8712 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007106/1.602, allocations: 392.7 kB / 0.8716 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/1.604, allocations: 1.104 MB / 0.8727 GB, free: 128.2 MB / 0.5138 GB 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.00666/1.611, allocations: 2.817 MB / 0.8754 GB, free: 126.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002415/1.613, allocations: 0.6661 MB / 0.8761 GB, free: 126.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03585/1.649, allocations: 11.66 MB / 0.8875 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/1.649, allocations: 50.91 kB / 0.8875 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-05/1.649, allocations: 7.875 kB / 0.8875 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001741/1.649, allocations: 29.06 kB / 0.8876 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08009/1.73, allocations: 20.36 MB / 0.9074 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001526/1.73, allocations: 12 kB / 0.9075 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0204/1.75, allocations: 2.025 MB / 0.9094 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008918/1.759, allocations: 1.963 MB / 0.9113 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001381/1.76, allocations: 179.9 kB / 0.9115 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0441/1.805, allocations: 29.99 MB / 0.9408 GB, free: 72.18 MB / 0.5138 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.001943/1.806, allocations: 1.651 MB / 0.9424 GB, free: 70.45 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03346/1.84, allocations: 10.75 MB / 0.9529 GB, free: 59.79 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.842, allocations: 0.5102 MB / 0.9534 GB, free: 59.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002635/1.845, allocations: 121.9 kB / 0.9535 GB, free: 59.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005435/1.85, allocations: 247.8 kB / 0.9538 GB, free: 59.09 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001509/1.852, allocations: 438.9 kB / 0.9542 GB, free: 58.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008659/1.852, allocations: 267.9 kB / 0.9544 GB, free: 58.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005731/1.858, allocations: 3.336 MB / 0.9577 GB, free: 55.06 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/1.858, allocations: 0 / 0.9577 GB, free: 55.06 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01216/1.87, allocations: 2.22 MB / 0.9599 GB, free: 52.86 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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.002037/1.872, allocations: 0.5167 MB / 0.9604 GB, free: 52.43 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02134/1.894, allocations: 9.047 MB / 0.9692 GB, free: 43.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-05/1.894, allocations: 0 / 0.9692 GB, free: 43.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/1.907, allocations: 5.066 MB / 0.9741 GB, free: 37.93 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009844/1.917, allocations: 1.343 MB / 0.9755 GB, free: 36.64 MB / 0.5138 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676: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 658] [Calling sys.exit(0), Time elapsed: 4.325236722826958] Failed to read output from testmodel.py, exit status != 0: 1.9274601489305496 1.937345458 1.484546279 Calling exit ...