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.001506/0.001506, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001862/0.001862, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.805 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.1451/0.1451, allocations: 23.88 MB / 336.3 MB, free: 11.06 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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",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.002739/0.002739, allocations: 75.86 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3874, allocations: 59.85 MB / 0.5185 GB, free: 9.531 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.08364/0.471, allocations: 32.42 MB / 0.5502 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1831/0.6542, allocations: 127 MB / 0.6742 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.6584, allocations: 39.81 kB / 0.6742 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.6634, allocations: 1.169 MB / 0.6754 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.6688, allocations: 1.303 MB / 0.6766 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.6736, allocations: 1.607 MB / 0.6782 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008659/0.6822, allocations: 3.712 MB / 0.6818 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.6842, allocations: 0.7136 MB / 0.6825 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.6872, allocations: 1.292 MB / 0.6838 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.6905, allocations: 1.306 MB / 0.6851 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008316/0.6913, allocations: 336 kB / 0.6854 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/0.6968, allocations: 1.26 MB / 0.6866 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.6982, allocations: 0.9926 MB / 0.6876 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.7014, allocations: 1.453 MB / 0.689 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.7148, allocations: 5.585 MB / 0.6944 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.7148, allocations: 0 / 0.6944 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7148, allocations: 0 / 0.6944 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001446/0.715, allocations: 3.938 kB / 0.6944 GB, free: 5.219 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.01251/0.7275, allocations: 4.006 MB / 0.6984 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.7275, allocations: 12.03 kB / 0.6984 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000974/0.7285, allocations: 0.4957 MB / 0.6989 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.7324, allocations: 0.7907 MB / 0.6996 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/0.7372, allocations: 1.711 MB / 0.7013 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000873/0.7381, allocations: 0.5636 MB / 0.7018 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008874/0.739, allocations: 328.3 kB / 0.7022 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.7621, allocations: 12.37 MB / 0.7142 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.058e-05/0.7622, allocations: 3.984 kB / 0.7142 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004019/0.7626, allocations: 128 kB / 0.7144 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000826/0.7634, allocations: 0.4995 MB / 0.7149 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3052/1.069, allocations: 21.37 MB / 0.7357 GB, free: 185.5 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.04556/1.114, allocations: 29.14 MB / 0.7642 GB, free: 172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/1.12, allocations: 5.404 MB / 0.7695 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/1.124, allocations: 4.331 MB / 0.7737 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/1.126, allocations: 0.7084 MB / 0.7744 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.126, allocations: 46.5 kB / 0.7744 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.596e-06/1.126, allocations: 0 / 0.7744 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1611/1.287, allocations: 48.46 MB / 0.8217 GB, free: 114.8 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.1103/1.397, allocations: 29.13 MB / 0.8502 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005767/1.403, allocations: 3.756 MB / 0.8539 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.404, allocations: 61.7 kB / 0.8539 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/1.406, allocations: 1.629 MB / 0.8555 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/1.407, allocations: 0.812 MB / 0.8563 GB, free: 79.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003257/1.41, allocations: 0.7733 MB / 0.8571 GB, free: 78.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/1.41, allocations: 309 kB / 0.8573 GB, free: 78.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008814/1.419, allocations: 7.534 MB / 0.8647 GB, free: 70.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009273/1.429, allocations: 7.875 MB / 0.8724 GB, free: 62.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2214/1.65, allocations: 42.6 MB / 0.914 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/1.65, allocations: 4 kB / 0.914 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04711/1.697, allocations: 20.82 MB / 0.9343 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/1.697, allocations: 8 kB / 0.9343 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/1.697, allocations: 11.94 kB / 0.9344 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04591/1.743, allocations: 10.52 MB / 0.9446 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007261/1.75, allocations: 0.9753 MB / 0.9456 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3217/2.072, allocations: 41.31 MB / 0.9859 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/2.078, allocations: 278.8 kB / 0.9862 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/2.079, allocations: 0.5351 MB / 0.9867 GB, free: 177.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.002563/2.082, allocations: 0.8785 MB / 0.9876 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/2.083, allocations: 340.3 kB / 0.9879 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03874/2.121, allocations: 14.08 MB / 1.002 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03234/2.154, allocations: 11.47 MB / 1.013 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/2.154, allocations: 8 kB / 1.013 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.266e-05/2.154, allocations: 14.62 kB / 1.013 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04746/2.201, allocations: 21.72 MB / 1.034 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/2.201, allocations: 8 kB / 1.034 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004577/2.206, allocations: 0.5084 MB / 1.035 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07818/2.284, allocations: 10.88 MB / 1.045 GB, free: 122 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008728/2.285, allocations: 142.7 kB / 1.045 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03892/2.324, allocations: 19.7 MB / 1.065 GB, free: 101.8 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.09649/2.42, allocations: 19.96 MB / 1.084 GB, free: 81.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0437/2.464, allocations: 18 MB / 1.102 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/2.466, allocations: 465.7 kB / 1.102 GB, free: 63.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/2.467, allocations: 51.09 kB / 1.102 GB, free: 63.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005253/2.472, allocations: 198.4 kB / 1.102 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/2.474, allocations: 289.4 kB / 1.103 GB, free: 62.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007992/2.475, allocations: 251.9 kB / 1.103 GB, free: 62.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004837/2.48, allocations: 3.43 MB / 1.106 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/2.48, allocations: 0 / 1.106 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005445/2.485, allocations: 1.484 MB / 1.108 GB, free: 57.48 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.04218/2.527, allocations: 17.57 MB / 1.125 GB, free: 39.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01923/2.546, allocations: 11.69 MB / 1.136 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/2.546, allocations: 0 / 1.136 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/2.558, allocations: 4.791 MB / 1.141 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006072/2.564, allocations: 0.7242 MB / 1.142 GB, free: 22.79 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 657] [Calling sys.exit(0), Time elapsed: 5.220978023018688] Failed to read output from testmodel.py, exit status != 0: 2.5740650151856244 2.584781724 1.867269196 Calling exit ...