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.00139/0.00139, allocations: 92.22 kB / 19.65 MB, free: 280 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.00159/0.00159, allocations: 165 kB / 23.02 MB, free: 1.555 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.061/1.061, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.1214/0.1214, allocations: 17.47 MB / 277.4 MB, free: 11.55 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 1.222e-06/1.222e-06, allocations: 0 / 353.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.686e-05, allocations: 6.25 kB / 353.5 MB, free: 9.832 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.03089/0.03091, allocations: 37.57 MB / 391.1 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3143/0.3452, allocations: 141.5 MB / 0.5202 GB, free: 5.828 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004298/0.3495, allocations: 87.31 kB / 0.5202 GB, free: 5.742 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.3539, allocations: 1.254 MB / 0.5215 GB, free: 4.5 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004364/0.3583, allocations: 1.687 MB / 0.5231 GB, free: 2.801 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005042/0.3633, allocations: 1.952 MB / 0.525 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006353/0.3697, allocations: 4.168 MB / 0.5291 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.3709, allocations: 0.7236 MB / 0.5298 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.3737, allocations: 2.116 MB / 0.5319 GB, free: 9.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.3756, allocations: 1.515 MB / 0.5333 GB, free: 8.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.3759, allocations: 328 kB / 0.5337 GB, free: 7.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3786, allocations: 1.513 MB / 0.5351 GB, free: 6.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.3791, allocations: 1.055 MB / 0.5362 GB, free: 5.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008805/0.38, allocations: 1.215 MB / 0.5374 GB, free: 4.125 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003706/0.3837, allocations: 4.278 MB / 0.5415 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.3837, allocations: 0 / 0.5415 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3837, allocations: 0 / 0.5415 GB, free: 15.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.95e-05/0.3838, allocations: 0 / 0.5415 GB, free: 15.83 MB / 426.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.00435/0.3881, allocations: 4.408 MB / 0.5458 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3882, allocations: 16.02 kB / 0.5459 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.3904, allocations: 1.551 MB / 0.5474 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.3926, allocations: 1.984 MB / 0.5493 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.3928, allocations: 429.4 kB / 0.5497 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.3931, allocations: 340.3 kB / 0.55 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004216/0.3973, allocations: 3.81 MB / 0.5538 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.3974, allocations: 192 / 0.5538 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.3975, allocations: 140.3 kB / 0.5539 GB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.398, allocations: 479.7 kB / 0.5543 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.229/0.627, allocations: 5.54 MB / 0.5598 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.6498, allocations: 13.46 MB / 0.5729 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.6513, allocations: 1.058 MB / 0.5739 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008936/0.6522, allocations: 0.6209 MB / 0.5745 GB, free: 26.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00849/0.6607, allocations: 6.449 MB / 0.5808 GB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6607, allocations: 51.11 kB / 0.5809 GB, free: 25.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.086e-06/0.6607, allocations: 3.094 kB / 0.5809 GB, free: 25.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.03959/0.7003, allocations: 14.28 MB / 0.5948 GB, free: 24.21 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.007975/0.7083, allocations: 6.031 MB / 0.6007 GB, free: 19.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.7104, allocations: 1.76 MB / 0.6024 GB, free: 18.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004207/0.7109, allocations: 59.62 kB / 0.6025 GB, free: 18.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.7119, allocations: 2.009 MB / 0.6045 GB, free: 17.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.7125, allocations: 0.683 MB / 0.6051 GB, free: 16.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.7137, allocations: 0.6936 MB / 0.6058 GB, free: 16.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.7137, allocations: 482.9 kB / 0.6063 GB, free: 16.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.7157, allocations: 1.033 MB / 0.6073 GB, free: 16.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.7181, allocations: 2.121 MB / 0.6093 GB, free: 14.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00647/0.7245, allocations: 4.655 MB / 0.6139 GB, free: 11.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.7245, allocations: 8 kB / 0.6139 GB, free: 11.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02832/0.7529, allocations: 5.267 MB / 0.619 GB, free: 7.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.7529, allocations: 16.75 kB / 0.6191 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/0.7529, allocations: 25.09 kB / 0.6191 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02832/0.7813, allocations: 3.452 MB / 0.6225 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006703/0.788, allocations: 0.9142 MB / 0.6233 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.8042, allocations: 11.45 MB / 0.6345 GB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.8064, allocations: 137.7 kB / 0.6347 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/0.8068, allocations: 431.8 kB / 0.6351 GB, free: 7.199 MB / 442.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.001347/0.8081, allocations: 314.4 kB / 0.6354 GB, free: 6.918 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/0.8088, allocations: 306.5 kB / 0.6357 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/0.8234, allocations: 5.869 MB / 0.6414 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.8234, allocations: 21.2 kB / 0.6414 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.8234, allocations: 7.938 kB / 0.6414 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.8234, allocations: 11.95 kB / 0.6414 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/0.8433, allocations: 10.35 MB / 0.6515 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.8433, allocations: 4 kB / 0.6515 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/0.8455, allocations: 0.6147 MB / 0.6521 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0118/0.8573, allocations: 3.666 MB / 0.6557 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/0.8576, allocations: 115.9 kB / 0.6558 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.875, allocations: 14.71 MB / 0.6702 GB, free: 2.5 MB / 474.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.006059/0.881, allocations: 5.645 MB / 0.6757 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.8954, allocations: 5.692 MB / 0.6813 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.8959, allocations: 194.4 kB / 0.6815 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.8962, allocations: 51.88 kB / 0.6815 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8974, allocations: 96.78 kB / 0.6816 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/0.898, allocations: 232.3 kB / 0.6818 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/0.8982, allocations: 211.9 kB / 0.682 GB, free: 6.062 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.8994, allocations: 1.079 MB / 0.6831 GB, free: 4.961 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8994, allocations: 3.375 kB / 0.6831 GB, free: 4.961 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003028/0.9024, allocations: 1.054 MB / 0.6841 GB, free: 3.906 MB / 490.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.0006875/0.9031, allocations: 452.3 kB / 0.6845 GB, free: 3.523 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005954/0.9091, allocations: 3.828 MB / 0.6883 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9091, allocations: 1.938 kB / 0.6883 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/0.9129, allocations: 2.669 MB / 0.6909 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.9143, allocations: 0.6239 MB / 0.6915 GB, free: 12.39 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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: 2.757479509804398]