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.001863/0.001863, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002627/0.002627, allocations: 211.3 kB / 22.24 MB, free: 5.105 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.828 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.1571/0.1571, allocations: 23.92 MB / 336.3 MB, free: 10.96 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.002156/0.002156, allocations: 67.89 kB / 471.7 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 59.86 MB / 0.5191 GB, free: 9.848 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.08224/0.4708, allocations: 32.34 MB / 0.5507 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2065/0.6772, allocations: 127 MB / 0.6747 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/0.6818, allocations: 55.69 kB / 0.6747 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.6864, allocations: 1.118 MB / 0.6758 GB, free: 8.883 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.00633/0.6928, allocations: 1.338 MB / 0.6771 GB, free: 7.535 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.005933/0.6987, allocations: 1.599 MB / 0.6787 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.009355/0.7081, allocations: 3.704 MB / 0.6823 GB, free: 2.215 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.7096, allocations: 0.737 MB / 0.683 GB, free: 1.414 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.7121, allocations: 1.316 MB / 0.6843 GB, free: 96 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.7153, allocations: 1.747 MB / 0.686 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006518/0.7159, allocations: 320 kB / 0.6863 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.7196, allocations: 1.21 MB / 0.6875 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000897/0.7205, allocations: 0.9186 MB / 0.6884 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.7223, allocations: 1.406 MB / 0.6898 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00893/0.7312, allocations: 5.394 MB / 0.695 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7312, allocations: 4 kB / 0.695 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7312, allocations: 0 / 0.695 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001435/0.7314, allocations: 0 / 0.695 GB, free: 5.062 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.008163/0.7395, allocations: 3.936 MB / 0.6989 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.7396, allocations: 8.031 kB / 0.6989 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.7418, allocations: 0.736 MB / 0.6996 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.7446, allocations: 1.38 MB / 0.701 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.745, allocations: 433.2 kB / 0.7014 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/0.7455, allocations: 328.3 kB / 0.7017 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.7601, allocations: 10.24 MB / 0.7117 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-05/0.7601, allocations: 0 / 0.7117 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/0.7604, allocations: 132 kB / 0.7118 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006268/0.761, allocations: 475.5 kB / 0.7123 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.7861, allocations: 18.74 MB / 0.7306 GB, free: 0.5156 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.3443/1.13, allocations: 16.41 MB / 0.7466 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/1.135, allocations: 2.322 MB / 0.7489 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/1.138, allocations: 1.659 MB / 0.7505 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/1.154, allocations: 7.773 MB / 0.7581 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.154, allocations: 49.31 kB / 0.7581 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.899e-06/1.154, allocations: 5.688 kB / 0.7581 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.08152/1.235, allocations: 22.18 MB / 0.7798 GB, free: 158.2 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.05783/1.293, allocations: 18.18 MB / 0.7975 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/1.295, allocations: 1.671 MB / 0.7992 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008865/1.296, allocations: 53.7 kB / 0.7992 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000932/1.297, allocations: 1.841 MB / 0.801 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/1.298, allocations: 0.668 MB / 0.8017 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/1.299, allocations: 0.6723 MB / 0.8023 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/1.299, allocations: 307.8 kB / 0.8026 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/1.302, allocations: 2.472 MB / 0.805 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/1.306, allocations: 3.236 MB / 0.8082 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1293/1.435, allocations: 26.12 MB / 0.8337 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-05/1.435, allocations: 8 kB / 0.8337 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02587/1.461, allocations: 8.484 MB / 0.842 GB, free: 94.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/1.461, allocations: 19.38 kB / 0.842 GB, free: 94.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/1.461, allocations: 24 kB / 0.842 GB, free: 94.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01986/1.481, allocations: 4.356 MB / 0.8463 GB, free: 89.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004939/1.486, allocations: 0.797 MB / 0.8471 GB, free: 88.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/1.497, allocations: 9.935 MB / 0.8568 GB, free: 78.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/1.501, allocations: 143.9 kB / 0.8569 GB, free: 78.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000771/1.502, allocations: 407.8 kB / 0.8573 GB, free: 78.09 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.002403/1.504, allocations: 0.911 MB / 0.8582 GB, free: 77.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007666/1.505, allocations: 222.5 kB / 0.8584 GB, free: 76.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02393/1.529, allocations: 8.113 MB / 0.8663 GB, free: 68.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/1.529, allocations: 23.98 kB / 0.8663 GB, free: 68.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.529, allocations: 4 kB / 0.8663 GB, free: 68.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.808e-05/1.529, allocations: 14.64 kB / 0.8664 GB, free: 68.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/1.56, allocations: 12.65 MB / 0.8787 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/1.56, allocations: 0 / 0.8787 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/1.564, allocations: 472.7 kB / 0.8792 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0313/1.595, allocations: 5.566 MB / 0.8846 GB, free: 50 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007484/1.596, allocations: 111.8 kB / 0.8847 GB, free: 49.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02277/1.619, allocations: 13.16 MB / 0.8976 GB, free: 36.38 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.05349/1.672, allocations: 16.4 MB / 0.9136 GB, free: 19.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02643/1.699, allocations: 9.679 MB / 0.923 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/1.699, allocations: 186.6 kB / 0.9232 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008081/1.7, allocations: 47.89 kB / 0.9233 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.702, allocations: 103.9 kB / 0.9234 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006874/1.703, allocations: 217.4 kB / 0.9236 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000322/1.703, allocations: 195.9 kB / 0.9237 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001524/1.705, allocations: 1.325 MB / 0.925 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.705, allocations: 0 / 0.925 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003805/1.709, allocations: 0.9957 MB / 0.926 GB, free: 6.887 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.0009018/1.71, allocations: 414.4 kB / 0.9264 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.721, allocations: 5.425 MB / 0.9317 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.721, allocations: 4 kB / 0.9317 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00884/1.73, allocations: 2.91 MB / 0.9346 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.733, allocations: 483.3 kB / 0.935 GB, free: 13.62 MB / 0.5763 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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.766692001838237] Failed to read output from testmodel.py, exit status != 0: 1.7445817422121763 2.003828377 1.025057411 Calling exit ...