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.001632/0.001632, allocations: 80.59 kB / 19.18 MB, free: 2.527 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.001549/0.001549, allocations: 165.7 kB / 22.46 MB, free: 5.355 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.1253/0.1253, allocations: 17.37 MB / 276.6 MB, free: 15.29 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 411.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.066e-05, allocations: 9.594 kB / 411.9 MB, free: 4.441 MB / 334.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.04546/0.04549, allocations: 32.73 MB / 444.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3559/0.4014, allocations: 127 MB / 0.5583 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.4043, allocations: 39.81 kB / 0.5583 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004641/0.409, allocations: 1.182 MB / 0.5595 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.4144, allocations: 1.349 MB / 0.5608 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.42, allocations: 1.622 MB / 0.5624 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009718/0.4297, allocations: 3.85 MB / 0.5661 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.4316, allocations: 0.7105 MB / 0.5668 GB, free: 440 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004682/0.4363, allocations: 1.949 MB / 0.5687 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.4389, allocations: 1.094 MB / 0.5698 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.4399, allocations: 336 kB / 0.5701 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.4455, allocations: 1.279 MB / 0.5714 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.447, allocations: 1.008 MB / 0.5724 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.4499, allocations: 1.161 MB / 0.5735 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4614, allocations: 5.569 MB / 0.5789 GB, free: 4.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.4614, allocations: 0 / 0.5789 GB, free: 4.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4614, allocations: 0 / 0.5789 GB, free: 4.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001895/0.4616, allocations: 4 kB / 0.5789 GB, free: 4.004 MB / 462.1 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.008652/0.4703, allocations: 3.963 MB / 0.5828 GB, free: 15.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4703, allocations: 8.031 kB / 0.5828 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.473, allocations: 0.7862 MB / 0.5836 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.476, allocations: 1.722 MB / 0.5853 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/0.4767, allocations: 0.5626 MB / 0.5858 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004611/0.4771, allocations: 328.3 kB / 0.5861 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.4934, allocations: 12.37 MB / 0.5982 GB, free: 128 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/0.4935, allocations: 7.312 kB / 0.5982 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.4938, allocations: 132.4 kB / 0.5983 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005789/0.4944, allocations: 0.4916 MB / 0.5988 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.5212, allocations: 21.37 MB / 0.6197 GB, free: 10.12 MB / 0.4981 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.2731/0.7943, allocations: 27.93 MB / 0.647 GB, free: 172.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/0.801, allocations: 5.385 MB / 0.6522 GB, free: 169.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004392/0.8054, allocations: 4.338 MB / 0.6564 GB, free: 167 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/0.8072, allocations: 0.7064 MB / 0.6571 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8072, allocations: 47.38 kB / 0.6572 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.098e-06/0.8072, allocations: 0 / 0.6572 GB, free: 166.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=232): time 0.1574/0.9646, allocations: 48.4 MB / 0.7044 GB, free: 119.1 MB / 0.4981 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.1106/1.075, allocations: 29.18 MB / 0.7329 GB, free: 89.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/1.078, allocations: 1.81 MB / 0.7347 GB, free: 87.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/1.079, allocations: 61.7 kB / 0.7348 GB, free: 87.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008826/1.08, allocations: 1.665 MB / 0.7364 GB, free: 86.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.082, allocations: 0.8033 MB / 0.7372 GB, free: 85.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00456/1.086, allocations: 0.7827 MB / 0.7379 GB, free: 84.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/1.086, allocations: 305.1 kB / 0.7382 GB, free: 84.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00893/1.095, allocations: 7.533 MB / 0.7456 GB, free: 77.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008774/1.104, allocations: 7.875 MB / 0.7533 GB, free: 69.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2222/1.326, allocations: 42.91 MB / 0.7952 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.326, allocations: 4.594 kB / 0.7952 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04714/1.374, allocations: 20.7 MB / 0.8154 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.374, allocations: 8 kB / 0.8154 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/1.374, allocations: 8 kB / 0.8154 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.295/1.669, allocations: 10.56 MB / 0.8257 GB, free: 173.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007509/1.676, allocations: 0.9713 MB / 0.8267 GB, free: 173.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06115/1.737, allocations: 41.25 MB / 0.867 GB, free: 145.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005906/1.743, allocations: 277.8 kB / 0.8672 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.745, allocations: 0.5296 MB / 0.8678 GB, free: 144.8 MB / 0.4981 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.003235/1.748, allocations: 0.8766 MB / 0.8686 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.749, allocations: 220 kB / 0.8688 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04044/1.79, allocations: 13.96 MB / 0.8825 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03496/1.825, allocations: 11.47 MB / 0.8937 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.518e-05/1.825, allocations: 11.98 kB / 0.8937 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/1.825, allocations: 7.969 kB / 0.8937 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05062/1.875, allocations: 22.16 MB / 0.9153 GB, free: 95.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/1.876, allocations: 4 kB / 0.9153 GB, free: 95.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004891/1.88, allocations: 0.5188 MB / 0.9158 GB, free: 95.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08016/1.961, allocations: 10.98 MB / 0.9266 GB, free: 84.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008991/1.961, allocations: 143.8 kB / 0.9267 GB, free: 84.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03638/1.998, allocations: 19.61 MB / 0.9458 GB, free: 64.52 MB / 0.4981 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.09764/2.095, allocations: 20.03 MB / 0.9654 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04395/2.139, allocations: 17.85 MB / 0.9828 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/2.14, allocations: 244.7 kB / 0.9831 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/2.142, allocations: 54.67 kB / 0.9831 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/2.147, allocations: 191.7 kB / 0.9833 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001599/2.148, allocations: 293.4 kB / 0.9836 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008323/2.149, allocations: 247.8 kB / 0.9838 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002718/2.152, allocations: 2.039 MB / 0.9858 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/2.152, allocations: 0 / 0.9858 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005411/2.157, allocations: 1.456 MB / 0.9872 GB, free: 21.95 MB / 0.4981 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.001566/2.159, allocations: 435.7 kB / 0.9876 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0204/2.179, allocations: 11.68 MB / 0.9991 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/2.179, allocations: 0 / 0.9991 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/2.191, allocations: 4.784 MB / 1.004 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/2.196, allocations: 0.4962 MB / 1.004 GB, free: 4.664 MB / 0.4981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.8798607885837555] Failed to read output from testmodel.py, exit status != 0: 2.205140072852373 2.443034781 1.97845739 Calling exit ...