Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterSublimation.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.001416/0.001416, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001641/0.001641, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.451/1.451, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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.1422/0.1422, allocations: 17.45 MB / 277 MB, free: 11.46 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.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.993e-05, allocations: 6.25 kB / 352.8 MB, free: 10.21 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterSublimation): time 0.04781/0.04784, allocations: 33.49 MB / 386.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3072/0.355, allocations: 128.5 MB / 0.5027 GB, free: 5.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.3582, allocations: 91.25 kB / 0.5028 GB, free: 5.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.3624, allocations: 1.244 MB / 0.504 GB, free: 3.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006007/0.3684, allocations: 1.691 MB / 0.5057 GB, free: 2.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.3746, allocations: 1.902 MB / 0.5075 GB, free: 328 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008169/0.3827, allocations: 4.159 MB / 0.5116 GB, free: 12.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.3843, allocations: 0.7197 MB / 0.5123 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.3881, allocations: 2.109 MB / 0.5143 GB, free: 9.262 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.3906, allocations: 1.476 MB / 0.5158 GB, free: 7.781 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005068/0.3911, allocations: 328 kB / 0.5161 GB, free: 7.461 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004074/0.3951, allocations: 1.513 MB / 0.5176 GB, free: 5.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.3962, allocations: 1.039 MB / 0.5186 GB, free: 4.902 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.3982, allocations: 1.215 MB / 0.5198 GB, free: 3.684 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.4092, allocations: 5.705 MB / 0.5254 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.4092, allocations: 3.984 kB / 0.5254 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4092, allocations: 0 / 0.5254 GB, free: 13.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001695/0.4093, allocations: 0 / 0.5254 GB, free: 13.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.008934/0.4183, allocations: 4.072 MB / 0.5293 GB, free: 9.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4183, allocations: 8.031 kB / 0.5293 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.4218, allocations: 1.605 MB / 0.5309 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.4256, allocations: 2.001 MB / 0.5329 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.4261, allocations: 433.4 kB / 0.5333 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006334/0.4267, allocations: 336.3 kB / 0.5336 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.443, allocations: 10.65 MB / 0.544 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-05/0.4431, allocations: 192 / 0.544 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.4434, allocations: 136.3 kB / 0.5441 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006065/0.444, allocations: 479.7 kB / 0.5446 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/0.4717, allocations: 19.86 MB / 0.564 GB, free: 6.242 MB / 442.7 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.1916/0.6633, allocations: 17.2 MB / 0.5808 GB, free: 164.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.6664, allocations: 2.276 MB / 0.583 GB, free: 163.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.6686, allocations: 1.753 MB / 0.5847 GB, free: 162.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/0.6837, allocations: 8.213 MB / 0.5927 GB, free: 157.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.6837, allocations: 51.75 kB / 0.5928 GB, free: 157.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=136): time 3.827e-06/0.6838, allocations: 2.969 kB / 0.5928 GB, free: 157.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=192): time 0.08648/0.7702, allocations: 22.31 MB / 0.6146 GB, free: 135.3 MB / 442.7 MB 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.01343/0.7837, allocations: 6.421 MB / 0.6208 GB, free: 128.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.7861, allocations: 1.675 MB / 0.6225 GB, free: 126.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008256/0.787, allocations: 61.7 kB / 0.6225 GB, free: 126.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009492/0.7879, allocations: 1.855 MB / 0.6243 GB, free: 125.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.7891, allocations: 0.6791 MB / 0.625 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/0.7914, allocations: 0.6919 MB / 0.6257 GB, free: 123.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.7914, allocations: 301.1 kB / 0.626 GB, free: 123.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.7953, allocations: 2.631 MB / 0.6285 GB, free: 120.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/0.7993, allocations: 3.391 MB / 0.6319 GB, free: 117.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.156/0.9553, allocations: 29.05 MB / 0.6602 GB, free: 88.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-05/0.9553, allocations: 8 kB / 0.6602 GB, free: 88.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02948/0.9848, allocations: 8.91 MB / 0.6689 GB, free: 79.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.9849, allocations: 22.64 kB / 0.669 GB, free: 79.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/0.9849, allocations: 24 kB / 0.669 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02225/1.007, allocations: 4.603 MB / 0.6735 GB, free: 74.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/1.013, allocations: 1.013 MB / 0.6745 GB, free: 73.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/1.029, allocations: 11.94 MB / 0.6861 GB, free: 61.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/1.033, allocations: 158.8 kB / 0.6863 GB, free: 61.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008848/1.034, allocations: 431.8 kB / 0.6867 GB, free: 60.75 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 4 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(5,13), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00245/1.036, allocations: 0.9105 MB / 0.6876 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.038, allocations: 310.5 kB / 0.6879 GB, free: 59.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02999/1.068, allocations: 8.497 MB / 0.6962 GB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.068, allocations: 20 kB / 0.6962 GB, free: 51.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/1.068, allocations: 7.984 kB / 0.6962 GB, free: 51.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/1.068, allocations: 11.95 kB / 0.6962 GB, free: 51.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03549/1.103, allocations: 13.19 MB / 0.7091 GB, free: 37.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.103, allocations: 8 kB / 0.7091 GB, free: 37.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004817/1.108, allocations: 0.7232 MB / 0.7098 GB, free: 36.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0237/1.132, allocations: 4.582 MB / 0.7143 GB, free: 32.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007486/1.133, allocations: 115.9 kB / 0.7144 GB, free: 32.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03072/1.163, allocations: 17.34 MB / 0.7313 GB, free: 14.43 MB / 442.7 MB 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.01122/1.175, allocations: 5.219 MB / 0.7364 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2069/1.382, allocations: 10.2 MB / 0.7464 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007578/1.382, allocations: 192.4 kB / 0.7466 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009717/1.383, allocations: 44.69 kB / 0.7466 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/1.386, allocations: 118.5 kB / 0.7467 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.387, allocations: 233.4 kB / 0.7469 GB, free: 155.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00046/1.388, allocations: 209.3 kB / 0.7471 GB, free: 155.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002337/1.39, allocations: 1.485 MB / 0.7486 GB, free: 155 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.39, allocations: 0 / 0.7486 GB, free: 155 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004307/1.394, allocations: 1.06 MB / 0.7496 GB, free: 155 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.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 (141): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.395, allocations: 444.7 kB / 0.75 GB, free: 154.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01361/1.409, allocations: 5.767 MB / 0.7557 GB, free: 153.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.409, allocations: 4.562 kB / 0.7557 GB, free: 153.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008541/1.418, allocations: 3.218 MB / 0.7588 GB, free: 152.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.42, allocations: 0.6192 MB / 0.7594 GB, free: 151.9 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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.677611273014918]