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.001568/0.001568, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001912/0.001912, allocations: 217 kB / 22.3 MB, free: 5.301 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.1 MB, free: 7.812 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.1756/0.1756, allocations: 23.89 MB / 336.4 MB, free: 10.95 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.002388/0.002388, allocations: 75.02 kB / 471.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3936, allocations: 59.87 MB / 0.5191 GB, free: 9.84 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.08652/0.4801, allocations: 32.39 MB / 0.5507 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1845/0.6646, allocations: 126.9 MB / 0.6747 GB, free: 10.07 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.6679, allocations: 39.81 kB / 0.6748 GB, free: 10.03 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.6721, allocations: 1.18 MB / 0.6759 GB, free: 8.844 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.6771, allocations: 1.303 MB / 0.6772 GB, free: 7.531 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.005355/0.6825, allocations: 1.599 MB / 0.6787 GB, free: 5.926 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.006962/0.6895, allocations: 3.724 MB / 0.6824 GB, free: 2.191 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.6908, allocations: 0.7101 MB / 0.6831 GB, free: 1.418 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.6928, allocations: 1.288 MB / 0.6843 GB, free: 128 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.6953, allocations: 1.31 MB / 0.6856 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006837/0.696, allocations: 336 kB / 0.6859 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.7, allocations: 1.268 MB / 0.6872 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009732/0.701, allocations: 0.9888 MB / 0.6881 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.7029, allocations: 1.441 MB / 0.6895 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008615/0.7115, allocations: 5.588 MB / 0.695 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7115, allocations: 0 / 0.695 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7115, allocations: 0 / 0.695 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001362/0.7116, allocations: 0 / 0.695 GB, free: 5.16 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.007191/0.7188, allocations: 4.002 MB / 0.6989 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7188, allocations: 8.031 kB / 0.6989 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.7215, allocations: 0.7906 MB / 0.6997 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.7245, allocations: 1.715 MB / 0.7014 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/0.7251, allocations: 0.5675 MB / 0.7019 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004598/0.7256, allocations: 328.3 kB / 0.7022 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.7413, allocations: 12.38 MB / 0.7143 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.7414, allocations: 0 / 0.7143 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.7417, allocations: 136 kB / 0.7145 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005382/0.7422, allocations: 499.5 kB / 0.7149 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3476/1.09, allocations: 21.37 MB / 0.7358 GB, free: 186.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.04441/1.134, allocations: 27.94 MB / 0.7631 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006683/1.141, allocations: 5.402 MB / 0.7684 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005113/1.146, allocations: 4.331 MB / 0.7726 GB, free: 166 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002116/1.148, allocations: 0.7082 MB / 0.7733 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/1.148, allocations: 47.88 kB / 0.7733 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 6.251e-06/1.148, allocations: 0 / 0.7733 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1628/1.311, allocations: 48.39 MB / 0.8206 GB, free: 117.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.1067/1.418, allocations: 29.2 MB / 0.8491 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/1.42, allocations: 1.809 MB / 0.8509 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001608/1.422, allocations: 65.69 kB / 0.8509 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/1.423, allocations: 1.663 MB / 0.8525 GB, free: 84.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.425, allocations: 0.8211 MB / 0.8533 GB, free: 83.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003418/1.428, allocations: 0.785 MB / 0.8541 GB, free: 82.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/1.428, allocations: 307.8 kB / 0.8544 GB, free: 82.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008802/1.437, allocations: 7.528 MB / 0.8618 GB, free: 74.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009151/1.446, allocations: 7.875 MB / 0.8694 GB, free: 66.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2203/1.667, allocations: 42.91 MB / 0.9114 GB, free: 24.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/1.667, allocations: 4 kB / 0.9114 GB, free: 24.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04697/1.714, allocations: 20.69 MB / 0.9316 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/1.714, allocations: 12 kB / 0.9316 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/1.714, allocations: 11.94 kB / 0.9316 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04266/1.756, allocations: 10.56 MB / 0.9419 GB, free: 8.898 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007054/1.763, allocations: 0.9753 MB / 0.9429 GB, free: 7.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.357/2.12, allocations: 41.25 MB / 0.9831 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005931/2.126, allocations: 280.1 kB / 0.9834 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/2.128, allocations: 0.5284 MB / 0.9839 GB, free: 181.2 MB / 0.5763 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.003688/2.132, allocations: 0.8792 MB / 0.9848 GB, free: 180.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.133, allocations: 213.2 kB / 0.985 GB, free: 180.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04067/2.174, allocations: 13.97 MB / 0.9986 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03396/2.208, allocations: 11.46 MB / 1.01 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/2.208, allocations: 12 kB / 1.01 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.139e-05/2.208, allocations: 11.95 kB / 1.01 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04981/2.258, allocations: 22.14 MB / 1.031 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/2.258, allocations: 6.672 kB / 1.031 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004622/2.263, allocations: 0.511 MB / 1.032 GB, free: 137.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07792/2.341, allocations: 10.99 MB / 1.043 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009869/2.342, allocations: 147.8 kB / 1.043 GB, free: 126.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0353/2.377, allocations: 19.62 MB / 1.062 GB, free: 106.6 MB / 0.5763 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.09309/2.47, allocations: 20.03 MB / 1.082 GB, free: 86.38 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04363/2.514, allocations: 17.86 MB / 1.099 GB, free: 68.46 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/2.514, allocations: 245 kB / 1.099 GB, free: 68.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/2.516, allocations: 59.92 kB / 1.099 GB, free: 68.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005037/2.521, allocations: 191.7 kB / 1.099 GB, free: 67.98 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/2.522, allocations: 297.4 kB / 1.1 GB, free: 67.69 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007467/2.523, allocations: 247.8 kB / 1.1 GB, free: 67.45 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00243/2.526, allocations: 2.041 MB / 1.102 GB, free: 65.42 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/2.526, allocations: 0 / 1.102 GB, free: 65.42 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004863/2.531, allocations: 1.456 MB / 1.103 GB, free: 63.98 MB / 0.5763 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.0012/2.532, allocations: 421.7 kB / 1.104 GB, free: 63.66 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01827/2.55, allocations: 11.69 MB / 1.115 GB, free: 51.95 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/2.55, allocations: 0 / 1.115 GB, free: 51.95 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/2.561, allocations: 4.768 MB / 1.12 GB, free: 47.18 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/2.565, allocations: 0.5059 MB / 1.12 GB, free: 46.72 MB / 0.5763 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747: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 657] [Calling sys.exit(0), Time elapsed: 5.339929770678282] Failed to read output from testmodel.py, exit status != 0: 2.5751690547913313 2.585484145 1.871479016 Calling exit ...