Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007659/0.0007659, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001772, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007503/0.0007503, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009221/0.001672, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9493/0.9493, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1182/1.068, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08741/0.08741, allocations: 17.37 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01143/0.09884, allocations: 6.921 MB / 268.3 MB, free: 6.512 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 269.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.998e-05, allocations: 5.969 kB / 269.5 MB, free: 5.234 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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.1724/0.1724, allocations: 13.19 MB / 282.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1503/0.3227, allocations: 140 MB / 422.8 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.3253, allocations: 39.81 kB / 422.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.3282, allocations: 1.23 MB / 424 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.3317, allocations: 1.341 MB / 425.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003639/0.3353, allocations: 1.672 MB / 427 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004519/0.3398, allocations: 3.808 MB / 430.8 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008806/0.3407, allocations: 0.7529 MB / 431.6 MB, free: 16 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1931/0.5338, allocations: 2.132 MB / 433.7 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.5359, allocations: 1.135 MB / 434.9 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007895/0.5367, allocations: 336.2 kB / 435.2 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.54, allocations: 1.316 MB / 436.5 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000835/0.5408, allocations: 0.8288 MB / 437.3 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.5426, allocations: 0.977 MB / 438.3 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.548, allocations: 3.861 MB / 442.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.861e-05/0.5481, allocations: 0 / 442.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5481, allocations: 0 / 442.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001513/0.5482, allocations: 0 / 442.2 MB, free: 4.664 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.006093/0.5543, allocations: 4.65 MB / 446.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5543, allocations: 12.09 kB / 446.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.5564, allocations: 1.493 MB / 448.3 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.5583, allocations: 1.194 MB / 449.5 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.5587, allocations: 0.5587 MB / 450.1 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.559, allocations: 325.3 kB / 450.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.5626, allocations: 3.482 MB / 453.9 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.5627, allocations: 1.156 kB / 453.9 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.5628, allocations: 130 kB / 454 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000373/0.5632, allocations: 0.496 MB / 454.5 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.5672, allocations: 4.273 MB / 458.8 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.5859, allocations: 13.04 MB / 471.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.5877, allocations: 0.914 MB / 472.7 MB, free: 16.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.5888, allocations: 445.1 kB / 473.2 MB, free: 16.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.5898, allocations: 0.6908 MB / 473.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5899, allocations: 50.81 kB / 473.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 3.907e-06/0.5899, allocations: 0.9688 kB / 473.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.0715/0.6614, allocations: 16.69 MB / 490.6 MB, free: 9.457 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.04337/0.7048, allocations: 12.91 MB / 0.4917 GB, free: 14.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.7061, allocations: 1.369 MB / 0.493 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007743/0.7069, allocations: 61.58 kB / 0.4931 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/0.7075, allocations: 1.398 MB / 0.4945 GB, free: 12.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008939/0.7084, allocations: 0.8098 MB / 0.4953 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.7097, allocations: 0.5762 MB / 0.4958 GB, free: 11.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.7098, allocations: 310.1 kB / 0.4961 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.712, allocations: 1.053 MB / 0.4971 GB, free: 10.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.7143, allocations: 1.403 MB / 0.4985 GB, free: 8.816 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006718/0.721, allocations: 3.95 MB / 0.5024 GB, free: 4.848 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.721, allocations: 0 / 0.5024 GB, free: 4.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01501/0.736, allocations: 4.446 MB / 0.5067 GB, free: 480 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7361, allocations: 8 kB / 0.5067 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.7361, allocations: 12 kB / 0.5067 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/0.7568, allocations: 7.722 MB / 0.5143 GB, free: 8.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/0.7613, allocations: 1.177 MB / 0.5154 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/0.7804, allocations: 11.75 MB / 0.5269 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.783, allocations: 103.9 kB / 0.527 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.7841, allocations: 0.4996 MB / 0.5275 GB, free: 11.12 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: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 201 * Array equations: 4 * 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,76.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001724/0.7858, allocations: 226.5 kB / 0.5277 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008289/0.7866, allocations: 199.8 kB / 0.5279 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.8004, allocations: 5.341 MB / 0.5331 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0107/0.8111, allocations: 3.132 MB / 0.5362 GB, free: 2.375 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.8111, allocations: 4 kB / 0.5362 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/0.8111, allocations: 11.95 kB / 0.5362 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/0.8303, allocations: 8.23 MB / 0.5442 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.8303, allocations: 7.984 kB / 0.5442 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.8333, allocations: 0.6628 MB / 0.5449 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/0.834, allocations: 208.1 kB / 0.5451 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03254/0.8666, allocations: 7.769 MB / 0.5527 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006597/0.8672, allocations: 107.8 kB / 0.5528 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.8809, allocations: 8.421 MB / 0.561 GB, free: 9.098 MB / 0.4948 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! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04903/0.93, allocations: 11.5 MB / 0.5722 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.9474, allocations: 4.838 MB / 0.5769 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008105/0.9482, allocations: 59.83 kB / 0.577 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.9498, allocations: 71.95 kB / 0.5771 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006147/0.9504, allocations: 236.8 kB / 0.5773 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/0.9507, allocations: 219.9 kB / 0.5775 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001047/0.9518, allocations: 0.794 MB / 0.5783 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9518, allocations: 0 / 0.5783 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003378/0.9552, allocations: 1.461 MB / 0.5797 GB, free: 5.965 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],gasVolatility.rear.n_flow) * Number of discrete variables: 3 ($cse37,$cse30,$cse23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00086/0.956, allocations: 439.4 kB / 0.5801 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006282/0.9623, allocations: 3.262 MB / 0.5833 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.589e-05/0.9624, allocations: 31.12 kB / 0.5833 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/0.9664, allocations: 2.061 MB / 0.5854 GB, free: 328 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.9685, allocations: 0.8639 MB / 0.5862 GB, free: 15.49 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784: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.464685986749828]