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.001518/0.001518, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001665/0.001665, allocations: 217.8 kB / 22.25 MB, free: 5.125 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.1284/0.1284, allocations: 23.85 MB / 336.3 MB, free: 11.18 MB / 270.1 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: 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.002125/0.002125, allocations: 63.91 kB / 471.6 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2802, allocations: 59.86 MB / 0.519 GB, free: 9.855 MB / 382.1 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.03929/0.3195, allocations: 34.3 MB / 0.5525 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.166/0.4855, allocations: 148.1 MB / 0.6972 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.4879, allocations: 43.75 kB / 0.6972 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003727/0.4916, allocations: 1.262 MB / 0.6984 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.4956, allocations: 1.299 MB / 0.6997 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.4994, allocations: 1.669 MB / 0.7013 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00576/0.5052, allocations: 3.724 MB / 0.705 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.5063, allocations: 0.7215 MB / 0.7057 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5079, allocations: 1.292 MB / 0.7069 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.5096, allocations: 1.517 MB / 0.7084 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.51, allocations: 336 kB / 0.7087 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.5138, allocations: 1.876 MB / 0.7106 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008195/0.5146, allocations: 0.9928 MB / 0.7116 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.5164, allocations: 1.904 MB / 0.7134 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007255/0.5237, allocations: 5.736 MB / 0.719 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5237, allocations: 4 kB / 0.719 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5237, allocations: 0 / 0.719 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.15e-05/0.5237, allocations: 0 / 0.719 GB, free: 12.7 MB / 0.5606 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.006121/0.5298, allocations: 4.002 MB / 0.7229 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5299, allocations: 8.031 kB / 0.7229 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.5315, allocations: 0.6931 MB / 0.7236 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.534, allocations: 1.715 MB / 0.7253 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/0.5345, allocations: 0.5597 MB / 0.7258 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.5349, allocations: 328.3 kB / 0.7261 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2116/0.7465, allocations: 12.34 MB / 0.7382 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.7465, allocations: 3.312 kB / 0.7382 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.7467, allocations: 134 kB / 0.7383 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005268/0.7473, allocations: 0.4907 MB / 0.7388 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.7653, allocations: 21.37 MB / 0.7597 GB, free: 177.8 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.03015/0.7955, allocations: 31.07 MB / 0.79 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/0.8007, allocations: 5.366 MB / 0.7953 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003749/0.8044, allocations: 4.31 MB / 0.7995 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/0.8065, allocations: 0.7971 MB / 0.8002 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.8066, allocations: 47.88 kB / 0.8003 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 2.916e-06/0.8066, allocations: 2.688 kB / 0.8003 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1372/0.9437, allocations: 48.26 MB / 0.8474 GB, free: 89.64 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.09693/1.041, allocations: 29.46 MB / 0.8762 GB, free: 59.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/1.044, allocations: 3.747 MB / 0.8798 GB, free: 56.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007504/1.045, allocations: 61.7 kB / 0.8799 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/1.046, allocations: 1.628 MB / 0.8815 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/1.047, allocations: 0.8094 MB / 0.8823 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/1.048, allocations: 0.7733 MB / 0.883 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/1.048, allocations: 301.1 kB / 0.8833 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007067/1.055, allocations: 7.511 MB / 0.8907 GB, free: 45.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007159/1.063, allocations: 7.837 MB / 0.8983 GB, free: 37.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2085/1.271, allocations: 44.06 MB / 0.9413 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.271, allocations: 0 / 0.9413 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2394/1.51, allocations: 20.72 MB / 0.9616 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.51, allocations: 9.672 kB / 0.9616 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.51, allocations: 7.812 kB / 0.9616 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03698/1.547, allocations: 10.52 MB / 0.9719 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/1.554, allocations: 0.9667 MB / 0.9728 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05243/1.606, allocations: 41.9 MB / 1.014 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/1.611, allocations: 267 kB / 1.014 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008044/1.612, allocations: 0.527 MB / 1.014 GB, free: 155.2 MB / 0.5762 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: 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.001899/1.614, allocations: 0.8831 MB / 1.015 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009788/1.615, allocations: 351.6 kB / 1.016 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03392/1.648, allocations: 13.9 MB / 1.029 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02938/1.678, allocations: 11.4 MB / 1.04 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.678, allocations: 4 kB / 1.04 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/1.678, allocations: 15.89 kB / 1.04 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04316/1.721, allocations: 23.48 MB / 1.063 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.721, allocations: 5.203 kB / 1.063 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003858/1.725, allocations: 0.4998 MB / 1.064 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07031/1.795, allocations: 10.88 MB / 1.074 GB, free: 93.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005677/1.796, allocations: 139.8 kB / 1.075 GB, free: 93.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03264/1.828, allocations: 20.1 MB / 1.094 GB, free: 73.2 MB / 0.5762 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.08478/1.913, allocations: 20.26 MB / 1.114 GB, free: 52.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03693/1.95, allocations: 17.78 MB / 1.131 GB, free: 34.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009942/1.951, allocations: 469 kB / 1.132 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009398/1.952, allocations: 48 kB / 1.132 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00398/1.956, allocations: 187.7 kB / 1.132 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009395/1.957, allocations: 292 kB / 1.132 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/1.957, allocations: 247.8 kB / 1.133 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003374/1.961, allocations: 3.433 MB / 1.136 GB, free: 30.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.961, allocations: 0 / 1.136 GB, free: 30.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003588/1.964, allocations: 1.485 MB / 1.137 GB, free: 28.82 MB / 0.5762 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.0008266/1.965, allocations: 436.1 kB / 1.138 GB, free: 28.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01576/1.981, allocations: 11.62 MB / 1.149 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.981, allocations: 0 / 1.149 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00968/1.991, allocations: 4.757 MB / 1.154 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.994, allocations: 0.7152 MB / 1.154 GB, free: 11.41 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.263568066991866] Failed to read output from testmodel.py, exit status != 0: 2.0019747822079808 2.011847067 1.485210384 Calling exit ...