Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001772/0.001772, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002197/0.002197, allocations: 214.4 kB / 20.13 MB, free: 3.055 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: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1395/0.1395, allocations: 23.9 MB / 333.4 MB, free: 1.176 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_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.002043/0.002043, allocations: 68.91 kB / 466.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09674, allocations: 59.84 MB / 0.5142 GB, free: 12.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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 master/Interfaces.mo:1562:5-1562: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.04719/0.1439, allocations: 34.09 MB / 0.5475 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4116/0.5555, allocations: 148.1 MB / 0.6921 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.558, allocations: 47.81 kB / 0.6922 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.5622, allocations: 1.276 MB / 0.6934 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004949/0.5672, allocations: 1.322 MB / 0.6947 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.5717, allocations: 1.684 MB / 0.6963 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.5785, allocations: 3.716 MB / 0.7 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.5798, allocations: 0.7796 MB / 0.7007 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.5818, allocations: 1.288 MB / 0.702 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.5838, allocations: 1.517 MB / 0.7035 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.5844, allocations: 339.9 kB / 0.7038 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.5887, allocations: 1.872 MB / 0.7056 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.5897, allocations: 0.9888 MB / 0.7066 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002271/0.592, allocations: 1.912 MB / 0.7085 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.6021, allocations: 5.729 MB / 0.7141 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.6021, allocations: 0 / 0.7141 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6021, allocations: 0 / 0.7141 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001654/0.6022, allocations: 0 / 0.7141 GB, free: 2.945 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.008089/0.6103, allocations: 4.085 MB / 0.718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6104, allocations: 12.03 kB / 0.7181 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001077/0.6105, allocations: 86.62 kB / 0.7181 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006954/0.6112, allocations: 0.4996 MB / 0.7186 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.6132, allocations: 0.6871 MB / 0.7193 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.6164, allocations: 1.765 MB / 0.721 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005428/0.617, allocations: 484 kB / 0.7215 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.6175, allocations: 328.1 kB / 0.7218 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.6334, allocations: 11.8 MB / 0.7333 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.6335, allocations: 5.203 kB / 0.7333 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.6338, allocations: 136 kB / 0.7335 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005837/0.6344, allocations: 495.5 kB / 0.7339 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/0.6596, allocations: 20.48 MB / 0.7539 GB, free: 9.934 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.0494/0.709, allocations: 30.56 MB / 0.7838 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008528/0.7176, allocations: 5.318 MB / 0.789 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006512/0.7241, allocations: 4.249 MB / 0.7931 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003505/0.7276, allocations: 1.83 MB / 0.7949 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/0.7277, allocations: 47.88 kB / 0.7949 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=150): time 4.058e-06/0.7277, allocations: 0 / 0.7949 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=232): time 0.4593/1.187, allocations: 48.25 MB / 0.8421 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.1119/1.299, allocations: 29.39 MB / 0.8708 GB, free: 109.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/1.303, allocations: 3.733 MB / 0.8744 GB, free: 105.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008866/1.304, allocations: 63.14 kB / 0.8745 GB, free: 105.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/1.305, allocations: 1.621 MB / 0.8761 GB, free: 104.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.306, allocations: 0.818 MB / 0.8768 GB, free: 103.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/1.308, allocations: 0.7739 MB / 0.8776 GB, free: 102.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/1.308, allocations: 301.8 kB / 0.8779 GB, free: 102.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007571/1.316, allocations: 7.378 MB / 0.8851 GB, free: 95.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007718/1.323, allocations: 7.716 MB / 0.8926 GB, free: 87.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2356/1.559, allocations: 43.95 MB / 0.9355 GB, free: 43.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.559, allocations: 4 kB / 0.9356 GB, free: 43.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04497/1.604, allocations: 20.43 MB / 0.9555 GB, free: 23.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.604, allocations: 9.203 kB / 0.9555 GB, free: 23.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.604, allocations: 8.188 kB / 0.9555 GB, free: 23.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0401/1.644, allocations: 10.38 MB / 0.9657 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006566/1.651, allocations: 0.9579 MB / 0.9666 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07002/1.721, allocations: 41.57 MB / 1.007 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006274/1.727, allocations: 267 kB / 1.007 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.728, allocations: 0.5348 MB / 1.008 GB, free: 1.172 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.002833/1.731, allocations: 0.8736 MB / 1.009 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/1.733, allocations: 343.2 kB / 1.009 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04453/1.777, allocations: 13.9 MB / 1.023 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03856/1.816, allocations: 11.38 MB / 1.034 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/1.816, allocations: 4 kB / 1.034 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.629e-05/1.816, allocations: 11.95 kB / 1.034 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05784/1.874, allocations: 23.45 MB / 1.057 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/1.874, allocations: 8 kB / 1.057 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004793/1.878, allocations: 0.4955 MB / 1.057 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08588/1.964, allocations: 10.88 MB / 1.068 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008777/1.965, allocations: 143.8 kB / 1.068 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2779/2.243, allocations: 20.4 MB / 1.088 GB, free: 333.7 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.1039/2.347, allocations: 20.46 MB / 1.108 GB, free: 327.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04144/2.388, allocations: 17.74 MB / 1.125 GB, free: 319.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/2.39, allocations: 0.5311 MB / 1.126 GB, free: 319.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.391, allocations: 61.83 kB / 1.126 GB, free: 319.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004276/2.395, allocations: 183.7 kB / 1.126 GB, free: 319.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/2.396, allocations: 283 kB / 1.126 GB, free: 319.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004668/2.397, allocations: 245.1 kB / 1.126 GB, free: 319.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003653/2.4, allocations: 3.428 MB / 1.13 GB, free: 317.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.4, allocations: 0 / 1.13 GB, free: 317.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004325/2.405, allocations: 1.484 MB / 1.131 GB, free: 316.7 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.03803/2.443, allocations: 17.33 MB / 1.148 GB, free: 299.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01713/2.46, allocations: 11.49 MB / 1.159 GB, free: 287.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.46, allocations: 0 / 1.159 GB, free: 287.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01038/2.47, allocations: 4.744 MB / 1.164 GB, free: 283.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/2.474, allocations: 0.721 MB / 1.165 GB, free: 282.6 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 658] [Calling sys.exit(0), Time elapsed: 4.998679338954389] Failed to read output from testmodel.py, exit status != 0: 2.4820815779967234 2.491568474 1.887232972 Calling exit ...