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.0007888/0.0007888, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009335/0.0009335, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9913/0.9913, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.09203/0.09203, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.613e-06/1.613e-06, allocations: 0 / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.074e-05, allocations: 6.312 kB / 354.8 MB, free: 10.61 MB / 330.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.03676/0.03679, allocations: 37.32 MB / 392.1 MB, free: 5.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3124/0.3492, allocations: 138.9 MB / 0.5185 GB, free: 32.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.352, allocations: 91 kB / 0.5186 GB, free: 32.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.3551, allocations: 1.253 MB / 0.5199 GB, free: 32.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.3593, allocations: 1.687 MB / 0.5215 GB, free: 31.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.3629, allocations: 1.945 MB / 0.5234 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004999/0.3679, allocations: 4.171 MB / 0.5275 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.3688, allocations: 0.7218 MB / 0.5282 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3714, allocations: 2.117 MB / 0.5303 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.3736, allocations: 1.517 MB / 0.5317 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007163/0.3743, allocations: 330.4 kB / 0.532 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.3773, allocations: 1.512 MB / 0.5335 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000637/0.378, allocations: 1.049 MB / 0.5345 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.3795, allocations: 1.217 MB / 0.5357 GB, free: 24.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00589/0.3854, allocations: 4.276 MB / 0.5399 GB, free: 21.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3854, allocations: 0 / 0.5399 GB, free: 21.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3854, allocations: 0 / 0.5399 GB, free: 21.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.3855, allocations: 0 / 0.5399 GB, free: 21.98 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.004512/0.39, allocations: 4.446 MB / 0.5443 GB, free: 18.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3901, allocations: 12.03 kB / 0.5443 GB, free: 18.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.3917, allocations: 1.558 MB / 0.5458 GB, free: 16.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.3936, allocations: 1.962 MB / 0.5477 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.3938, allocations: 429.4 kB / 0.5481 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.394, allocations: 340.3 kB / 0.5484 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.3968, allocations: 3.111 MB / 0.5515 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.3968, allocations: 4.188 kB / 0.5515 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.3969, allocations: 136.3 kB / 0.5516 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/0.3972, allocations: 483.6 kB / 0.5521 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.4003, allocations: 4.396 MB / 0.5564 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.4151, allocations: 12.74 MB / 0.5688 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.4163, allocations: 0.9462 MB / 0.5697 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.417, allocations: 0.5265 MB / 0.5702 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008317/0.4253, allocations: 6.317 MB / 0.5764 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4253, allocations: 54.64 kB / 0.5765 GB, free: 1.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.876e-06/0.4253, allocations: 0 / 0.5765 GB, free: 1.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.03945/0.4648, allocations: 12.67 MB / 0.5888 GB, free: 4.371 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.007047/0.4718, allocations: 5.911 MB / 0.5946 GB, free: 14.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.4736, allocations: 1.749 MB / 0.5963 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005367/0.4741, allocations: 53.7 kB / 0.5964 GB, free: 12.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.4751, allocations: 2.02 MB / 0.5983 GB, free: 10.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006947/0.4758, allocations: 0.6816 MB / 0.599 GB, free: 9.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000965/0.4768, allocations: 0.7095 MB / 0.5997 GB, free: 8.852 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4769, allocations: 480.8 kB / 0.6002 GB, free: 8.379 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.4784, allocations: 0.9378 MB / 0.6011 GB, free: 7.438 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.4803, allocations: 2.03 MB / 0.6031 GB, free: 4.934 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/0.4857, allocations: 4.375 MB / 0.6073 GB, free: 92 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.4857, allocations: 8 kB / 0.6073 GB, free: 84 kB / 458.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.2315/0.7172, allocations: 4.895 MB / 0.6121 GB, free: 64.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.7172, allocations: 14.84 kB / 0.6121 GB, free: 64.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.7173, allocations: 25.47 kB / 0.6122 GB, free: 64.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/0.7282, allocations: 3.249 MB / 0.6153 GB, free: 64.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.7314, allocations: 0.897 MB / 0.6162 GB, free: 64.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008336/0.7398, allocations: 11.24 MB / 0.6272 GB, free: 55.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.7421, allocations: 108.5 kB / 0.6273 GB, free: 55.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005248/0.7426, allocations: 406.6 kB / 0.6277 GB, free: 55.49 MB / 458.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 (otherSubstances.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,H2O_solid.substanceDefinitionVar.SelfClustering) * 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.001334/0.744, allocations: 320.8 kB / 0.628 GB, free: 55.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/0.7447, allocations: 308.8 kB / 0.6283 GB, free: 55.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/0.7597, allocations: 5.363 MB / 0.6335 GB, free: 54.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/0.7597, allocations: 24.28 kB / 0.6335 GB, free: 54.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.142e-05/0.7598, allocations: 6.359 kB / 0.6335 GB, free: 54.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.512e-05/0.7598, allocations: 10.91 kB / 0.6336 GB, free: 54.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/0.785, allocations: 9.831 MB / 0.6432 GB, free: 53.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.785, allocations: 4.547 kB / 0.6432 GB, free: 53.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006124/0.7912, allocations: 0.6036 MB / 0.6438 GB, free: 53.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03035/0.8215, allocations: 3.465 MB / 0.6471 GB, free: 52.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005519/0.8221, allocations: 118.1 kB / 0.6472 GB, free: 52.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.839, allocations: 14.29 MB / 0.6612 GB, free: 42.24 MB / 458.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.005396/0.8444, allocations: 5.539 MB / 0.6666 GB, free: 37.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/0.8582, allocations: 4.977 MB / 0.6715 GB, free: 37.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/0.8589, allocations: 190.4 kB / 0.6717 GB, free: 37.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004631/0.8594, allocations: 46.97 kB / 0.6717 GB, free: 37.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.8607, allocations: 71.97 kB / 0.6718 GB, free: 37.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/0.8613, allocations: 235.5 kB / 0.672 GB, free: 37.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/0.8616, allocations: 201.1 kB / 0.6722 GB, free: 37.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008949/0.8625, allocations: 0.9809 MB / 0.6731 GB, free: 36.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8625, allocations: 0 / 0.6731 GB, free: 36.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002997/0.8655, allocations: 1.058 MB / 0.6742 GB, free: 36.89 MB / 458.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.0007534/0.8663, allocations: 468.2 kB / 0.6746 GB, free: 36.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005471/0.8717, allocations: 3.533 MB / 0.6781 GB, free: 35.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8717, allocations: 0 / 0.6781 GB, free: 35.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/0.8754, allocations: 2.474 MB / 0.6805 GB, free: 33.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.8772, allocations: 0.6223 MB / 0.6811 GB, free: 32.82 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.6574545870535076]