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.0007468/0.0007468, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001747, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007934/0.0007934, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009496/0.001743, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9455/0.9455, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0882/1.034, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09633/0.09633, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0163/0.1126, allocations: 6.96 MB / 268.4 MB, free: 6.406 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.783e-06/1.783e-06, allocations: 0 / 269.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.616e-05, allocations: 2.312 kB / 269.7 MB, free: 5.121 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1513/0.1513, allocations: 13.81 MB / 283.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1571/0.3084, allocations: 141.6 MB / 425 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.3104, allocations: 87.31 kB / 425.1 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.3135, allocations: 1.296 MB / 426.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.3168, allocations: 1.679 MB / 428.1 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.3206, allocations: 1.952 MB / 430 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.18/0.5006, allocations: 4.12 MB / 434.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.5019, allocations: 0.76 MB / 434.9 MB, free: 4.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.5049, allocations: 2.245 MB / 437.2 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.5071, allocations: 1.483 MB / 438.7 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000599/0.5077, allocations: 329 kB / 439 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.5108, allocations: 1.52 MB / 440.5 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.5114, allocations: 0.8774 MB / 441.4 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.5127, allocations: 1.039 MB / 442.4 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.5162, allocations: 3.992 MB / 446.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.5162, allocations: 1 kB / 446.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5162, allocations: 0 / 446.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.819e-05/0.5163, allocations: 3.469 kB / 446.4 MB, free: 3.562 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.003664/0.52, allocations: 4.819 MB / 451.2 MB, free: 17.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.52, allocations: 7.594 kB / 451.2 MB, free: 17.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.5213, allocations: 1.493 MB / 452.7 MB, free: 17.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.5226, allocations: 1.329 MB / 454.1 MB, free: 17.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.5228, allocations: 433.6 kB / 454.5 MB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.523, allocations: 332.4 kB / 454.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.5256, allocations: 3.339 MB / 458.1 MB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.5257, allocations: 192 / 458.1 MB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.5258, allocations: 140 kB / 458.3 MB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003179/0.5262, allocations: 475.9 kB / 458.7 MB, free: 16.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.5292, allocations: 4.19 MB / 462.9 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.5397, allocations: 10.71 MB / 473.6 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.5406, allocations: 0.8455 MB / 474.5 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.5411, allocations: 415.5 kB / 474.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006439/0.5475, allocations: 5.304 MB / 480.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5476, allocations: 51.28 kB / 480.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.745e-06/0.5476, allocations: 0 / 480.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.04001/0.5876, allocations: 12.32 MB / 492.6 MB, free: 7.609 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.005779/0.5934, allocations: 4.431 MB / 497 MB, free: 3.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5945, allocations: 1.338 MB / 498.3 MB, free: 2.836 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.5948, allocations: 54.95 kB / 498.4 MB, free: 2.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006785/0.5955, allocations: 1.591 MB / 500 MB, free: 1.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.596, allocations: 0.681 MB / 0.4889 GB, free: 1.078 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007644/0.5967, allocations: 0.5477 MB / 0.4895 GB, free: 0.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.5968, allocations: 306.2 kB / 0.4898 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.5981, allocations: 0.8078 MB / 0.4905 GB, free: 15.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.5997, allocations: 1.556 MB / 0.4921 GB, free: 14.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/0.6038, allocations: 3.576 MB / 0.4956 GB, free: 10.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.6038, allocations: 8 kB / 0.4956 GB, free: 10.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01226/0.6161, allocations: 3.824 MB / 0.4993 GB, free: 7.379 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6161, allocations: 16 kB / 0.4993 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.6161, allocations: 25 kB / 0.4993 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.6262, allocations: 3.426 MB / 0.5027 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.6295, allocations: 1.149 MB / 0.5038 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.6428, allocations: 10.31 MB / 0.5139 GB, free: 8.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.6448, allocations: 108 kB / 0.514 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/0.6451, allocations: 323.8 kB / 0.5143 GB, free: 8.047 MB / 458.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.00126/0.6464, allocations: 268.7 kB / 0.5145 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.6468, allocations: 215.8 kB / 0.5148 GB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.6578, allocations: 4.429 MB / 0.5191 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6578, allocations: 23.94 kB / 0.5191 GB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6578, allocations: 4 kB / 0.5191 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.6578, allocations: 15.95 kB / 0.5191 GB, free: 3.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.6717, allocations: 6.688 MB / 0.5257 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6717, allocations: 4 kB / 0.5257 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/0.6745, allocations: 0.8309 MB / 0.5265 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.6748, allocations: 182.5 kB / 0.5266 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/0.6851, allocations: 3.597 MB / 0.5302 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/0.6854, allocations: 79.91 kB / 0.5302 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.6974, allocations: 10.44 MB / 0.5404 GB, free: 13.43 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.004517/0.7019, allocations: 4.156 MB / 0.5445 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.7123, allocations: 4.211 MB / 0.5486 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/0.7127, allocations: 43.95 kB / 0.5486 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.7138, allocations: 67.95 kB / 0.5487 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004885/0.7143, allocations: 201.1 kB / 0.5489 GB, free: 4.602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/0.7145, allocations: 179.9 kB / 0.5491 GB, free: 4.426 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007005/0.7152, allocations: 0.6943 MB / 0.5497 GB, free: 3.785 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7152, allocations: 0 / 0.5497 GB, free: 3.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003013/0.7183, allocations: 1.074 MB / 0.5508 GB, free: 2.711 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.0006877/0.719, allocations: 405.8 kB / 0.5512 GB, free: 2.371 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004626/0.7236, allocations: 3.113 MB / 0.5542 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-05/0.7236, allocations: 40.91 kB / 0.5543 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.7265, allocations: 1.978 MB / 0.5562 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.7279, allocations: 0.7907 MB / 0.557 GB, free: 12.53 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784: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.2107713613659143]