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.0009344/0.0009344, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001564/0.001564, allocations: 173 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.0892/0.0892, allocations: 17.47 MB / 277.7 MB, free: 11.43 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.352e-06/1.352e-06, allocations: 0 / 300.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.108e-05, allocations: 3.297 kB / 300.8 MB, free: 1.734 MB / 266.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.04213/0.04216, allocations: 43.19 MB / 344 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.321/0.3631, allocations: 141 MB / 485 MB, free: 25.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.3654, allocations: 96.53 kB / 485.1 MB, free: 25.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.368, allocations: 1.286 MB / 486.4 MB, free: 24.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.3719, allocations: 1.69 MB / 488.1 MB, free: 24.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.3756, allocations: 1.95 MB / 490 MB, free: 24.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005087/0.3807, allocations: 4.16 MB / 494.2 MB, free: 23.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.3816, allocations: 0.7618 MB / 494.9 MB, free: 22.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.384, allocations: 2.117 MB / 497 MB, free: 22.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.3854, allocations: 1.485 MB / 498.5 MB, free: 22.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003183/0.3857, allocations: 328.4 kB / 498.8 MB, free: 22.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.3887, allocations: 1.521 MB / 0.4886 GB, free: 22.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.3892, allocations: 1.045 MB / 0.4897 GB, free: 22.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008709/0.3901, allocations: 1.213 MB / 0.4908 GB, free: 21.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004385/0.3945, allocations: 4.289 MB / 0.495 GB, free: 19.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3945, allocations: 0 / 0.495 GB, free: 19.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3945, allocations: 3.984 kB / 0.495 GB, free: 19.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/0.3945, allocations: 0 / 0.495 GB, free: 19.27 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.003324/0.3979, allocations: 4.05 MB / 0.499 GB, free: 16.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3979, allocations: 8.75 kB / 0.499 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3993, allocations: 1.412 MB / 0.5004 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.4008, allocations: 1.327 MB / 0.5017 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.4009, allocations: 437 kB / 0.5021 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.4012, allocations: 334.7 kB / 0.5024 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.4039, allocations: 3.339 MB / 0.5057 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.404, allocations: 4.125 kB / 0.5057 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.4041, allocations: 132 kB / 0.5058 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000282/0.4044, allocations: 482 kB / 0.5063 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.4075, allocations: 4.193 MB / 0.5104 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.419, allocations: 10.66 MB / 0.5208 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.42, allocations: 0.8344 MB / 0.5216 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.4205, allocations: 422.8 kB / 0.522 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00722/0.4277, allocations: 5.306 MB / 0.5272 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4277, allocations: 51.75 kB / 0.5272 GB, free: 13.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.336e-06/0.4277, allocations: 4 kB / 0.5272 GB, free: 13.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.04504/0.4728, allocations: 12.78 MB / 0.5397 GB, free: 0.5508 MB / 426.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.005979/0.4787, allocations: 4.392 MB / 0.544 GB, free: 11.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.4799, allocations: 1.353 MB / 0.5453 GB, free: 10.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003725/0.4803, allocations: 53.7 kB / 0.5454 GB, free: 10.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/0.481, allocations: 1.591 MB / 0.5469 GB, free: 9.254 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.4815, allocations: 0.6788 MB / 0.5476 GB, free: 8.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/0.4824, allocations: 0.5658 MB / 0.5481 GB, free: 8.094 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.4824, allocations: 305.1 kB / 0.5484 GB, free: 7.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4838, allocations: 0.8165 MB / 0.5492 GB, free: 6.973 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4855, allocations: 1.569 MB / 0.5508 GB, free: 5.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004868/0.4904, allocations: 3.809 MB / 0.5545 GB, free: 1.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.4904, allocations: 8 kB / 0.5545 GB, free: 1.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01112/0.5015, allocations: 3.934 MB / 0.5583 GB, free: 13.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.5015, allocations: 16 kB / 0.5583 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.5016, allocations: 28.16 kB / 0.5584 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.5127, allocations: 3.46 MB / 0.5617 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.516, allocations: 1.034 MB / 0.5628 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.5305, allocations: 10.68 MB / 0.5732 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.5326, allocations: 112 kB / 0.5733 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/0.5331, allocations: 367.8 kB / 0.5736 GB, free: 12.99 MB / 474.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): 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,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001345/0.5344, allocations: 271.4 kB / 0.5739 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/0.535, allocations: 219.8 kB / 0.5741 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.5468, allocations: 4.604 MB / 0.5786 GB, free: 7.926 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.5468, allocations: 27.94 kB / 0.5786 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.5469, allocations: 7.984 kB / 0.5786 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.5469, allocations: 7.969 kB / 0.5786 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.5625, allocations: 6.758 MB / 0.5852 GB, free: 1.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5625, allocations: 10.66 kB / 0.5853 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/0.5654, allocations: 0.7555 MB / 0.586 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/0.5768, allocations: 3.596 MB / 0.5895 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004708/0.5772, allocations: 87.91 kB / 0.5896 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/0.5913, allocations: 10.48 MB / 0.5998 GB, free: 2.156 MB / 490.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.005201/0.5965, allocations: 4.119 MB / 0.6038 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.609, allocations: 4.218 MB / 0.608 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.6096, allocations: 194.4 kB / 0.6081 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.61, allocations: 43.95 kB / 0.6082 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6112, allocations: 68.08 kB / 0.6083 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007604/0.6119, allocations: 209.5 kB / 0.6085 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/0.6122, allocations: 167.9 kB / 0.6086 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008015/0.613, allocations: 0.7418 MB / 0.6093 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.613, allocations: 0 / 0.6093 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00336/0.6164, allocations: 1.105 MB / 0.6104 GB, free: 7.129 MB / 0.4948 GB 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.00101/0.6174, allocations: 451 kB / 0.6109 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007747/0.6251, allocations: 3.134 MB / 0.6139 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.68e-05/0.6252, allocations: 25.81 kB / 0.6139 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005376/0.6306, allocations: 1.983 MB / 0.6159 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.6336, allocations: 0.5878 MB / 0.6164 GB, free: 0.9961 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791: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.5614604027941823]