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.00116/0.00116, allocations: 73.09 kB / 20.65 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.001353/0.001353, allocations: 169 kB / 24.05 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 1.06/1.06, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.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.09921/0.09921, allocations: 17.38 MB / 278.4 MB, free: 11.46 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.613e-06/1.613e-06, allocations: 0 / 354.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.191e-05, allocations: 10.25 kB / 354.7 MB, free: 9.695 MB / 282.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.03459/0.03462, allocations: 36.7 MB / 391.4 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3083/0.3429, allocations: 137.4 MB / 0.5164 GB, free: 10.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.3458, allocations: 39.81 kB / 0.5164 GB, free: 10.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.3493, allocations: 1.18 MB / 0.5175 GB, free: 9.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.3534, allocations: 1.357 MB / 0.5189 GB, free: 8.113 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.3572, allocations: 1.657 MB / 0.5205 GB, free: 6.449 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.3627, allocations: 3.87 MB / 0.5243 GB, free: 2.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.3638, allocations: 0.7105 MB / 0.525 GB, free: 1.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.3663, allocations: 1.953 MB / 0.5269 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.3679, allocations: 1.133 MB / 0.528 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.3685, allocations: 336 kB / 0.5283 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.3716, allocations: 1.279 MB / 0.5295 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006713/0.3723, allocations: 1.008 MB / 0.5305 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.3738, allocations: 1.165 MB / 0.5317 GB, free: 10.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.38, allocations: 4.142 MB / 0.5357 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.38, allocations: 0 / 0.5357 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.38, allocations: 4 kB / 0.5357 GB, free: 6.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.3801, allocations: 0 / 0.5357 GB, free: 6.758 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.005702/0.3858, allocations: 4.329 MB / 0.5399 GB, free: 2.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3858, allocations: 12.03 kB / 0.54 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.3878, allocations: 1.564 MB / 0.5415 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.3897, allocations: 1.476 MB / 0.5429 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.3901, allocations: 0.5597 MB / 0.5435 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.3904, allocations: 324.3 kB / 0.5438 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.3938, allocations: 3.261 MB / 0.547 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.3938, allocations: 4.188 kB / 0.547 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.394, allocations: 132.4 kB / 0.5471 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003493/0.3943, allocations: 0.4956 MB / 0.5476 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00419/0.3985, allocations: 4.457 MB / 0.5519 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2403/0.6389, allocations: 15.56 MB / 0.5671 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.6412, allocations: 1.024 MB / 0.5681 GB, free: 31.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.6424, allocations: 0.5548 MB / 0.5687 GB, free: 31.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.6436, allocations: 0.6936 MB / 0.5693 GB, free: 31.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6436, allocations: 47.83 kB / 0.5694 GB, free: 31.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 3.737e-06/0.6436, allocations: 4.094 kB / 0.5694 GB, free: 31.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.07639/0.72, allocations: 17.1 MB / 0.5861 GB, free: 30.01 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.04848/0.7685, allocations: 14.8 MB / 0.6005 GB, free: 25.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.77, allocations: 1.515 MB / 0.602 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/0.7712, allocations: 62.14 kB / 0.6021 GB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009511/0.7722, allocations: 1.812 MB / 0.6039 GB, free: 23.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008426/0.773, allocations: 0.8192 MB / 0.6047 GB, free: 23.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/0.7745, allocations: 0.7294 MB / 0.6054 GB, free: 22.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.7745, allocations: 477.7 kB / 0.6058 GB, free: 22.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.7767, allocations: 1.23 MB / 0.607 GB, free: 22.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.779, allocations: 1.685 MB / 0.6087 GB, free: 21.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006247/0.7853, allocations: 4.375 MB / 0.6129 GB, free: 17.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.7853, allocations: 0 / 0.6129 GB, free: 17.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01721/0.8025, allocations: 5.551 MB / 0.6184 GB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.8025, allocations: 8 kB / 0.6184 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.8025, allocations: 8 kB / 0.6184 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/0.8244, allocations: 7.786 MB / 0.626 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/0.8281, allocations: 0.9221 MB / 0.6269 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/0.8516, allocations: 15.75 MB / 0.6423 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.8548, allocations: 99.92 kB / 0.6424 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000752/0.8555, allocations: 0.5138 MB / 0.6429 GB, free: 3.359 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: 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.002064/0.8576, allocations: 278.5 kB / 0.6431 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/0.8587, allocations: 287.2 kB / 0.6434 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.8763, allocations: 6.277 MB / 0.6495 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01396/0.8903, allocations: 3.889 MB / 0.6533 GB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.8903, allocations: 11.98 kB / 0.6533 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.976e-05/0.8903, allocations: 7.969 kB / 0.6533 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/0.916, allocations: 11.68 MB / 0.6648 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.916, allocations: 4 kB / 0.6648 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/0.9192, allocations: 471.9 kB / 0.6652 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04863/0.9678, allocations: 7.593 MB / 0.6726 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008613/0.9686, allocations: 139.9 kB / 0.6728 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.9874, allocations: 11.27 MB / 0.6838 GB, free: 9.332 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.04489/1.032, allocations: 13.12 MB / 0.6966 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.05, allocations: 5.694 MB / 0.7021 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/1.051, allocations: 229.5 kB / 0.7024 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/1.051, allocations: 55.94 kB / 0.7024 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.053, allocations: 72.02 kB / 0.7025 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007073/1.054, allocations: 272.6 kB / 0.7027 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/1.054, allocations: 235.8 kB / 0.703 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009187/1.055, allocations: 1.063 MB / 0.704 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.055, allocations: 1.094 kB / 0.704 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003665/1.059, allocations: 1.457 MB / 0.7054 GB, free: 3.039 MB / 0.4948 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.000861/1.059, allocations: 446 kB / 0.7059 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009027/1.068, allocations: 3.881 MB / 0.7096 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.068, allocations: 0 / 0.7096 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006042/1.075, allocations: 2.427 MB / 0.712 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.077, allocations: 0.6622 MB / 0.7127 GB, free: 11.77 MB / 0.5105 GB [/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.9991558459587395]