Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001418/0.001418, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001515/0.001515, allocations: 207.5 kB / 22.99 MB, free: 4.984 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1484/0.1484, allocations: 23.92 MB / 337.1 MB, free: 11.04 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.89 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4037, allocations: 59.87 MB / 0.5198 GB, free: 9.727 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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 master/Interfaces.mo:1558:5-1558: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.08351/0.4872, allocations: 32.24 MB / 0.5513 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1836/0.6708, allocations: 127 MB / 0.6753 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005365/0.6762, allocations: 59.69 kB / 0.6754 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005458/0.6816, allocations: 1.114 MB / 0.6765 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00667/0.6883, allocations: 1.346 MB / 0.6778 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.6938, allocations: 1.603 MB / 0.6793 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007776/0.7016, allocations: 3.716 MB / 0.683 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.7029, allocations: 0.7215 MB / 0.6837 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.7049, allocations: 1.308 MB / 0.6849 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.7074, allocations: 1.751 MB / 0.6867 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.7079, allocations: 324 kB / 0.687 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.7108, allocations: 1.213 MB / 0.6881 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008153/0.7116, allocations: 0.9108 MB / 0.689 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.7133, allocations: 1.402 MB / 0.6904 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00807/0.7214, allocations: 5.405 MB / 0.6957 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7214, allocations: 0 / 0.6957 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7214, allocations: 0 / 0.6957 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001037/0.7215, allocations: 0 / 0.6957 GB, free: 5.16 MB / 0.5294 GB 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.007254/0.7287, allocations: 3.94 MB / 0.6995 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.7288, allocations: 12.03 kB / 0.6995 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.731, allocations: 0.736 MB / 0.7003 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.7334, allocations: 1.376 MB / 0.7016 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.7337, allocations: 429.3 kB / 0.702 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.7342, allocations: 324.3 kB / 0.7023 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.7475, allocations: 10.24 MB / 0.7123 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.7476, allocations: 0 / 0.7123 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/0.7479, allocations: 140 kB / 0.7125 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005169/0.7484, allocations: 475.5 kB / 0.7129 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.7712, allocations: 18.74 MB / 0.7312 GB, free: 0.6133 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3269/1.098, allocations: 16.41 MB / 0.7472 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/1.102, allocations: 2.322 MB / 0.7495 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/1.105, allocations: 1.659 MB / 0.7511 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.121, allocations: 7.767 MB / 0.7587 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/1.121, allocations: 48.28 kB / 0.7588 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.559e-06/1.121, allocations: 3.828 kB / 0.7588 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.08864/1.21, allocations: 22.19 MB / 0.7804 GB, free: 158.3 MB / 0.5606 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 inlineWhenForInitialization (initialization): time 0.06353/1.273, allocations: 18.16 MB / 0.7982 GB, free: 140 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/1.276, allocations: 1.676 MB / 0.7998 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008726/1.276, allocations: 53.7 kB / 0.7999 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.278, allocations: 1.845 MB / 0.8017 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.279, allocations: 0.659 MB / 0.8023 GB, free: 136 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/1.281, allocations: 0.6762 MB / 0.803 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/1.281, allocations: 309.1 kB / 0.8033 GB, free: 135 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/1.284, allocations: 2.471 MB / 0.8057 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/1.288, allocations: 3.236 MB / 0.8088 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1394/1.428, allocations: 26.14 MB / 0.8344 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/1.428, allocations: 11.94 kB / 0.8344 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.0289/1.457, allocations: 8.475 MB / 0.8426 GB, free: 94.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/1.457, allocations: 16 kB / 0.8427 GB, free: 94.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/1.457, allocations: 24 kB / 0.8427 GB, free: 94.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/1.478, allocations: 4.356 MB / 0.8469 GB, free: 89.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004942/1.483, allocations: 0.7931 MB / 0.8477 GB, free: 89.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.494, allocations: 9.929 MB / 0.8574 GB, free: 78.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/1.498, allocations: 142.6 kB / 0.8575 GB, free: 78.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009063/1.499, allocations: 415.8 kB / 0.8579 GB, free: 78.24 MB / 0.5606 GB 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: 110 * Number of states: 0 () * Number of discrete variables: 4 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 243 * Array equations: 0 * 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), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002226/1.501, allocations: 0.9073 MB / 0.8588 GB, free: 77.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009782/1.502, allocations: 222.5 kB / 0.859 GB, free: 77.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/1.529, allocations: 8.125 MB / 0.867 GB, free: 69.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.529, allocations: 20 kB / 0.867 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.529, allocations: 4 kB / 0.867 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-05/1.529, allocations: 7.969 kB / 0.867 GB, free: 69.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03502/1.564, allocations: 12.65 MB / 0.8794 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.564, allocations: 0 / 0.8794 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003836/1.568, allocations: 475.3 kB / 0.8798 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0365/1.605, allocations: 5.565 MB / 0.8852 GB, free: 50.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006999/1.605, allocations: 111.8 kB / 0.8854 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02465/1.63, allocations: 13.16 MB / 0.8982 GB, free: 36.53 MB / 0.5606 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.06047/1.69, allocations: 16.4 MB / 0.9142 GB, free: 19.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02894/1.719, allocations: 9.675 MB / 0.9237 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/1.72, allocations: 182.6 kB / 0.9239 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.721, allocations: 55.88 kB / 0.9239 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/1.724, allocations: 99.89 kB / 0.924 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009262/1.725, allocations: 213.5 kB / 0.9242 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005325/1.726, allocations: 191.9 kB / 0.9244 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002069/1.728, allocations: 1.329 MB / 0.9257 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.728, allocations: 0 / 0.9257 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00435/1.732, allocations: 0.9918 MB / 0.9267 GB, free: 7.039 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 123 * 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 {(5,13,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,25), (5,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/1.733, allocations: 422.3 kB / 0.9271 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.745, allocations: 5.429 MB / 0.9324 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.745, allocations: 1 kB / 0.9324 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009128/1.754, allocations: 2.904 MB / 0.9352 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/1.758, allocations: 477.1 kB / 0.9357 GB, free: 13.77 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.568303302003187] Failed to read output from testmodel.py, exit status != 0: 1.7691756199928932 2.042339846 1.060018308 Calling exit ...