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.0009742/0.0009742, 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.001193/0.001193, 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.014/1.014, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.09298/0.09298, allocations: 17.38 MB / 277.6 MB, free: 11.54 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.943e-06/1.943e-06, allocations: 1.094 kB / 300.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.206e-06/1.015e-05, allocations: 2.312 kB / 300.6 MB, free: 1.926 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.03559/0.0356, allocations: 42.52 MB / 343.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3146/0.3502, allocations: 139.5 MB / 482.7 MB, free: 25.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3514, allocations: 39.38 kB / 482.7 MB, free: 25.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.3537, allocations: 1.225 MB / 483.9 MB, free: 25.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.3559, allocations: 1.367 MB / 485.3 MB, free: 24.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.3586, allocations: 1.681 MB / 487 MB, free: 24.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.3618, allocations: 3.85 MB / 490.8 MB, free: 23.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008381/0.3626, allocations: 0.7555 MB / 491.6 MB, free: 23.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.3641, allocations: 1.952 MB / 493.5 MB, free: 23.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3652, allocations: 1.14 MB / 494.7 MB, free: 23.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.3655, allocations: 336.1 kB / 495 MB, free: 23.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.3676, allocations: 1.274 MB / 496.3 MB, free: 23.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.3681, allocations: 1.009 MB / 497.3 MB, free: 22.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007636/0.3689, allocations: 1.168 MB / 498.4 MB, free: 22.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.3717, allocations: 4.148 MB / 0.4908 GB, free: 20.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3717, allocations: 4 kB / 0.4908 GB, free: 20.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3717, allocations: 0 / 0.4908 GB, free: 20.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-05/0.3717, allocations: 0 / 0.4908 GB, free: 20.77 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.002907/0.3746, allocations: 3.924 MB / 0.4947 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.3746, allocations: 8.406 kB / 0.4947 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3761, allocations: 1.419 MB / 0.496 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3776, allocations: 1.201 MB / 0.4972 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.3779, allocations: 0.5549 MB / 0.4978 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.3782, allocations: 324.7 kB / 0.4981 GB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.3815, allocations: 3.478 MB / 0.5015 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.3815, allocations: 4.188 kB / 0.5015 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.3817, allocations: 133.3 kB / 0.5016 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000377/0.3821, allocations: 0.5001 MB / 0.5021 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/0.3859, allocations: 4.26 MB / 0.5062 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.4025, allocations: 13 MB / 0.5189 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.4043, allocations: 0.903 MB / 0.5198 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.4054, allocations: 448 kB / 0.5202 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.4064, allocations: 0.6827 MB / 0.5209 GB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4064, allocations: 55.81 kB / 0.521 GB, free: 2.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.176e-06/0.4064, allocations: 0 / 0.521 GB, free: 2.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.09311/0.4995, allocations: 16.7 MB / 0.5373 GB, free: 1.723 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.04134/0.5408, allocations: 12.79 MB / 0.5498 GB, free: 4.852 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5423, allocations: 1.36 MB / 0.5511 GB, free: 3.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000766/0.543, allocations: 69.64 kB / 0.5512 GB, free: 3.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009076/0.5439, allocations: 1.4 MB / 0.5525 GB, free: 2.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008846/0.5448, allocations: 0.8145 MB / 0.5533 GB, free: 1.516 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.5461, allocations: 0.5674 MB / 0.5539 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.5461, allocations: 309.2 kB / 0.5542 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.5482, allocations: 1.055 MB / 0.5552 GB, free: 15.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.5504, allocations: 1.395 MB / 0.5566 GB, free: 14.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006459/0.5568, allocations: 3.947 MB / 0.5604 GB, free: 10.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5569, allocations: 0 / 0.5604 GB, free: 10.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01478/0.5716, allocations: 4.452 MB / 0.5648 GB, free: 5.676 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5717, allocations: 8.094 kB / 0.5648 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.5717, allocations: 12 kB / 0.5648 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02067/0.5924, allocations: 7.715 MB / 0.5723 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.5961, allocations: 0.7646 MB / 0.5731 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/0.615, allocations: 11.66 MB / 0.5845 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.6173, allocations: 106.1 kB / 0.5846 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005966/0.6179, allocations: 0.4961 MB / 0.585 GB, free: 0.7188 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.001405/0.6193, allocations: 241.9 kB / 0.5853 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000815/0.6202, allocations: 195.8 kB / 0.5855 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.6342, allocations: 5.338 MB / 0.5907 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01022/0.6445, allocations: 3.129 MB / 0.5937 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.6445, allocations: 4 kB / 0.5937 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.6445, allocations: 11.95 kB / 0.5937 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/0.6648, allocations: 8.236 MB / 0.6018 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.6648, allocations: 4 kB / 0.6018 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/0.6673, allocations: 419.9 kB / 0.6022 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04355/0.7109, allocations: 7.733 MB / 0.6097 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005624/0.7115, allocations: 103.9 kB / 0.6098 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2309/0.9423, allocations: 8.378 MB / 0.618 GB, free: 104.7 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.03817/0.9805, allocations: 11.39 MB / 0.6291 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.9956, allocations: 4.845 MB / 0.6339 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.9962, allocations: 207.9 kB / 0.6341 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/0.9969, allocations: 55.3 kB / 0.6341 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.9987, allocations: 72.84 kB / 0.6342 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007185/0.9994, allocations: 237.4 kB / 0.6344 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/0.9998, allocations: 220.5 kB / 0.6346 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008457/1.001, allocations: 0.7981 MB / 0.6354 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.001, allocations: 3.812 kB / 0.6354 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003676/1.004, allocations: 1.454 MB / 0.6368 GB, free: 100.6 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.0009508/1.005, allocations: 444 kB / 0.6373 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008883/1.014, allocations: 3.248 MB / 0.6404 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.858e-05/1.014, allocations: 17.84 kB / 0.6405 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005869/1.02, allocations: 2.043 MB / 0.6424 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.022, allocations: 0.616 MB / 0.643 GB, free: 99.68 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.79577550990507]