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.001362/0.001362, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 13.93 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.001179/0.001179, allocations: 174.3 kB / 22.46 MB, free: 2.102 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.9391/0.9391, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09548/0.09548, allocations: 17.45 MB / 276.7 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 413.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.032e-05, allocations: 2.984 kB / 413.1 MB, free: 11.85 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.05378/0.0538, allocations: 65.91 MB / 479.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02965/0.08345, allocations: 17.05 MB / 496.1 MB, free: 5.312 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.09349, allocations: 293.6 kB / 496.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007872/0.1014, allocations: 2.594 MB / 499 MB, free: 2.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.115, allocations: 4.564 MB / 0.4918 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007192/0.1222, allocations: 3.139 MB / 0.4948 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01604/0.1382, allocations: 12.24 MB / 0.5068 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.1425, allocations: 2.393 MB / 0.5091 GB, free: 11.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.1549, allocations: 7.344 MB / 0.5163 GB, free: 4.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007971/0.1629, allocations: 5.174 MB / 0.5213 GB, free: 15.33 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003048/0.1659, allocations: 1.168 MB / 0.5225 GB, free: 14.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.173, allocations: 2.493 MB / 0.5249 GB, free: 11.67 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004322/0.1773, allocations: 3.625 MB / 0.5285 GB, free: 8.031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007574/0.1849, allocations: 4.157 MB / 0.5325 GB, free: 3.863 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02028/0.2052, allocations: 17.12 MB / 0.5492 GB, free: 2.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.2052, allocations: 0 / 0.5492 GB, free: 2.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2052, allocations: 0 / 0.5492 GB, free: 2.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007568/0.2059, allocations: 0 / 0.5492 GB, free: 2.68 MB / 458.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.0208/0.2267, allocations: 12.75 MB / 0.5617 GB, free: 5.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.2268, allocations: 8.031 kB / 0.5617 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00359/0.2304, allocations: 1.734 MB / 0.5634 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.2367, allocations: 2.767 MB / 0.5661 GB, free: 1.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009794/0.2465, allocations: 6.396 MB / 0.5723 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/0.2475, allocations: 1.513 MB / 0.5738 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/0.2502, allocations: 1.156 MB / 0.5749 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2931/0.5433, allocations: 40.97 MB / 0.6149 GB, free: 125.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002136/0.5435, allocations: 0 / 0.6149 GB, free: 125.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/0.5449, allocations: 476.8 kB / 0.6154 GB, free: 125.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.5459, allocations: 1.772 MB / 0.6171 GB, free: 124.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04321/0.5891, allocations: 73.6 MB / 0.689 GB, free: 52.64 MB / 490.8 MB 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.06841/0.6575, allocations: 61.06 MB / 0.7486 GB, free: 8.516 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.6648, allocations: 4.835 MB / 0.7534 GB, free: 3.66 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004804/0.6696, allocations: 3.105 MB / 0.7564 GB, free: 0.5508 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02538/0.6949, allocations: 17.65 MB / 0.7736 GB, free: 15.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.695, allocations: 78.19 kB / 0.7737 GB, free: 15.02 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=398): time 6.261e-06/0.695, allocations: 0 / 0.7737 GB, free: 15.02 MB / 0.5262 GB Notification: Performance of matching and sorting (n=486): time 0.2356/0.9306, allocations: 34.78 MB / 0.8077 GB, free: 165.3 MB / 0.5262 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.001049/0.9316, allocations: 1.868 MB / 0.8095 GB, free: 163.6 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009381/0.941, allocations: 5.814 MB / 0.8152 GB, free: 161.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/0.9421, allocations: 106.2 kB / 0.8153 GB, free: 161.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/0.9449, allocations: 6.25 MB / 0.8214 GB, free: 157.5 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002195/0.9471, allocations: 1.737 MB / 0.8231 GB, free: 156.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/0.9492, allocations: 1.853 MB / 0.8249 GB, free: 155.4 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.684e-05/0.9492, allocations: 307.7 kB / 0.8252 GB, free: 155.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/0.9527, allocations: 2.868 MB / 0.828 GB, free: 154.1 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004046/0.9567, allocations: 5.648 MB / 0.8335 GB, free: 149.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008718/0.9655, allocations: 9.382 MB / 0.8426 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.081e-05/0.9655, allocations: 29.75 kB / 0.8427 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.01812/0.9836, allocations: 11.41 MB / 0.8538 GB, free: 137.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.9837, allocations: 44 kB / 0.8539 GB, free: 137.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/0.9837, allocations: 92 kB / 0.8539 GB, free: 137.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/0.987, allocations: 2.074 MB / 0.856 GB, free: 135.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008306/0.9953, allocations: 3.353 MB / 0.8592 GB, free: 133 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/1.01, allocations: 28.56 MB / 0.8871 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00561/1.015, allocations: 387.6 kB / 0.8875 GB, free: 103.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.017, allocations: 1.1 MB / 0.8886 GB, free: 102.2 MB / 0.5262 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.005785/1.023, allocations: 2.833 MB / 0.8913 GB, free: 99.35 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/1.025, allocations: 0.748 MB / 0.8921 GB, free: 98.6 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/1.044, allocations: 11.73 MB / 0.9035 GB, free: 87.51 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/1.044, allocations: 44 kB / 0.9036 GB, free: 87.47 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.501e-05/1.044, allocations: 12 kB / 0.9036 GB, free: 87.46 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.951e-05/1.044, allocations: 23.91 kB / 0.9036 GB, free: 87.43 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03765/1.081, allocations: 22.52 MB / 0.9256 GB, free: 64.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/1.081, allocations: 12 kB / 0.9256 GB, free: 64.77 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006574/1.088, allocations: 2.027 MB / 0.9276 GB, free: 62.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/1.092, allocations: 1.977 MB / 0.9295 GB, free: 60.81 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006707/1.092, allocations: 179.9 kB / 0.9297 GB, free: 60.64 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/1.109, allocations: 30.35 MB / 0.9593 GB, free: 28.29 MB / 0.5262 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.0007679/1.11, allocations: 1.641 MB / 0.9609 GB, free: 26.57 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.128, allocations: 10.86 MB / 0.9715 GB, free: 15.43 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.13, allocations: 0.6478 MB / 0.9722 GB, free: 14.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/1.131, allocations: 115.8 kB / 0.9723 GB, free: 14.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/1.134, allocations: 247.9 kB / 0.9725 GB, free: 14.43 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000809/1.135, allocations: 438.9 kB / 0.9729 GB, free: 14 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004028/1.135, allocations: 267.8 kB / 0.9732 GB, free: 13.74 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005236/1.14, allocations: 4.148 MB / 0.9773 GB, free: 9.621 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.21e-07/1.14, allocations: 0 / 0.9773 GB, free: 9.621 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.009598/1.15, allocations: 2.234 MB / 0.9794 GB, free: 7.387 MB / 0.5262 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.1863/1.336, allocations: 11.85 MB / 0.991 GB, free: 146.9 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01533/1.352, allocations: 9.032 MB / 0.9998 GB, free: 144.8 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.352, allocations: 2.344 kB / 0.9998 GB, free: 144.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007419/1.359, allocations: 5.072 MB / 1.005 GB, free: 142.6 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006867/1.366, allocations: 1.644 MB / 1.006 GB, free: 142.1 MB / 0.5262 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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: 3.3574076872318983]