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.001311/0.001311, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001437/0.001437, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1367/0.1367, allocations: 23.88 MB / 337.1 MB, free: 11.18 MB / 270.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.00199/0.00199, allocations: 71.88 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 59.86 MB / 0.5194 GB, free: 9.617 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.04591/0.36, allocations: 34.13 MB / 0.5527 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.19/0.55, allocations: 148.1 MB / 0.6973 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.5528, allocations: 39.81 kB / 0.6974 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.5569, allocations: 1.285 MB / 0.6986 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.5616, allocations: 1.311 MB / 0.6999 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.5664, allocations: 1.704 MB / 0.7016 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006905/0.5733, allocations: 3.712 MB / 0.7052 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.5747, allocations: 0.7254 MB / 0.7059 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.5766, allocations: 1.292 MB / 0.7072 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.579, allocations: 1.525 MB / 0.7087 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006439/0.5796, allocations: 336 kB / 0.709 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.5844, allocations: 1.869 MB / 0.7108 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.5855, allocations: 0.9888 MB / 0.7118 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.5883, allocations: 1.912 MB / 0.7136 GB, free: 2.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009968/0.5983, allocations: 5.733 MB / 0.7192 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5983, allocations: 0 / 0.7192 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5983, allocations: 0 / 0.7192 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001343/0.5984, allocations: 0 / 0.7192 GB, free: 12.81 MB / 0.5606 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.00842/0.6068, allocations: 4.006 MB / 0.7231 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.6069, allocations: 12.03 kB / 0.7232 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001185/0.607, allocations: 86.62 kB / 0.7232 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007342/0.6078, allocations: 0.4957 MB / 0.7237 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.6097, allocations: 0.697 MB / 0.7244 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.6128, allocations: 1.708 MB / 0.7261 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006379/0.6135, allocations: 0.5675 MB / 0.7266 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005897/0.6141, allocations: 328.1 kB / 0.7269 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2174/0.8314, allocations: 12.33 MB / 0.739 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/0.8315, allocations: 1.859 kB / 0.739 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.8317, allocations: 132.6 kB / 0.7391 GB, free: 185 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005271/0.8323, allocations: 498.8 kB / 0.7396 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.852, allocations: 21.37 MB / 0.7605 GB, free: 177.2 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.03584/0.8878, allocations: 31.08 MB / 0.7908 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/0.8937, allocations: 5.37 MB / 0.796 GB, free: 142 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004249/0.8979, allocations: 4.306 MB / 0.8003 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.9002, allocations: 0.8 MB / 0.801 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.9002, allocations: 46.5 kB / 0.8011 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.819e-06/0.9002, allocations: 2.656 kB / 0.8011 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.2224/1.123, allocations: 48.26 MB / 0.8482 GB, free: 89.04 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.1076/1.23, allocations: 29.47 MB / 0.877 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/1.235, allocations: 3.743 MB / 0.8806 GB, free: 55.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009666/1.236, allocations: 65.69 kB / 0.8807 GB, free: 55.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.238, allocations: 1.627 MB / 0.8823 GB, free: 54.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.239, allocations: 0.8133 MB / 0.8831 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003027/1.242, allocations: 0.7695 MB / 0.8838 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/1.242, allocations: 309.1 kB / 0.8841 GB, free: 52.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00812/1.25, allocations: 7.499 MB / 0.8915 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008475/1.259, allocations: 7.843 MB / 0.8991 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.234/1.493, allocations: 44.06 MB / 0.9421 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.493, allocations: 2.656 kB / 0.9421 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2496/1.742, allocations: 20.72 MB / 0.9624 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.742, allocations: 11.98 kB / 0.9624 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.742, allocations: 7.531 kB / 0.9624 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04142/1.784, allocations: 10.5 MB / 0.9727 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/1.791, allocations: 0.9594 MB / 0.9736 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05646/1.847, allocations: 41.91 MB / 1.015 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/1.852, allocations: 265.3 kB / 1.015 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.854, allocations: 0.5257 MB / 1.015 GB, free: 154.6 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.002569/1.856, allocations: 0.8773 MB / 1.016 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.857, allocations: 347.1 kB / 1.016 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03773/1.895, allocations: 13.92 MB / 1.03 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03634/1.932, allocations: 11.39 MB / 1.041 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/1.932, allocations: 8 kB / 1.041 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/1.932, allocations: 18.58 kB / 1.041 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04851/1.98, allocations: 23.47 MB / 1.064 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-05/1.98, allocations: 8 kB / 1.064 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004492/1.985, allocations: 0.4975 MB / 1.065 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07909/2.064, allocations: 10.88 MB / 1.075 GB, free: 93.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007735/2.065, allocations: 143.8 kB / 1.075 GB, free: 93.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03706/2.102, allocations: 20.1 MB / 1.095 GB, free: 72.61 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.09614/2.198, allocations: 20.25 MB / 1.115 GB, free: 52.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04024/2.238, allocations: 17.77 MB / 1.132 GB, free: 34.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/2.239, allocations: 470.9 kB / 1.133 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/2.24, allocations: 57.28 kB / 1.133 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004678/2.245, allocations: 179.7 kB / 1.133 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/2.246, allocations: 292 kB / 1.133 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006419/2.247, allocations: 255.8 kB / 1.133 GB, free: 33.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004227/2.251, allocations: 3.43 MB / 1.137 GB, free: 29.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.251, allocations: 0 / 1.137 GB, free: 29.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005189/2.256, allocations: 1.488 MB / 1.138 GB, free: 28.23 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.05306/2.309, allocations: 17.37 MB / 1.155 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01773/2.327, allocations: 11.63 MB / 1.166 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/2.327, allocations: 0 / 1.166 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.013/2.34, allocations: 4.763 MB / 1.171 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/2.345, allocations: 0.7092 MB / 1.172 GB, free: 9.82 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.909795703017153] Failed to read output from testmodel.py, exit status != 0: 2.35294645302929 2.569211266 1.968220196 Calling exit ...