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.0007846/0.0007846, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008651/0.0008651, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.8609/0.8609, allocations: 177.1 MB / 203.5 MB, free: 5.711 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.08119/0.08119, allocations: 17.46 MB / 277.4 MB, free: 11.79 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.212e-06/1.212e-06, allocations: 0 / 412.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.369e-05, allocations: 2.281 kB / 412.9 MB, free: 15.77 MB / 394.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.2041/0.2041, allocations: 56.94 MB / 469.8 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.2274, allocations: 17.05 MB / 486.8 MB, free: 34.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007547/0.235, allocations: 295 kB / 487.1 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006418/0.2414, allocations: 2.597 MB / 489.7 MB, free: 32.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.2522, allocations: 4.559 MB / 494.3 MB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006646/0.2588, allocations: 3.138 MB / 497.4 MB, free: 28.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.2721, allocations: 12.25 MB / 0.4977 GB, free: 21.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.2751, allocations: 2.397 MB / 0.5001 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0128/0.2879, allocations: 7.335 MB / 0.5072 GB, free: 16.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008031/0.2959, allocations: 5.182 MB / 0.5123 GB, free: 12.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002548/0.2984, allocations: 1.168 MB / 0.5134 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/0.3049, allocations: 2.489 MB / 0.5159 GB, free: 8.684 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00305/0.308, allocations: 3.623 MB / 0.5194 GB, free: 5.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00751/0.3155, allocations: 4.154 MB / 0.5235 GB, free: 1.758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.3343, allocations: 17.14 MB / 0.5402 GB, free: 1.391 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3343, allocations: 0 / 0.5402 GB, free: 1.391 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3343, allocations: 0 / 0.5402 GB, free: 1.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005659/0.3349, allocations: 0 / 0.5402 GB, free: 1.391 MB / 426.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.01971/0.3546, allocations: 12.73 MB / 0.5526 GB, free: 4.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3546, allocations: 12.03 kB / 0.5526 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005786/0.3604, allocations: 2.771 MB / 0.5553 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009129/0.3695, allocations: 6.396 MB / 0.5616 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008719/0.3704, allocations: 1.517 MB / 0.5631 GB, free: 9.594 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/0.3726, allocations: 1.16 MB / 0.5642 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04013/0.4127, allocations: 40.96 MB / 0.6042 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.4129, allocations: 11.94 kB / 0.6042 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.4145, allocations: 471.9 kB / 0.6047 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/0.4158, allocations: 1.769 MB / 0.6064 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3722/0.788, allocations: 73.6 MB / 0.6783 GB, free: 107.4 MB / 0.5105 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.0574/0.8454, allocations: 58.22 MB / 0.7351 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00591/0.8513, allocations: 4.823 MB / 0.7398 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003687/0.855, allocations: 3.111 MB / 0.7429 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01978/0.8748, allocations: 17.49 MB / 0.76 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.8748, allocations: 78.19 kB / 0.76 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=398): time 5.63e-06/0.8748, allocations: 0 / 0.76 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=486): time 0.05439/0.9292, allocations: 34.71 MB / 0.7939 GB, free: 4.508 MB / 0.5105 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.0008693/0.9301, allocations: 1.868 MB / 0.7957 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/0.9346, allocations: 4.764 MB / 0.8004 GB, free: 13.9 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/0.9358, allocations: 105.7 kB / 0.8005 GB, free: 13.79 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003101/0.9389, allocations: 6.261 MB / 0.8066 GB, free: 7.754 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002504/0.9414, allocations: 1.743 MB / 0.8083 GB, free: 6.035 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003019/0.9444, allocations: 1.859 MB / 0.8101 GB, free: 4.168 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.9445, allocations: 307.8 kB / 0.8104 GB, free: 3.867 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.9484, allocations: 2.864 MB / 0.8132 GB, free: 1.008 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/0.9537, allocations: 5.646 MB / 0.8187 GB, free: 10.12 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.9648, allocations: 9.376 MB / 0.8279 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.673e-05/0.9648, allocations: 28 kB / 0.8279 GB, free: 15.94 MB / 0.5574 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02026/0.9851, allocations: 11.32 MB / 0.839 GB, free: 5.234 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.9851, allocations: 44 kB / 0.839 GB, free: 5.191 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.795e-05/0.9852, allocations: 92.56 kB / 0.8391 GB, free: 5.102 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/0.9889, allocations: 2.077 MB / 0.8411 GB, free: 3.012 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2073/1.196, allocations: 3.345 MB / 0.8444 GB, free: 146.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.212, allocations: 28.2 MB / 0.8719 GB, free: 124.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.216, allocations: 392.3 kB / 0.8723 GB, free: 124.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.218, allocations: 1.1 MB / 0.8734 GB, free: 124.3 MB / 0.5574 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.006208/1.224, allocations: 2.818 MB / 0.8761 GB, free: 124.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/1.226, allocations: 0.6523 MB / 0.8768 GB, free: 124.2 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.244, allocations: 11.66 MB / 0.8882 GB, free: 122.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/1.244, allocations: 47.28 kB / 0.8882 GB, free: 122.2 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-05/1.244, allocations: 8.656 kB / 0.8882 GB, free: 122.2 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/1.244, allocations: 30.66 kB / 0.8882 GB, free: 122.2 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/1.283, allocations: 20.35 MB / 0.9081 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.283, allocations: 12.38 kB / 0.9081 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006723/1.289, allocations: 2.03 MB / 0.9101 GB, free: 113.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/1.293, allocations: 1.98 MB / 0.912 GB, free: 112.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006028/1.293, allocations: 180.5 kB / 0.9122 GB, free: 112.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/1.309, allocations: 29.98 MB / 0.9415 GB, free: 85.99 MB / 0.5574 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.0007744/1.31, allocations: 1.652 MB / 0.9431 GB, free: 84.55 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.327, allocations: 10.74 MB / 0.9536 GB, free: 80.03 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.328, allocations: 0.5162 MB / 0.9541 GB, free: 80.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009548/1.329, allocations: 114.5 kB / 0.9542 GB, free: 79.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.331, allocations: 243.7 kB / 0.9544 GB, free: 79.89 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007023/1.332, allocations: 446.4 kB / 0.9549 GB, free: 79.83 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/1.332, allocations: 265.3 kB / 0.9551 GB, free: 79.79 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003613/1.336, allocations: 3.338 MB / 0.9584 GB, free: 78.57 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.4e-07/1.336, allocations: 0 / 0.9584 GB, free: 78.57 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.007201/1.343, allocations: 2.219 MB / 0.9605 GB, free: 78.37 MB / 0.5574 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.001124/1.344, allocations: 0.5229 MB / 0.9611 GB, free: 78.18 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.356, allocations: 9.046 MB / 0.9699 GB, free: 74.18 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.356, allocations: 0 / 0.9699 GB, free: 74.18 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.006609/1.363, allocations: 5.073 MB / 0.9748 GB, free: 69.45 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.368, allocations: 1.335 MB / 0.9762 GB, free: 68.17 MB / 0.5574 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 659] [Calling sys.exit(0), Time elapsed: 2.9595734141767025] Failed to read output from testmodel.py, exit status != 0: 1.374638767912984 1.3813696260000001 1.045620517 Calling exit ...