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.001356/0.001356, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001628/0.001628, allocations: 215 kB / 20.13 MB, free: 2.949 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.155/0.155, allocations: 23.85 MB / 333.4 MB, free: 1.203 MB / 254.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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) [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.002021/0.002021, allocations: 67.83 kB / 466.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1228, allocations: 59.82 MB / 0.5142 GB, free: 12.96 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.05328/0.1761, allocations: 34.1 MB / 0.5475 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5085/0.6846, allocations: 148.1 MB / 0.6921 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.6878, allocations: 43.75 kB / 0.6921 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.6922, allocations: 1.275 MB / 0.6934 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004929/0.6972, allocations: 1.323 MB / 0.6946 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005389/0.7025, allocations: 1.678 MB / 0.6963 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008113/0.7107, allocations: 3.722 MB / 0.6999 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.7122, allocations: 0.7757 MB / 0.7007 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.7144, allocations: 1.288 MB / 0.7019 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.7165, allocations: 1.521 MB / 0.7034 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004603/0.717, allocations: 332 kB / 0.7037 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005394/0.7224, allocations: 1.884 MB / 0.7056 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.7236, allocations: 0.981 MB / 0.7065 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/0.7265, allocations: 1.912 MB / 0.7084 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.7392, allocations: 5.729 MB / 0.714 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.7392, allocations: 4 kB / 0.714 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7392, allocations: 0 / 0.714 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001436/0.7394, allocations: 0 / 0.714 GB, free: 3.023 MB / 0.4981 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.008159/0.7475, allocations: 4.086 MB / 0.718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.7476, allocations: 8.031 kB / 0.718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.963e-05/0.7477, allocations: 90.62 kB / 0.7181 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006233/0.7483, allocations: 499.6 kB / 0.7186 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.7503, allocations: 0.691 MB / 0.7192 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.7533, allocations: 1.773 MB / 0.721 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005518/0.7538, allocations: 476.1 kB / 0.7214 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004702/0.7543, allocations: 336.3 kB / 0.7217 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.7692, allocations: 11.81 MB / 0.7333 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.7693, allocations: 0 / 0.7333 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.7695, allocations: 140 kB / 0.7334 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005759/0.7701, allocations: 0.4892 MB / 0.7339 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02398/0.7941, allocations: 20.48 MB / 0.7539 GB, free: 10 MB / 0.545 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.04826/0.8424, allocations: 30.55 MB / 0.7837 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008194/0.8505, allocations: 5.318 MB / 0.7889 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/0.8567, allocations: 4.245 MB / 0.7931 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003437/0.8601, allocations: 1.833 MB / 0.7948 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.8602, allocations: 51.81 kB / 0.7949 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=150): time 4.068e-06/0.8602, allocations: 4 kB / 0.7949 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=232): time 0.5902/1.45, allocations: 48.24 MB / 0.842 GB, free: 119 MB / 0.6075 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.1135/1.564, allocations: 29.39 MB / 0.8707 GB, free: 109.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/1.569, allocations: 3.733 MB / 0.8744 GB, free: 106 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/1.57, allocations: 65.7 kB / 0.8744 GB, free: 105.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.571, allocations: 1.623 MB / 0.876 GB, free: 104.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.573, allocations: 0.8155 MB / 0.8768 GB, free: 103.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/1.575, allocations: 0.7673 MB / 0.8775 GB, free: 102.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/1.575, allocations: 301.8 kB / 0.8778 GB, free: 102.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0078/1.583, allocations: 7.383 MB / 0.885 GB, free: 95.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008937/1.592, allocations: 7.721 MB / 0.8926 GB, free: 87.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2335/1.825, allocations: 43.94 MB / 0.9355 GB, free: 43.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.825, allocations: 4 kB / 0.9355 GB, free: 43.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04385/1.869, allocations: 20.44 MB / 0.9555 GB, free: 23.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.869, allocations: 13.2 kB / 0.9555 GB, free: 23.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/1.869, allocations: 8 kB / 0.9555 GB, free: 23.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03894/1.908, allocations: 10.37 MB / 0.9656 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006522/1.915, allocations: 0.9623 MB / 0.9665 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06923/1.984, allocations: 41.57 MB / 1.007 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006411/1.99, allocations: 258.7 kB / 1.007 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.992, allocations: 0.5348 MB / 1.008 GB, free: 1.238 MB / 0.6387 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.003118/1.995, allocations: 0.8793 MB / 1.009 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.996, allocations: 343 kB / 1.009 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04481/2.041, allocations: 13.89 MB / 1.023 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03815/2.079, allocations: 11.38 MB / 1.034 GB, free: 6.762 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.725e-05/2.079, allocations: 4 kB / 1.034 GB, free: 6.758 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.741e-05/2.079, allocations: 15.95 kB / 1.034 GB, free: 6.742 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06243/2.142, allocations: 23.45 MB / 1.057 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/2.142, allocations: 4.562 kB / 1.057 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004853/2.147, allocations: 0.4987 MB / 1.057 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08244/2.229, allocations: 10.89 MB / 1.068 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009804/2.23, allocations: 147.8 kB / 1.068 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2969/2.527, allocations: 20.4 MB / 1.088 GB, free: 333.8 MB / 0.7169 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.09981/2.627, allocations: 20.45 MB / 1.108 GB, free: 327.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04015/2.667, allocations: 17.75 MB / 1.125 GB, free: 320 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/2.668, allocations: 0.5286 MB / 1.126 GB, free: 319.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/2.669, allocations: 53.66 kB / 1.126 GB, free: 319.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004185/2.674, allocations: 189.1 kB / 1.126 GB, free: 319.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/2.675, allocations: 282.6 kB / 1.126 GB, free: 319.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004425/2.675, allocations: 255 kB / 1.126 GB, free: 319.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003713/2.679, allocations: 3.416 MB / 1.13 GB, free: 317.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/2.679, allocations: 2.656 kB / 1.13 GB, free: 317.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004203/2.683, allocations: 1.481 MB / 1.131 GB, free: 316.8 MB / 0.7169 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.03641/2.72, allocations: 17.34 MB / 1.148 GB, free: 299.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01619/2.736, allocations: 11.49 MB / 1.159 GB, free: 288 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.736, allocations: 0 / 1.159 GB, free: 288 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.009888/2.746, allocations: 4.752 MB / 1.164 GB, free: 283.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/2.75, allocations: 0.7146 MB / 1.165 GB, free: 282.7 MB / 0.7169 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.494592286995612] Failed to read output from testmodel.py, exit status != 0: 2.7570906320470385 2.766966245 2.02530383 Calling exit ...