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.001255/0.001255, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001372/0.001372, allocations: 209.9 kB / 22.99 MB, free: 4.957 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1328/0.1328, allocations: 23.92 MB / 337.1 MB, free: 11.02 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.00197/0.00197, allocations: 67.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 59.88 MB / 0.5198 GB, free: 9.703 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.07676/0.373, allocations: 32.25 MB / 0.5513 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1649/0.5379, allocations: 127 MB / 0.6753 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.5409, allocations: 55.69 kB / 0.6754 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.5444, allocations: 1.118 MB / 0.6765 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.5483, allocations: 1.35 MB / 0.6778 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.5522, allocations: 1.599 MB / 0.6793 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.5576, allocations: 3.712 MB / 0.683 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.5586, allocations: 0.7215 MB / 0.6837 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.5603, allocations: 1.312 MB / 0.6849 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.5623, allocations: 1.747 MB / 0.6867 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.5627, allocations: 320 kB / 0.687 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.5659, allocations: 1.217 MB / 0.6881 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008859/0.5667, allocations: 0.9186 MB / 0.689 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.5683, allocations: 1.395 MB / 0.6904 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.577, allocations: 5.401 MB / 0.6957 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.577, allocations: 0 / 0.6957 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.275e-06/0.577, allocations: 4 kB / 0.6957 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.737e-05/0.5771, allocations: 0 / 0.6957 GB, free: 5.152 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.00645/0.5835, allocations: 3.94 MB / 0.6995 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5836, allocations: 12.03 kB / 0.6995 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.5857, allocations: 0.736 MB / 0.7003 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.5879, allocations: 1.371 MB / 0.7016 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.5882, allocations: 425.3 kB / 0.702 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.5887, allocations: 336.2 kB / 0.7023 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.6005, allocations: 10.25 MB / 0.7123 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/0.6006, allocations: 0 / 0.7123 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.6008, allocations: 128 kB / 0.7125 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005043/0.6013, allocations: 479.5 kB / 0.7129 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.6214, allocations: 18.74 MB / 0.7312 GB, free: 0.6055 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.2374/0.8588, allocations: 16.41 MB / 0.7472 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.8624, allocations: 2.324 MB / 0.7495 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.8646, allocations: 1.656 MB / 0.7511 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/0.8794, allocations: 7.769 MB / 0.7587 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.8794, allocations: 44.84 kB / 0.7588 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.017e-06/0.8794, allocations: 0 / 0.7588 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.08628/0.9657, 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.06174/1.027, allocations: 18.17 MB / 0.7982 GB, free: 140 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/1.029, allocations: 1.67 MB / 0.7998 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006469/1.03, allocations: 57.7 kB / 0.7999 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/1.03, allocations: 1.83 MB / 0.8017 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/1.031, allocations: 0.6736 MB / 0.8023 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.032, allocations: 0.6762 MB / 0.803 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.831e-05/1.032, allocations: 309 kB / 0.8033 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/1.035, allocations: 2.475 MB / 0.8057 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/1.039, allocations: 3.228 MB / 0.8088 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1391/1.178, allocations: 26.14 MB / 0.8344 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/1.178, allocations: 8 kB / 0.8344 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02656/1.205, allocations: 8.484 MB / 0.8427 GB, free: 94.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.205, allocations: 12 kB / 0.8427 GB, free: 94.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/1.205, allocations: 28 kB / 0.8427 GB, free: 94.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02034/1.225, allocations: 4.348 MB / 0.8469 GB, free: 89.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/1.229, allocations: 0.7931 MB / 0.8477 GB, free: 89.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.24, allocations: 9.927 MB / 0.8574 GB, free: 78.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/1.244, allocations: 143.9 kB / 0.8575 GB, free: 78.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005319/1.244, allocations: 415.8 kB / 0.8579 GB, free: 78.22 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.001652/1.246, allocations: 0.9062 MB / 0.8588 GB, free: 77.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/1.247, allocations: 222.5 kB / 0.859 GB, free: 77.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/1.272, allocations: 8.121 MB / 0.867 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.272, allocations: 20 kB / 0.867 GB, free: 69.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.272, allocations: 4 kB / 0.867 GB, free: 69.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.399e-05/1.272, allocations: 15.16 kB / 0.867 GB, free: 69.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/1.304, allocations: 12.65 MB / 0.8794 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.304, allocations: 4 kB / 0.8794 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/1.307, allocations: 476.7 kB / 0.8798 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03569/1.343, allocations: 5.565 MB / 0.8853 GB, free: 50.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005864/1.344, allocations: 111.9 kB / 0.8854 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/1.367, allocations: 13.17 MB / 0.8982 GB, free: 36.5 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.05808/1.425, allocations: 16.4 MB / 0.9142 GB, free: 19.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0275/1.453, allocations: 9.671 MB / 0.9237 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/1.453, allocations: 190.5 kB / 0.9239 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005796/1.454, allocations: 43.94 kB / 0.9239 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.457, allocations: 95.89 kB / 0.924 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006976/1.457, allocations: 221.5 kB / 0.9242 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003365/1.458, allocations: 191.9 kB / 0.9244 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001371/1.459, allocations: 1.329 MB / 0.9257 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.459, allocations: 0 / 0.9257 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003019/1.462, allocations: 0.992 MB / 0.9267 GB, free: 7.016 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.0007216/1.463, allocations: 424.7 kB / 0.9271 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.474, allocations: 5.425 MB / 0.9324 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.474, allocations: 0 / 0.9324 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008532/1.482, allocations: 2.917 MB / 0.9352 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.485, allocations: 468.5 kB / 0.9357 GB, free: 13.74 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 659] [Calling sys.exit(0), Time elapsed: 3.94671021400427] Failed to read output from testmodel.py, exit status != 0: 1.4948437480052235 1.683888734 0.928469642 Calling exit ...