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.001916/0.001916, allocations: 84.06 kB / 19.44 MB, free: 468 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.002143/0.002143, allocations: 173.3 kB / 22.76 MB, free: 1.781 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.1452/0.1452, allocations: 17.38 MB / 276.9 MB, free: 11.7 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 2.164e-06/2.164e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.834e-05/4.051e-05, allocations: 2.312 kB / 352.7 MB, free: 10.36 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.05228/0.05232, allocations: 34.55 MB / 387.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3731/0.4254, allocations: 139.7 MB / 0.5146 GB, free: 10.6 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.4278, allocations: 39.81 kB / 0.5146 GB, free: 10.56 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.4318, allocations: 1.179 MB / 0.5158 GB, free: 9.402 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004444/0.4362, allocations: 1.361 MB / 0.5171 GB, free: 8.031 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.4406, allocations: 1.657 MB / 0.5187 GB, free: 6.367 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006636/0.4472, allocations: 3.836 MB / 0.5225 GB, free: 2.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.4484, allocations: 0.7177 MB / 0.5232 GB, free: 1.742 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.4512, allocations: 1.953 MB / 0.5251 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.4529, allocations: 1.137 MB / 0.5262 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000472/0.4534, allocations: 336 kB / 0.5265 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.4568, allocations: 1.272 MB / 0.5277 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009892/0.4578, allocations: 1.008 MB / 0.5287 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.4594, allocations: 1.169 MB / 0.5299 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008858/0.4683, allocations: 5.577 MB / 0.5353 GB, free: 5.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4683, allocations: 0 / 0.5353 GB, free: 5.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4683, allocations: 4 kB / 0.5353 GB, free: 5.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.772e-05/0.4684, allocations: 0 / 0.5353 GB, free: 5.262 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.007996/0.4764, allocations: 4.564 MB / 0.5398 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4764, allocations: 8.031 kB / 0.5398 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.4796, allocations: 1.567 MB / 0.5413 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.4823, allocations: 1.531 MB / 0.5428 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006805/0.483, allocations: 0.5558 MB / 0.5433 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/0.4835, allocations: 328.3 kB / 0.5437 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008396/0.4919, allocations: 4.366 MB / 0.5479 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/0.4919, allocations: 4.125 kB / 0.5479 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.4922, allocations: 136.3 kB / 0.5481 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006163/0.4928, allocations: 0.4956 MB / 0.5485 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.5065, allocations: 9.201 MB / 0.5575 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2463/0.7528, allocations: 21.12 MB / 0.5782 GB, free: 161.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/0.7576, allocations: 1.821 MB / 0.5799 GB, free: 160.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/0.7607, allocations: 1.246 MB / 0.5811 GB, free: 160.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/0.7628, allocations: 0.6922 MB / 0.5818 GB, free: 159.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.7629, allocations: 52.55 kB / 0.5819 GB, free: 159.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 4.158e-06/0.7629, allocations: 1.469 kB / 0.5819 GB, free: 159.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.1355/0.8984, allocations: 25.35 MB / 0.6066 GB, free: 143.7 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.09929/0.9977, allocations: 19.54 MB / 0.6257 GB, free: 124 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.9999, allocations: 1.896 MB / 0.6276 GB, free: 122.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.001, allocations: 64.36 kB / 0.6276 GB, free: 122 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.002, allocations: 1.868 MB / 0.6294 GB, free: 120.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.004, allocations: 0.8699 MB / 0.6303 GB, free: 119.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/1.006, allocations: 0.7986 MB / 0.6311 GB, free: 118.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/1.006, allocations: 480.8 kB / 0.6315 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/1.011, allocations: 2.383 MB / 0.6339 GB, free: 115.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/1.015, allocations: 2.896 MB / 0.6367 GB, free: 112.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.029, allocations: 7.53 MB / 0.644 GB, free: 105.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/1.029, allocations: 4 kB / 0.644 GB, free: 105.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.03735/1.066, allocations: 8.694 MB / 0.6525 GB, free: 96.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/1.066, allocations: 8 kB / 0.6525 GB, free: 96.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/1.066, allocations: 8 kB / 0.6525 GB, free: 96.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0435/1.109, allocations: 9.119 MB / 0.6615 GB, free: 87.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006847/1.116, allocations: 0.9649 MB / 0.6624 GB, free: 86.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04541/1.162, allocations: 21.9 MB / 0.6838 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006215/1.168, allocations: 263.6 kB / 0.684 GB, free: 63.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.169, allocations: 0.527 MB / 0.6845 GB, free: 63.28 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.003134/1.173, allocations: 0.519 MB / 0.6851 GB, free: 62.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/1.175, allocations: 290.6 kB / 0.6853 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03692/1.212, allocations: 9.161 MB / 0.6943 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03063/1.242, allocations: 6.702 MB / 0.7008 GB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/1.242, allocations: 4 kB / 0.7008 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/1.242, allocations: 14.64 kB / 0.7008 GB, free: 46.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04784/1.29, allocations: 16.19 MB / 0.7167 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/1.29, allocations: 4 kB / 0.7167 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004442/1.295, allocations: 0.5083 MB / 0.7172 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07954/1.374, allocations: 9.752 MB / 0.7267 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000843/1.375, allocations: 139.8 kB / 0.7268 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03333/1.408, allocations: 15.74 MB / 0.7422 GB, free: 3.566 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.2732/1.681, allocations: 17.03 MB / 0.7588 GB, free: 146 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03747/1.719, allocations: 10.11 MB / 0.7687 GB, free: 143.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/1.72, allocations: 233.4 kB / 0.7689 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000945/1.721, allocations: 52.45 kB / 0.769 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004157/1.725, allocations: 200.4 kB / 0.7691 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.726, allocations: 285.7 kB / 0.7694 GB, free: 143.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004947/1.726, allocations: 254.9 kB / 0.7697 GB, free: 143.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00175/1.728, allocations: 1.439 MB / 0.7711 GB, free: 142.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/1.728, allocations: 0 / 0.7711 GB, free: 142.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004166/1.732, allocations: 1.45 MB / 0.7725 GB, free: 142.8 MB / 442.7 MB 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.0009711/1.733, allocations: 435.3 kB / 0.7729 GB, free: 142.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01368/1.747, allocations: 6.057 MB / 0.7788 GB, free: 138.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.747, allocations: 0 / 0.7788 GB, free: 138.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009713/1.757, allocations: 3.483 MB / 0.7822 GB, free: 135.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.76, allocations: 0.6468 MB / 0.7828 GB, free: 134.7 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.208666146965697]