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.001663/0.001663, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001518/0.001518, allocations: 221.3 kB / 23 MB, free: 4.914 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1385/0.1385, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002058/0.002058, allocations: 71.88 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 59.86 MB / 0.5197 GB, free: 9.742 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.07914/0.4356, allocations: 32.42 MB / 0.5514 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1709/0.6065, allocations: 127 MB / 0.6754 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/0.6098, allocations: 39.81 kB / 0.6754 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.6138, allocations: 1.176 MB / 0.6766 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.6183, allocations: 1.299 MB / 0.6778 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.6226, allocations: 1.603 MB / 0.6794 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006348/0.629, allocations: 3.723 MB / 0.683 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.6302, allocations: 0.7059 MB / 0.6837 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.632, allocations: 1.292 MB / 0.685 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.6336, allocations: 1.306 MB / 0.6863 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.634, allocations: 336 kB / 0.6866 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.6371, allocations: 1.276 MB / 0.6878 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008501/0.638, allocations: 0.981 MB / 0.6888 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.6395, allocations: 1.453 MB / 0.6902 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007447/0.6469, allocations: 5.585 MB / 0.6957 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6469, allocations: 0 / 0.6957 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6469, allocations: 0 / 0.6957 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.327e-05/0.647, allocations: 7.938 kB / 0.6957 GB, free: 5.148 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.006943/0.654, allocations: 4.002 MB / 0.6996 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.654, allocations: 8.031 kB / 0.6996 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.6564, allocations: 0.7906 MB / 0.7004 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.6593, allocations: 1.715 MB / 0.702 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005954/0.6599, allocations: 0.5597 MB / 0.7026 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.6604, allocations: 328.3 kB / 0.7029 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.6758, allocations: 12.37 MB / 0.715 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.258e-05/0.6758, allocations: 0 / 0.715 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/0.6761, allocations: 136 kB / 0.7151 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.6767, allocations: 499.5 kB / 0.7156 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2869/0.9636, allocations: 21.37 MB / 0.7365 GB, free: 186 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.0441/1.008, allocations: 27.94 MB / 0.7637 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006165/1.014, allocations: 5.406 MB / 0.769 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/1.018, allocations: 4.332 MB / 0.7732 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/1.02, allocations: 0.7039 MB / 0.7739 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/1.02, allocations: 50.5 kB / 0.774 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.468e-06/1.02, allocations: 0 / 0.774 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.149/1.169, allocations: 48.34 MB / 0.8212 GB, free: 116.7 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.1011/1.27, allocations: 29.07 MB / 0.8496 GB, free: 87.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/1.272, allocations: 1.811 MB / 0.8513 GB, free: 85.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.273, allocations: 61.7 kB / 0.8514 GB, free: 85.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/1.274, allocations: 1.67 MB / 0.853 GB, free: 84.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.275, allocations: 0.8085 MB / 0.8538 GB, free: 83.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/1.277, allocations: 0.7889 MB / 0.8546 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.984e-05/1.277, allocations: 313 kB / 0.8549 GB, free: 82.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007569/1.285, allocations: 7.526 MB / 0.8622 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007852/1.292, allocations: 7.879 MB / 0.8699 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2046/1.497, allocations: 42.61 MB / 0.9115 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.497, allocations: 7.938 kB / 0.9116 GB, free: 24.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04717/1.544, allocations: 20.69 MB / 0.9318 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/1.544, allocations: 8 kB / 0.9318 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/1.544, allocations: 8 kB / 0.9318 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04152/1.586, allocations: 10.51 MB / 0.942 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00696/1.593, allocations: 0.9791 MB / 0.943 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3527/1.945, allocations: 41.26 MB / 0.9833 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005534/1.951, allocations: 276.6 kB / 0.9835 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.952, allocations: 0.5266 MB / 0.9841 GB, free: 179.9 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.002649/1.955, allocations: 0.8791 MB / 0.9849 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.956, allocations: 215.5 kB / 0.9851 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03669/1.993, allocations: 13.97 MB / 0.9988 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03083/2.024, allocations: 11.47 MB / 1.01 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.7e-05/2.024, allocations: 4 kB / 1.01 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.305e-05/2.024, allocations: 11.95 kB / 1.01 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04587/2.07, allocations: 22.14 MB / 1.032 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/2.07, allocations: 4 kB / 1.032 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004409/2.074, allocations: 0.5096 MB / 1.032 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07349/2.147, allocations: 10.88 MB / 1.043 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008657/2.148, allocations: 143.8 kB / 1.043 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0345/2.183, allocations: 19.63 MB / 1.062 GB, free: 106 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.08883/2.272, allocations: 19.91 MB / 1.081 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03952/2.311, allocations: 17.86 MB / 1.099 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/2.312, allocations: 242.6 kB / 1.099 GB, free: 67.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/2.313, allocations: 55.59 kB / 1.099 GB, free: 67.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004485/2.318, allocations: 195.7 kB / 1.099 GB, free: 67.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/2.319, allocations: 295.9 kB / 1.1 GB, free: 67.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004315/2.319, allocations: 247.8 kB / 1.1 GB, free: 67.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002016/2.321, allocations: 2.037 MB / 1.102 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.321, allocations: 0 / 1.102 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004337/2.326, allocations: 1.453 MB / 1.103 GB, free: 63.59 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.0009316/2.327, allocations: 432.8 kB / 1.104 GB, free: 63.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01695/2.343, allocations: 11.68 MB / 1.115 GB, free: 51.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.343, allocations: 4 kB / 1.115 GB, free: 51.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.354, allocations: 4.782 MB / 1.12 GB, free: 46.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/2.356, allocations: 0.4975 MB / 1.12 GB, free: 46.32 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.852743863128126] Failed to read output from testmodel.py, exit status != 0: 2.3654028987511992 2.374383297 1.72511879 Calling exit ...