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.00183/0.00183, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001928/0.001928, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.1446/0.1446, allocations: 17.45 MB / 277 MB, free: 11.58 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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: translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.689e-06, allocations: 3.984 kB / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.724e-05/4.193e-05, allocations: 8.781 kB / 352.8 MB, free: 10.21 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586: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:1586:5-1586: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.05337/0.05341, allocations: 35.16 MB / 388 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3965/0.4499, allocations: 141.2 MB / 0.5168 GB, free: 8.422 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/0.4534, allocations: 83.31 kB / 0.5168 GB, free: 8.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.4581, allocations: 1.255 MB / 0.5181 GB, free: 7.102 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.4644, allocations: 1.687 MB / 0.5197 GB, free: 5.402 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005791/0.4702, allocations: 1.945 MB / 0.5216 GB, free: 3.449 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008044/0.4783, allocations: 4.15 MB / 0.5257 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.4797, allocations: 0.7235 MB / 0.5264 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003525/0.4832, allocations: 2.12 MB / 0.5284 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.4857, allocations: 1.515 MB / 0.5299 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000511/0.4862, allocations: 336 kB / 0.5302 GB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.4902, allocations: 1.505 MB / 0.5317 GB, free: 9.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.4914, allocations: 1.047 MB / 0.5327 GB, free: 7.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.4935, allocations: 1.212 MB / 0.5339 GB, free: 6.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.5035, allocations: 5.728 MB / 0.5395 GB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5036, allocations: 0 / 0.5395 GB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5036, allocations: 4 kB / 0.5395 GB, free: 1.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000143/0.5037, allocations: 0 / 0.5395 GB, free: 1.012 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.009469/0.5132, allocations: 4.667 MB / 0.5441 GB, free: 12.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5132, allocations: 12.03 kB / 0.5441 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.5165, allocations: 1.558 MB / 0.5456 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/0.5202, allocations: 1.992 MB / 0.5476 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/0.5206, allocations: 433.4 kB / 0.548 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000522/0.5212, allocations: 336.3 kB / 0.5483 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/0.5293, allocations: 4.196 MB / 0.5524 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.631e-05/0.5293, allocations: 12.17 kB / 0.5524 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.5296, allocations: 136.3 kB / 0.5525 GB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006284/0.5303, allocations: 479.7 kB / 0.553 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2117/0.742, allocations: 8.966 MB / 0.5617 GB, free: 154.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/0.7723, allocations: 18.03 MB / 0.5793 GB, free: 141.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.7746, allocations: 1.412 MB / 0.5807 GB, free: 139.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.776, allocations: 0.9713 MB / 0.5817 GB, free: 138.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01364/0.7897, allocations: 7.192 MB / 0.5887 GB, free: 131.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.7897, allocations: 46.7 kB / 0.5887 GB, free: 131.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 5.22e-06/0.7897, allocations: 0 / 0.5887 GB, free: 131.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.07993/0.8697, allocations: 17.45 MB / 0.6058 GB, free: 114.2 MB / 426.7 MB 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.0123/0.882, allocations: 7.082 MB / 0.6127 GB, free: 106.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.8842, allocations: 2.132 MB / 0.6148 GB, free: 104.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006241/0.8848, allocations: 57.7 kB / 0.6148 GB, free: 104.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009646/0.8858, allocations: 2.085 MB / 0.6169 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/0.8865, allocations: 0.7251 MB / 0.6176 GB, free: 101.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.8878, allocations: 0.7761 MB / 0.6183 GB, free: 101 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.8878, allocations: 476.8 kB / 0.6188 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.8905, allocations: 1.659 MB / 0.6204 GB, free: 98.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.8936, allocations: 2.8 MB / 0.6232 GB, free: 95.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008928/0.9025, allocations: 6.52 MB / 0.6295 GB, free: 88.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-05/0.9025, allocations: 8 kB / 0.6295 GB, free: 88.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.026/0.9285, allocations: 6.756 MB / 0.6361 GB, free: 81.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.9286, allocations: 17.34 kB / 0.6361 GB, free: 81.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.474e-05/0.9286, allocations: 27.94 kB / 0.6362 GB, free: 81.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02125/0.9499, allocations: 3.919 MB / 0.64 GB, free: 78.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005807/0.9557, allocations: 0.9141 MB / 0.6409 GB, free: 77.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/0.9715, allocations: 13.6 MB / 0.6542 GB, free: 62.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/0.9754, allocations: 131.9 kB / 0.6543 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007024/0.9761, allocations: 434.5 kB / 0.6547 GB, free: 62.42 MB / 426.7 MB 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: 110 * Number of states: 0 () * Number of discrete variables: 4 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 248 * Array equations: 0 * 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): 2 systems {(1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(5,13), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001761/0.9779, allocations: 0.5514 MB / 0.6552 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.9789, allocations: 305.2 kB / 0.6555 GB, free: 61.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.029/1.008, allocations: 7.235 MB / 0.6626 GB, free: 54.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/1.008, allocations: 20 kB / 0.6626 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/1.008, allocations: 15.92 kB / 0.6626 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-05/1.008, allocations: 7.969 kB / 0.6626 GB, free: 54.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03671/1.045, allocations: 12.59 MB / 0.6749 GB, free: 41.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/1.045, allocations: 4 kB / 0.6749 GB, free: 41.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004683/1.049, allocations: 0.6177 MB / 0.6755 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02366/1.073, allocations: 4.105 MB / 0.6796 GB, free: 36.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006566/1.074, allocations: 115.9 kB / 0.6797 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03119/1.105, allocations: 18.64 MB / 0.6979 GB, free: 17.46 MB / 426.7 MB 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.0113/1.116, allocations: 6.596 MB / 0.7043 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02941/1.146, allocations: 8.054 MB / 0.7122 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/1.146, allocations: 186.5 kB / 0.7123 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007116/1.147, allocations: 54.45 kB / 0.7124 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/1.15, allocations: 91.91 kB / 0.7125 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008783/1.151, allocations: 229.5 kB / 0.7127 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003421/1.151, allocations: 215.9 kB / 0.7129 GB, free: 1.695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001558/1.152, allocations: 1.281 MB / 0.7142 GB, free: 404 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/1.152, allocations: 0 / 0.7142 GB, free: 404 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.2071/1.36, allocations: 1.055 MB / 0.7152 GB, free: 134.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 0 * 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,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/1.361, allocations: 437.2 kB / 0.7156 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01446/1.375, allocations: 5.036 MB / 0.7205 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.375, allocations: 0 / 0.7205 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009717/1.385, allocations: 3.219 MB / 0.7237 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/1.388, allocations: 0.623 MB / 0.7243 GB, free: 132.5 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.812020004959777]