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.0009197/0.0009197, 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.0009718/0.0009718, 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.162/1.162, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.09449/0.09449, 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.372e-06/1.372e-06, allocations: 0 / 300.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.336e-05, allocations: 6.859 kB / 300.7 MB, free: 1.828 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.05587/0.05589, allocations: 42.55 MB / 343.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3548/0.4106, allocations: 139.5 MB / 482.8 MB, free: 25.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00354/0.4142, allocations: 40.12 kB / 482.8 MB, free: 25.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.4178, allocations: 1.235 MB / 484 MB, free: 25.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.4227, allocations: 1.354 MB / 485.4 MB, free: 24.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.4269, allocations: 1.667 MB / 487 MB, free: 24.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005883/0.4328, allocations: 3.845 MB / 490.9 MB, free: 23.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.4339, allocations: 0.7581 MB / 491.7 MB, free: 23.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.4368, allocations: 1.95 MB / 493.6 MB, free: 23.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4385, allocations: 1.138 MB / 494.7 MB, free: 23.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00073/0.4392, allocations: 340.2 kB / 495.1 MB, free: 23.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.4424, allocations: 1.305 MB / 496.4 MB, free: 23.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006328/0.4431, allocations: 1.003 MB / 497.4 MB, free: 22.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.4445, allocations: 1.171 MB / 498.6 MB, free: 22.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005835/0.4504, allocations: 4.142 MB / 0.4909 GB, free: 20.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4504, allocations: 3.938 kB / 0.4909 GB, free: 20.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4504, allocations: 4 kB / 0.4909 GB, free: 20.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.941e-05/0.4504, allocations: 0 / 0.4909 GB, free: 20.72 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.003527/0.454, allocations: 3.934 MB / 0.4948 GB, free: 18.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.454, allocations: 11.31 kB / 0.4948 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.4557, allocations: 1.408 MB / 0.4961 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.4573, allocations: 1.202 MB / 0.4973 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.4576, allocations: 0.5486 MB / 0.4979 GB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.4578, allocations: 329.5 kB / 0.4982 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.461, allocations: 3.483 MB / 0.5016 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.461, allocations: 192 / 0.5016 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.4611, allocations: 131.6 kB / 0.5017 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003305/0.4615, allocations: 0.4997 MB / 0.5022 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.4652, allocations: 4.265 MB / 0.5063 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.4818, allocations: 12.99 MB / 0.519 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.4833, allocations: 0.9144 MB / 0.5199 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.4842, allocations: 445 kB / 0.5203 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009339/0.4851, allocations: 0.6954 MB / 0.521 GB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4851, allocations: 43.88 kB / 0.5211 GB, free: 2.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.08e-06/0.4851, allocations: 0 / 0.5211 GB, free: 2.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06847/0.5536, allocations: 16.66 MB / 0.5373 GB, free: 1.699 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.04629/0.5999, allocations: 12.87 MB / 0.5499 GB, free: 4.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.6015, allocations: 1.366 MB / 0.5512 GB, free: 3.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007167/0.6022, allocations: 61.7 kB / 0.5513 GB, free: 3.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/0.6029, allocations: 1.401 MB / 0.5527 GB, free: 2.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.6039, allocations: 0.8102 MB / 0.5535 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/0.6057, allocations: 0.5778 MB / 0.554 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.6058, allocations: 305.1 kB / 0.5543 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.6088, allocations: 1.052 MB / 0.5553 GB, free: 15.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.6117, allocations: 1.4 MB / 0.5567 GB, free: 14.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/0.6198, allocations: 3.945 MB / 0.5606 GB, free: 10.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.6198, allocations: 4 kB / 0.5606 GB, free: 10.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01975/0.6395, allocations: 4.439 MB / 0.5649 GB, free: 5.582 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.6396, allocations: 8 kB / 0.5649 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.6396, allocations: 12.06 kB / 0.5649 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02571/0.6653, allocations: 7.727 MB / 0.5725 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/0.6694, allocations: 1.019 MB / 0.5735 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.6909, allocations: 11.69 MB / 0.5849 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.6942, allocations: 103.9 kB / 0.585 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007614/0.6949, allocations: 0.4918 MB / 0.5855 GB, free: 344 kB / 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.001719/0.6966, allocations: 246.5 kB / 0.5857 GB, free: 88 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000891/0.6975, allocations: 198.7 kB / 0.5859 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/0.7125, allocations: 5.331 MB / 0.5911 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01136/0.7239, allocations: 3.127 MB / 0.5941 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/0.7239, allocations: 4 kB / 0.5941 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/0.724, allocations: 11.95 kB / 0.5942 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/0.7443, allocations: 8.232 MB / 0.6022 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.7444, allocations: 4 kB / 0.6022 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/0.747, allocations: 0.5921 MB / 0.6028 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03789/0.7849, allocations: 7.735 MB / 0.6103 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000756/0.7856, allocations: 111.8 kB / 0.6104 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.257/1.043, allocations: 8.398 MB / 0.6186 GB, free: 103.9 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.04033/1.083, allocations: 11.47 MB / 0.6298 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.098, allocations: 4.833 MB / 0.6346 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/1.098, allocations: 210.6 kB / 0.6348 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005532/1.099, allocations: 52.39 kB / 0.6348 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.101, allocations: 74.3 kB / 0.6349 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000859/1.101, allocations: 240.6 kB / 0.6351 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/1.102, allocations: 215.8 kB / 0.6353 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008337/1.103, allocations: 0.8034 MB / 0.6361 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.103, allocations: 0 / 0.6361 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003811/1.106, allocations: 1.457 MB / 0.6375 GB, free: 99.89 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.0009417/1.107, allocations: 427.6 kB / 0.6379 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006882/1.114, allocations: 3.253 MB / 0.6411 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.354e-05/1.114, allocations: 18.78 kB / 0.6411 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004113/1.118, allocations: 2.053 MB / 0.6431 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.12, allocations: 0.6218 MB / 0.6437 GB, free: 98.92 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: 3.0784941390156746]