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.001437/0.001437, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002153/0.002153, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.1581/0.1581, allocations: 23.99 MB / 336.4 MB, free: 10.95 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: "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) [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.002808/0.002808, allocations: 63.91 kB / 471.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3668, allocations: 59.89 MB / 0.5187 GB, free: 9.406 MB / 382.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.104/0.4708, allocations: 55.44 MB / 0.5729 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03611/0.5069, allocations: 15.96 MB / 0.5885 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01225/0.5191, allocations: 179.1 kB / 0.5886 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008932/0.528, allocations: 2.474 MB / 0.591 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.5407, allocations: 3.634 MB / 0.5946 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008829/0.5495, allocations: 2.969 MB / 0.5975 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01967/0.5692, allocations: 10.99 MB / 0.6082 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004787/0.574, allocations: 2.37 MB / 0.6105 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008183/0.5822, allocations: 4.629 MB / 0.6151 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009959/0.5921, allocations: 5.457 MB / 0.6204 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004129/0.5962, allocations: 1.172 MB / 0.6215 GB, free: 128 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007595/0.6038, allocations: 2.209 MB / 0.6237 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004545/0.6084, allocations: 3.27 MB / 0.6269 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008674/0.6171, allocations: 4.872 MB / 0.6316 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02515/0.6422, allocations: 16.52 MB / 0.6478 GB, free: 5.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6422, allocations: 0 / 0.6478 GB, free: 5.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6422, allocations: 3.938 kB / 0.6478 GB, free: 5.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005229/0.6427, allocations: 0 / 0.6478 GB, free: 5.141 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.02561/0.6683, allocations: 12.55 MB / 0.66 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6684, allocations: 8.031 kB / 0.66 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003484/0.6719, allocations: 1.734 MB / 0.6617 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009302/0.6812, allocations: 2.646 MB / 0.6643 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009627/0.6908, allocations: 4.424 MB / 0.6686 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001558/0.6924, allocations: 1.513 MB / 0.6701 GB, free: 13.93 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002796/0.6952, allocations: 1.152 MB / 0.6712 GB, free: 12.78 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06271/0.7579, allocations: 40.98 MB / 0.7113 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004136/0.7583, allocations: 4 kB / 0.7113 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002581/0.7609, allocations: 479.9 kB / 0.7117 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002214/0.7631, allocations: 1.773 MB / 0.7134 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5296/1.293, allocations: 73.6 MB / 0.7853 GB, free: 137.2 MB / 0.5607 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.08214/1.375, allocations: 60.88 MB / 0.8448 GB, free: 77.64 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008243/1.383, allocations: 4.844 MB / 0.8495 GB, free: 72.77 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004887/1.388, allocations: 3.097 MB / 0.8525 GB, free: 69.67 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/1.417, allocations: 17.65 MB / 0.8698 GB, free: 52.22 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.417, allocations: 78.12 kB / 0.8698 GB, free: 52.14 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=398): time 7.053e-06/1.417, allocations: 0 / 0.8698 GB, free: 52.14 MB / 0.5607 GB Notification: Performance of matching and sorting (n=486): time 0.09315/1.51, allocations: 35.24 MB / 0.9042 GB, free: 17.38 MB / 0.5607 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.001572/1.512, allocations: 1.878 MB / 0.9061 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007496/1.519, allocations: 5.822 MB / 0.9118 GB, free: 9.699 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00149/1.521, allocations: 105.7 kB / 0.9119 GB, free: 9.59 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/1.524, allocations: 6.243 MB / 0.918 GB, free: 3.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/1.526, allocations: 1.755 MB / 0.9197 GB, free: 1.57 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003269/1.529, allocations: 1.874 MB / 0.9215 GB, free: 15.69 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.529, allocations: 301.1 kB / 0.9218 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006751/1.536, allocations: 2.868 MB / 0.9246 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009573/1.546, allocations: 5.648 MB / 0.9301 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/1.563, allocations: 9.377 MB / 0.9393 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/1.563, allocations: 28 kB / 0.9393 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.03421/1.598, allocations: 11.35 MB / 0.9504 GB, free: 15.69 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/1.598, allocations: 47.94 kB / 0.9504 GB, free: 15.64 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.598, allocations: 95.98 kB / 0.9505 GB, free: 15.55 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00656/1.604, allocations: 2.067 MB / 0.9525 GB, free: 13.46 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/1.622, allocations: 3.347 MB / 0.9558 GB, free: 10.17 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.282/1.904, allocations: 28.56 MB / 0.9837 GB, free: 174.9 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/1.911, allocations: 387.8 kB / 0.9841 GB, free: 174.9 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/1.914, allocations: 1.102 MB / 0.9851 GB, free: 174.9 MB / 0.6076 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.006793/1.921, allocations: 2.824 MB / 0.9879 GB, free: 174.2 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001993/1.923, allocations: 0.7023 MB / 0.9886 GB, free: 174.2 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04187/1.964, allocations: 11.73 MB / 1 GB, free: 170.2 MB / 0.6076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/1.965, allocations: 55.64 kB / 1 GB, free: 170.2 MB / 0.6076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/1.965, allocations: 7.875 kB / 1 GB, free: 170.2 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001848/1.965, allocations: 23.97 kB / 1 GB, free: 170.2 MB / 0.6076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07126/2.036, allocations: 22.54 MB / 1.022 GB, free: 160.3 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/2.036, allocations: 10.94 kB / 1.022 GB, free: 160.3 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01271/2.049, allocations: 2.03 MB / 1.024 GB, free: 160.2 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005872/2.055, allocations: 1.949 MB / 1.026 GB, free: 159.6 MB / 0.6076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009537/2.056, allocations: 176.5 kB / 1.026 GB, free: 159.5 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02811/2.084, allocations: 30.39 MB / 1.056 GB, free: 132.3 MB / 0.6076 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.001438/2.085, allocations: 1.647 MB / 1.057 GB, free: 130.8 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02762/2.113, allocations: 10.84 MB / 1.068 GB, free: 123.9 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/2.115, allocations: 0.6458 MB / 1.069 GB, free: 123.6 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/2.116, allocations: 122.8 kB / 1.069 GB, free: 123.5 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004766/2.121, allocations: 243.4 kB / 1.069 GB, free: 123.3 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/2.122, allocations: 446.9 kB / 1.069 GB, free: 122.9 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003952/2.123, allocations: 263.9 kB / 1.07 GB, free: 122.6 MB / 0.6076 GB Notification: Performance of sorting global known variables: time 0.005903/2.128, allocations: 4.144 MB / 1.074 GB, free: 118.5 MB / 0.6076 GB Notification: Performance of sort global known variables: time 2.51e-07/2.128, allocations: 2.594 kB / 1.074 GB, free: 118.5 MB / 0.6076 GB Notification: Performance of remove unused functions: time 0.009326/2.138, allocations: 2.108 MB / 1.076 GB, free: 116.4 MB / 0.6076 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.02833/2.166, allocations: 11.81 MB / 1.087 GB, free: 104.5 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.0187/2.185, allocations: 9.051 MB / 1.096 GB, free: 95.27 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/2.185, allocations: 4 kB / 1.096 GB, free: 95.27 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/2.196, allocations: 5.075 MB / 1.101 GB, free: 89.98 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007575/2.204, allocations: 1.568 MB / 1.103 GB, free: 88.48 MB / 0.6076 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.709234551060945] Failed to read output from testmodel.py, exit status != 0: 2.2138778949156404 2.222289654 1.57757485 Calling exit ...