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.0008374/0.0008374, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008642/0.0008642, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9966/0.9966, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.08417/0.08417, allocations: 17.47 MB / 277.7 MB, free: 11.43 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.393e-06/1.393e-06, allocations: 0 / 300.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.723e-05, allocations: 3.688 kB / 300.7 MB, free: 1.762 MB / 266.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.0413/0.04131, allocations: 43.13 MB / 343.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3053/0.3466, allocations: 141 MB / 484.9 MB, free: 25.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.3489, allocations: 87.72 kB / 485 MB, free: 25.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.3516, allocations: 1.286 MB / 486.3 MB, free: 24.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.3555, allocations: 1.696 MB / 488 MB, free: 24.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.3586, allocations: 1.978 MB / 489.9 MB, free: 24.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004635/0.3633, allocations: 4.162 MB / 494.1 MB, free: 23.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009226/0.3642, allocations: 0.7579 MB / 494.9 MB, free: 22.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.3669, allocations: 2.123 MB / 497 MB, free: 22.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.3688, allocations: 1.493 MB / 498.5 MB, free: 22.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006706/0.3694, allocations: 328.1 kB / 498.8 MB, free: 22.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.3722, allocations: 1.486 MB / 0.4886 GB, free: 22.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.3728, allocations: 1.046 MB / 0.4896 GB, free: 22.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.3742, allocations: 1.218 MB / 0.4908 GB, free: 21.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.3792, allocations: 4.281 MB / 0.4949 GB, free: 19.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3792, allocations: 0 / 0.4949 GB, free: 19.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3792, allocations: 3.984 kB / 0.4949 GB, free: 19.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.3793, allocations: 0 / 0.4949 GB, free: 19.3 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.003935/0.3833, allocations: 4.054 MB / 0.4989 GB, free: 16.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3833, allocations: 8.062 kB / 0.4989 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3848, allocations: 1.411 MB / 0.5003 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.3864, allocations: 1.328 MB / 0.5016 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.3866, allocations: 435.5 kB / 0.502 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.3868, allocations: 338.3 kB / 0.5023 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.3897, allocations: 3.337 MB / 0.5056 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/0.3898, allocations: 3.094 kB / 0.5056 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.3899, allocations: 130.3 kB / 0.5057 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.3902, allocations: 479.9 kB / 0.5062 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/0.3933, allocations: 4.194 MB / 0.5103 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.4072, allocations: 10.65 MB / 0.5207 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.4084, allocations: 0.8475 MB / 0.5215 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006391/0.409, allocations: 421.3 kB / 0.5219 GB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009286/0.4183, allocations: 5.305 MB / 0.5271 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.4183, allocations: 47.81 kB / 0.5271 GB, free: 13.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.406e-06/0.4183, allocations: 4 kB / 0.5271 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.05193/0.4703, allocations: 12.79 MB / 0.5396 GB, free: 0.5938 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.006192/0.4765, allocations: 4.387 MB / 0.5439 GB, free: 12.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.478, allocations: 1.342 MB / 0.5452 GB, free: 10.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.4786, allocations: 61.7 kB / 0.5453 GB, free: 10.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/0.4795, allocations: 1.578 MB / 0.5468 GB, free: 9.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007945/0.4803, allocations: 0.6835 MB / 0.5475 GB, free: 8.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009864/0.4813, allocations: 0.5743 MB / 0.548 GB, free: 8.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003854/0.4817, allocations: 305.2 kB / 0.5483 GB, free: 7.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4832, allocations: 0.8165 MB / 0.5491 GB, free: 7.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.4849, allocations: 1.58 MB / 0.5507 GB, free: 5.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.4898, allocations: 3.808 MB / 0.5544 GB, free: 1.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.4898, allocations: 8 kB / 0.5544 GB, free: 1.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01109/0.5009, allocations: 3.932 MB / 0.5582 GB, free: 13.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.501, allocations: 16 kB / 0.5583 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.501, allocations: 28.83 kB / 0.5583 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.5115, allocations: 3.454 MB / 0.5617 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.5144, allocations: 0.7802 MB / 0.5624 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.5287, allocations: 10.64 MB / 0.5728 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.5307, allocations: 108 kB / 0.5729 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005569/0.5313, allocations: 371.8 kB / 0.5733 GB, free: 13.34 MB / 474.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 (otherSubstances.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,H2O_solid.substanceDefinitionVar.SelfClustering) * 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): 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,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001602/0.5329, allocations: 279.8 kB / 0.5735 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006256/0.5335, allocations: 215.8 kB / 0.5737 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.5451, allocations: 4.609 MB / 0.5782 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.5451, allocations: 23.94 kB / 0.5783 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.5451, allocations: 4 kB / 0.5783 GB, free: 8.238 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/0.5452, allocations: 7.969 kB / 0.5783 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.561, allocations: 6.761 MB / 0.5849 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.561, allocations: 4 kB / 0.5849 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/0.563, allocations: 0.5342 MB / 0.5854 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/0.5741, allocations: 3.593 MB / 0.5889 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/0.5745, allocations: 87.89 kB / 0.589 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/0.5881, allocations: 10.45 MB / 0.5992 GB, free: 2.758 MB / 490.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.004834/0.593, allocations: 4.126 MB / 0.6032 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.6043, allocations: 4.215 MB / 0.6073 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.6048, allocations: 197.7 kB / 0.6075 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.6052, allocations: 43.95 kB / 0.6076 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6063, allocations: 67.97 kB / 0.6076 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/0.6068, allocations: 201.5 kB / 0.6078 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/0.6071, allocations: 171.9 kB / 0.608 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007036/0.6078, allocations: 0.7321 MB / 0.6087 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6078, allocations: 0 / 0.6087 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002988/0.6108, allocations: 1.109 MB / 0.6098 GB, free: 7.738 MB / 0.4948 GB 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.0007901/0.6116, allocations: 454.5 kB / 0.6102 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005482/0.617, allocations: 3.133 MB / 0.6133 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.495e-05/0.6171, allocations: 29.94 kB / 0.6133 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003122/0.6202, allocations: 1.98 MB / 0.6153 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6218, allocations: 0.5772 MB / 0.6158 GB, free: 1.609 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.474253689404577]