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.001529/0.001529, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001649/0.001649, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.1642/0.1642, allocations: 23.85 MB / 337.1 MB, free: 11.19 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="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.002007/0.002007, allocations: 67.91 kB / 471.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4276, allocations: 59.86 MB / 0.5193 GB, free: 9.582 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.05128/0.4788, allocations: 34.13 MB / 0.5527 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1948/0.6737, allocations: 148.1 MB / 0.6973 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004554/0.6782, allocations: 43.81 kB / 0.6973 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.683, allocations: 1.277 MB / 0.6986 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.6885, allocations: 1.326 MB / 0.6999 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.6932, allocations: 1.688 MB / 0.7015 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006761/0.7, allocations: 3.716 MB / 0.7051 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.7012, allocations: 0.7331 MB / 0.7059 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.7031, allocations: 1.288 MB / 0.7071 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.7052, allocations: 1.517 MB / 0.7086 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.7056, allocations: 339.9 kB / 0.7089 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/0.7104, allocations: 1.869 MB / 0.7107 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009582/0.7113, allocations: 0.9927 MB / 0.7117 GB, free: 4.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.7139, allocations: 1.912 MB / 0.7136 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.7279, allocations: 5.729 MB / 0.7192 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7279, allocations: 0 / 0.7192 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7279, allocations: 4 kB / 0.7192 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001723/0.7281, allocations: 0 / 0.7192 GB, free: 12.86 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.01403/0.7421, allocations: 4.006 MB / 0.7231 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.216e-05/0.7422, allocations: 12.03 kB / 0.7231 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001552/0.7424, allocations: 86.62 kB / 0.7232 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/0.7435, allocations: 0.4996 MB / 0.7237 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.7467, allocations: 0.6892 MB / 0.7243 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.7526, allocations: 1.719 MB / 0.726 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/0.7536, allocations: 0.5558 MB / 0.7266 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008947/0.7545, allocations: 336 kB / 0.7269 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3252/1.08, allocations: 12.33 MB / 0.7389 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/1.08, allocations: 0.7031 kB / 0.7389 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/1.08, allocations: 134.1 kB / 0.7391 GB, free: 185 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008343/1.081, allocations: 0.4897 MB / 0.7395 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03175/1.113, allocations: 21.37 MB / 0.7604 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.03864/1.151, allocations: 31.08 MB / 0.7908 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/1.157, allocations: 5.37 MB / 0.796 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/1.162, allocations: 4.305 MB / 0.8002 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/1.164, allocations: 0.793 MB / 0.801 GB, free: 137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.164, allocations: 51.88 kB / 0.801 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.377e-06/1.164, allocations: 0 / 0.801 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1508/1.315, allocations: 48.27 MB / 0.8482 GB, free: 89.1 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.1039/1.419, allocations: 29.46 MB / 0.8769 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00463/1.423, allocations: 3.749 MB / 0.8806 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.424, allocations: 73.62 kB / 0.8807 GB, free: 55.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.425, allocations: 1.612 MB / 0.8822 GB, free: 54.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.426, allocations: 0.8133 MB / 0.883 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.428, allocations: 0.7798 MB / 0.8838 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/1.428, allocations: 305.1 kB / 0.8841 GB, free: 52.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00762/1.436, allocations: 7.497 MB / 0.8914 GB, free: 44.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00794/1.444, allocations: 7.843 MB / 0.8991 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2289/1.673, allocations: 44.06 MB / 0.9421 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.673, allocations: 4 kB / 0.9421 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.3274/2, allocations: 20.72 MB / 0.9623 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/2, allocations: 8.875 kB / 0.9623 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/2, allocations: 7.75 kB / 0.9623 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04168/2.042, allocations: 10.51 MB / 0.9726 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00696/2.049, allocations: 0.9669 MB / 0.9735 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06001/2.109, allocations: 41.9 MB / 1.014 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/2.115, allocations: 266.3 kB / 1.015 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/2.116, allocations: 0.5237 MB / 1.015 GB, free: 154.7 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.002874/2.119, allocations: 0.8915 MB / 1.016 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/2.121, allocations: 347.9 kB / 1.016 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03618/2.157, allocations: 13.9 MB / 1.03 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03152/2.188, allocations: 11.4 MB / 1.041 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-05/2.188, allocations: 4 kB / 1.041 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/2.188, allocations: 15.89 kB / 1.041 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04694/2.235, allocations: 23.48 MB / 1.064 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/2.235, allocations: 4 kB / 1.064 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004411/2.24, allocations: 0.4977 MB / 1.065 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07377/2.314, allocations: 10.88 MB / 1.075 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007624/2.314, allocations: 140.8 kB / 1.075 GB, free: 93.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03508/2.349, allocations: 20.11 MB / 1.095 GB, free: 72.67 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.09375/2.443, allocations: 20.25 MB / 1.115 GB, free: 52.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05632/2.499, allocations: 17.78 MB / 1.132 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/2.501, allocations: 468.2 kB / 1.133 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00178/2.503, allocations: 50.67 kB / 1.133 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007977/2.511, allocations: 190.4 kB / 1.133 GB, free: 33.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/2.513, allocations: 296 kB / 1.133 GB, free: 33.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008556/2.514, allocations: 247.8 kB / 1.133 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007272/2.521, allocations: 3.437 MB / 1.137 GB, free: 29.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/2.521, allocations: 0 / 1.137 GB, free: 29.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008127/2.529, allocations: 1.483 MB / 1.138 GB, free: 28.29 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.04723/2.576, allocations: 17.36 MB / 1.155 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01812/2.595, allocations: 11.64 MB / 1.166 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.595, allocations: 0 / 1.166 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01252/2.607, allocations: 4.747 MB / 1.171 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/2.612, allocations: 0.7231 MB / 1.172 GB, free: 9.891 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 657] [Calling sys.exit(0), Time elapsed: 5.61943592200987] Failed to read output from testmodel.py, exit status != 0: 2.6215791520662606 2.880214921 2.149050019 Calling exit ...