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.0007501/0.0007501, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000937/0.000937, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.013/1.013, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.08796/0.08796, allocations: 17.39 MB / 277.6 MB, free: 11.52 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.733e-06/1.733e-06, allocations: 0 / 353.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.763e-05, allocations: 6.25 kB / 353.9 MB, free: 9.723 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.04263/0.04266, allocations: 36.72 MB / 390.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2663/0.3089, allocations: 137.4 MB / 0.5156 GB, free: 10.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.3114, allocations: 39.81 kB / 0.5157 GB, free: 10.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.3146, allocations: 1.18 MB / 0.5168 GB, free: 9.148 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.3181, allocations: 1.353 MB / 0.5181 GB, free: 7.785 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.3215, allocations: 1.665 MB / 0.5198 GB, free: 6.113 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.3262, allocations: 3.86 MB / 0.5235 GB, free: 2.242 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009684/0.3272, allocations: 0.7183 MB / 0.5242 GB, free: 1.465 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.3295, allocations: 1.949 MB / 0.5261 GB, free: 15.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3308, allocations: 1.137 MB / 0.5272 GB, free: 14.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003803/0.3312, allocations: 336 kB / 0.5276 GB, free: 14.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.3338, allocations: 1.275 MB / 0.5288 GB, free: 12.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.3345, allocations: 1 MB / 0.5298 GB, free: 11.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.3355, allocations: 1.173 MB / 0.5309 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.3405, allocations: 4.146 MB / 0.535 GB, free: 6.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3405, allocations: 0 / 0.535 GB, free: 6.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3405, allocations: 0 / 0.535 GB, free: 6.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.3405, allocations: 0 / 0.535 GB, free: 6.426 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.004695/0.3452, allocations: 4.329 MB / 0.5392 GB, free: 2.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3452, allocations: 8.031 kB / 0.5392 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.3475, allocations: 1.568 MB / 0.5407 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.3492, allocations: 1.476 MB / 0.5422 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.3496, allocations: 0.5596 MB / 0.5427 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.3499, allocations: 328.3 kB / 0.543 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.3537, allocations: 3.257 MB / 0.5462 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.3538, allocations: 192 / 0.5462 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.354, allocations: 128.4 kB / 0.5463 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004272/0.3544, allocations: 0.4994 MB / 0.5468 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/0.359, allocations: 4.466 MB / 0.5512 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2039/0.5629, allocations: 15.56 MB / 0.5664 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5645, allocations: 1.022 MB / 0.5674 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.5654, allocations: 0.5547 MB / 0.5679 GB, free: 30.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009091/0.5663, allocations: 0.7212 MB / 0.5686 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5664, allocations: 46.64 kB / 0.5687 GB, free: 30.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 3.567e-06/0.5664, allocations: 0 / 0.5687 GB, free: 30.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.05824/0.6246, allocations: 17.13 MB / 0.5854 GB, free: 29.5 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.04417/0.6688, allocations: 14.8 MB / 0.5999 GB, free: 24.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.67, allocations: 1.52 MB / 0.6013 GB, free: 24.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008975/0.6709, allocations: 62.97 kB / 0.6014 GB, free: 24.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/0.6717, allocations: 1.81 MB / 0.6032 GB, free: 23.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008812/0.6726, allocations: 0.8095 MB / 0.604 GB, free: 22.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.674, allocations: 0.7447 MB / 0.6047 GB, free: 22.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.674, allocations: 476.8 kB / 0.6051 GB, free: 22.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.676, allocations: 1.225 MB / 0.6063 GB, free: 22.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.6784, allocations: 1.685 MB / 0.608 GB, free: 20.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00597/0.6844, allocations: 4.37 MB / 0.6123 GB, free: 16.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6844, allocations: 0 / 0.6123 GB, free: 16.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01568/0.7001, allocations: 5.573 MB / 0.6177 GB, free: 11.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.7001, allocations: 12 kB / 0.6177 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.7001, allocations: 8 kB / 0.6177 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/0.7199, allocations: 7.799 MB / 0.6253 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/0.7232, allocations: 0.926 MB / 0.6262 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02397/0.7472, allocations: 18.52 MB / 0.6443 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.7499, allocations: 111.7 kB / 0.6444 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006438/0.7505, allocations: 0.5075 MB / 0.6449 GB, free: 15.73 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: 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(5,13), (3,5), (6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001502/0.752, allocations: 271.1 kB / 0.6452 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/0.7529, allocations: 297.4 kB / 0.6455 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.7683, allocations: 6.275 MB / 0.6516 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01206/0.7803, allocations: 3.893 MB / 0.6554 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.7804, allocations: 12 kB / 0.6554 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.7804, allocations: 11.95 kB / 0.6554 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/0.802, allocations: 11.69 MB / 0.6668 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.8021, allocations: 7.984 kB / 0.6668 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/0.8048, allocations: 467.5 kB / 0.6673 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04726/0.8521, allocations: 7.59 MB / 0.6747 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007646/0.8529, allocations: 143.8 kB / 0.6748 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.8717, allocations: 11.27 MB / 0.6858 GB, free: 5.695 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.04007/0.9118, allocations: 13.13 MB / 0.6987 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/0.9277, allocations: 5.707 MB / 0.7042 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.9282, allocations: 232.5 kB / 0.7045 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/0.9287, allocations: 55.88 kB / 0.7045 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.9303, allocations: 71.97 kB / 0.7046 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/0.9309, allocations: 272.2 kB / 0.7048 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/0.9312, allocations: 235.8 kB / 0.7051 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008872/0.9321, allocations: 1.06 MB / 0.7061 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9321, allocations: 0 / 0.7061 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00307/0.9352, allocations: 1.343 MB / 0.7074 GB, free: 15.5 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.0007946/0.936, allocations: 452.5 kB / 0.7078 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006312/0.9423, allocations: 3.405 MB / 0.7112 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9423, allocations: 0 / 0.7112 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004158/0.9465, allocations: 2.433 MB / 0.7135 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.9484, allocations: 0.6445 MB / 0.7142 GB, free: 8.73 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.688181663863361]