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.001309/0.001309, allocations: 99.75 kB / 18.95 MB, free: 2.672 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.001456/0.001456, allocations: 217.1 kB / 22.25 MB, free: 5.254 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.781 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.1405/0.1405, allocations: 23.93 MB / 336.4 MB, free: 10.89 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.001958/0.001958, allocations: 67.84 kB / 471.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 59.88 MB / 0.5186 GB, free: 9.59 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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:1350:7-1350: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.1019/0.4369, allocations: 54.72 MB / 0.572 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03588/0.4728, allocations: 15.58 MB / 0.5873 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01165/0.4844, allocations: 179.1 kB / 0.5874 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009591/0.494, allocations: 2.451 MB / 0.5898 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.5103, allocations: 3.579 MB / 0.5933 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.5205, allocations: 2.863 MB / 0.5961 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02131/0.5418, allocations: 10.78 MB / 0.6066 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.5467, allocations: 2.392 MB / 0.609 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009057/0.5558, allocations: 4.558 MB / 0.6134 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.5661, allocations: 6.102 MB / 0.6194 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004671/0.5708, allocations: 1.148 MB / 0.6205 GB, free: 1.133 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008006/0.5788, allocations: 2.186 MB / 0.6226 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005146/0.5839, allocations: 3.22 MB / 0.6258 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008384/0.5923, allocations: 4.791 MB / 0.6305 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0241/0.6164, allocations: 16.28 MB / 0.6464 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6164, allocations: 0 / 0.6464 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6164, allocations: 4 kB / 0.6464 GB, free: 6.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006755/0.6171, allocations: 0 / 0.6464 GB, free: 6.551 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: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.02773/0.6448, allocations: 12.38 MB / 0.6585 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.6449, allocations: 12.03 kB / 0.6585 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004195/0.6491, allocations: 1.705 MB / 0.6601 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009679/0.6588, allocations: 2.658 MB / 0.6627 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.6691, allocations: 4.359 MB / 0.667 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001757/0.6708, allocations: 1.5 MB / 0.6685 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/0.6741, allocations: 1.136 MB / 0.6696 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05655/0.7307, allocations: 39.54 MB / 0.7082 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.7309, allocations: 0 / 0.7082 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/0.7324, allocations: 467.9 kB / 0.7086 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/0.7344, allocations: 1.761 MB / 0.7103 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5514/1.286, allocations: 69.58 MB / 0.7783 GB, free: 144.3 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.08651/1.372, allocations: 58.94 MB / 0.8359 GB, free: 87.12 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009247/1.382, allocations: 4.881 MB / 0.8406 GB, free: 82.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005511/1.387, allocations: 3.023 MB / 0.8436 GB, free: 79.18 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03144/1.418, allocations: 16.68 MB / 0.8599 GB, free: 62.69 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.419, allocations: 82.12 kB / 0.8599 GB, free: 62.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 7.554e-06/1.419, allocations: 0 / 0.8599 GB, free: 62.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.09368/1.512, allocations: 35.45 MB / 0.8946 GB, free: 27.63 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.001538/1.514, allocations: 1.874 MB / 0.8964 GB, free: 25.64 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/1.52, allocations: 5.745 MB / 0.902 GB, free: 20.02 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/1.522, allocations: 105.7 kB / 0.9021 GB, free: 19.91 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.524, allocations: 6.138 MB / 0.9081 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.527, allocations: 1.757 MB / 0.9098 GB, free: 12.01 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002566/1.529, allocations: 1.819 MB / 0.9116 GB, free: 10.18 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/1.529, allocations: 301.1 kB / 0.9119 GB, free: 9.887 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/1.534, allocations: 2.856 MB / 0.9147 GB, free: 7.035 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006994/1.541, allocations: 5.526 MB / 0.9201 GB, free: 276 kB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/1.559, allocations: 9.222 MB / 0.9291 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/1.559, allocations: 24 kB / 0.9291 GB, free: 5.902 MB / 0.5763 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03382/1.593, allocations: 11.24 MB / 0.9401 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/1.593, allocations: 44 kB / 0.9401 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.593, allocations: 88 kB / 0.9402 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006498/1.6, allocations: 2.086 MB / 0.9422 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01476/1.614, allocations: 2.724 MB / 0.9449 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3007/1.915, allocations: 28.66 MB / 0.9729 GB, free: 182.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.922, allocations: 351 kB / 0.9732 GB, free: 182.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/1.924, allocations: 1.073 MB / 0.9743 GB, free: 182.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * 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 (838): * Single equations (assignments): 818 * 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.007384/1.932, allocations: 2.795 MB / 0.977 GB, free: 182.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/1.934, allocations: 0.692 MB / 0.9777 GB, free: 182.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03399/1.968, allocations: 11.61 MB / 0.989 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.617e-05/1.968, allocations: 46.62 kB / 0.9891 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-05/1.968, allocations: 8.438 kB / 0.9891 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001315/1.968, allocations: 22.31 kB / 0.9891 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05697/2.025, allocations: 22.5 MB / 1.011 GB, free: 169.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.669e-05/2.025, allocations: 11.41 kB / 1.011 GB, free: 169.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009983/2.035, allocations: 1.432 MB / 1.012 GB, free: 169.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00575/2.041, allocations: 1.984 MB / 1.014 GB, free: 168.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009476/2.042, allocations: 176.7 kB / 1.015 GB, free: 168.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02704/2.069, allocations: 30.46 MB / 1.044 GB, free: 141.5 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.001297/2.07, allocations: 1.642 MB / 1.046 GB, free: 140 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02647/2.097, allocations: 10.58 MB / 1.056 GB, free: 135.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/2.099, allocations: 0.6445 MB / 1.057 GB, free: 135.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/2.101, allocations: 127.1 kB / 1.057 GB, free: 135.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005231/2.107, allocations: 219.4 kB / 1.057 GB, free: 135 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/2.108, allocations: 438.9 kB / 1.058 GB, free: 134.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004493/2.108, allocations: 255.9 kB / 1.058 GB, free: 134.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006507/2.115, allocations: 4.103 MB / 1.062 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.1e-07/2.115, allocations: 0 / 1.062 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01077/2.126, allocations: 2.071 MB / 1.064 GB, free: 128.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (433): * Single equations (assignments): 413 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (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%)} * 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.02901/2.155, allocations: 11.56 MB / 1.075 GB, free: 116.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0179/2.172, allocations: 8.814 MB / 1.084 GB, free: 107.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-05/2.172, allocations: 4 kB / 1.084 GB, free: 107.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/2.183, allocations: 5.045 MB / 1.089 GB, free: 102.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/2.193, allocations: 1.569 MB / 1.09 GB, free: 100.9 MB / 0.6075 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.657130775012774] Failed to read output from testmodel.py, exit status != 0: 2.2024238189915195 2.214508744 1.594336051 Calling exit ...