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.001561/0.001561, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001733/0.001733, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.1214/0.1214, allocations: 17.44 MB / 277.2 MB, free: 15.17 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: 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.001975/0.001975, allocations: 59.91 kB / 412.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 59.88 MB / 472.4 MB, free: 9.555 MB / 446.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.2732/0.3794, allocations: 55.42 MB / 0.5155 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.4025, allocations: 15.96 MB / 0.5311 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007204/0.4097, allocations: 179.7 kB / 0.5313 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006323/0.416, allocations: 2.47 MB / 0.5337 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009812/0.4258, allocations: 3.642 MB / 0.5372 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007255/0.4331, allocations: 2.969 MB / 0.5401 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.4457, allocations: 10.98 MB / 0.5509 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004642/0.4504, allocations: 2.372 MB / 0.5532 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00802/0.4584, allocations: 4.628 MB / 0.5577 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.4691, allocations: 5.462 MB / 0.563 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003406/0.4725, allocations: 1.172 MB / 0.5642 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008407/0.4809, allocations: 2.209 MB / 0.5663 GB, free: 1.781 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005421/0.4864, allocations: 3.269 MB / 0.5695 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01055/0.4969, allocations: 4.875 MB / 0.5743 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02588/0.5228, allocations: 16.52 MB / 0.5904 GB, free: 10.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5228, allocations: 0 / 0.5904 GB, free: 10.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.5228, allocations: 4 kB / 0.5904 GB, free: 10.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005942/0.5234, allocations: 0 / 0.5904 GB, free: 10.58 MB / 494.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.02786/0.5513, allocations: 12.53 MB / 0.6026 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5513, allocations: 8.031 kB / 0.6026 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008724/0.56, allocations: 2.654 MB / 0.6052 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008958/0.569, allocations: 4.418 MB / 0.6096 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001474/0.5704, allocations: 1.517 MB / 0.611 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.5728, allocations: 1.156 MB / 0.6122 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05687/0.6297, allocations: 40.97 MB / 0.6522 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000208/0.6299, allocations: 0 / 0.6522 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/0.631, allocations: 475.9 kB / 0.6526 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001952/0.633, allocations: 1.777 MB / 0.6544 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4786/1.112, allocations: 73.59 MB / 0.7262 GB, free: 154.7 MB / 0.5763 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.08191/1.193, allocations: 58.07 MB / 0.7829 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008332/1.202, allocations: 4.828 MB / 0.7877 GB, free: 112.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005102/1.207, allocations: 3.11 MB / 0.7907 GB, free: 109.6 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02904/1.236, allocations: 17.48 MB / 0.8078 GB, free: 93.44 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/1.236, allocations: 78.19 kB / 0.8078 GB, free: 93.35 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=398): time 7.454e-06/1.236, allocations: 0 / 0.8078 GB, free: 93.35 MB / 0.5763 GB Notification: Performance of matching and sorting (n=486): time 0.09242/1.328, allocations: 35.24 MB / 0.8423 GB, free: 58.58 MB / 0.5763 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.001444/1.33, allocations: 1.867 MB / 0.8441 GB, free: 56.61 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/1.335, allocations: 4.765 MB / 0.8487 GB, free: 51.98 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001286/1.336, allocations: 105.7 kB / 0.8488 GB, free: 51.87 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002815/1.339, allocations: 6.277 MB / 0.855 GB, free: 45.66 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.341, allocations: 1.758 MB / 0.8567 GB, free: 43.89 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/1.343, allocations: 1.867 MB / 0.8585 GB, free: 42.02 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/1.343, allocations: 313.1 kB / 0.8588 GB, free: 41.71 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00477/1.348, allocations: 2.868 MB / 0.8616 GB, free: 38.84 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.354, allocations: 5.64 MB / 0.8671 GB, free: 31.91 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.365, allocations: 9.378 MB / 0.8763 GB, free: 21.37 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-05/1.365, allocations: 30.66 kB / 0.8763 GB, free: 21.34 MB / 0.5763 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02588/1.391, allocations: 11.26 MB / 0.8873 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/1.391, allocations: 44 kB / 0.8873 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-05/1.391, allocations: 92 kB / 0.8874 GB, free: 9.973 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005639/1.397, allocations: 2.082 MB / 0.8895 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/1.413, allocations: 3.354 MB / 0.8927 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03364/1.446, allocations: 28.21 MB / 0.9203 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/1.453, allocations: 389.2 kB / 0.9206 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/1.455, allocations: 1.102 MB / 0.9217 GB, free: 5.117 MB / 0.6075 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.007471/1.462, allocations: 2.822 MB / 0.9245 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002554/1.465, allocations: 0.6131 MB / 0.9251 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2563/1.721, allocations: 11.66 MB / 0.9365 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/1.721, allocations: 44.91 kB / 0.9365 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/1.721, allocations: 9.094 kB / 0.9365 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.485e-05/1.721, allocations: 26.61 kB / 0.9365 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04333/1.765, allocations: 20.36 MB / 0.9564 GB, free: 167.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/1.765, allocations: 11.25 kB / 0.9564 GB, free: 167.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/1.777, allocations: 2.028 MB / 0.9584 GB, free: 167.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005642/1.782, allocations: 1.964 MB / 0.9603 GB, free: 167.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/1.783, allocations: 182.2 kB / 0.9605 GB, free: 167.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/1.812, allocations: 30.01 MB / 0.9898 GB, free: 140.4 MB / 0.6075 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.001402/1.813, allocations: 1.661 MB / 0.9914 GB, free: 139 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0297/1.843, allocations: 10.72 MB / 1.002 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.844, allocations: 0.5207 MB / 1.002 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.845, allocations: 117 kB / 1.003 GB, free: 134.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/1.849, allocations: 243.9 kB / 1.003 GB, free: 134.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/1.85, allocations: 441.6 kB / 1.003 GB, free: 134.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004865/1.85, allocations: 263.5 kB / 1.003 GB, free: 134.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004991/1.855, allocations: 3.337 MB / 1.007 GB, free: 132.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.855, allocations: 0 / 1.007 GB, free: 132.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008216/1.863, allocations: 2.083 MB / 1.009 GB, free: 132.7 MB / 0.6075 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.001092/1.865, allocations: 0.513 MB / 1.009 GB, free: 132.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01759/1.882, allocations: 9.044 MB / 1.018 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/1.882, allocations: 3.656 kB / 1.018 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/1.893, allocations: 5.08 MB / 1.023 GB, free: 125.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.899, allocations: 1.258 MB / 1.024 GB, free: 124.8 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.159297393984161] Failed to read output from testmodel.py, exit status != 0: 1.9070440089562908 1.915591572 1.390573227 Calling exit ...