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.0009975/0.0009975, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002395, allocations: 455.9 kB / 10.43 MB, free: 260 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.00108/0.00108, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.00256, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 1.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08779/1.098, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.0886/0.0886, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01255/0.1011, allocations: 6.974 MB / 268.6 MB, free: 6.301 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.293e-06/1.293e-06, allocations: 0 / 269.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.207e-05, allocations: 6.25 kB / 269.9 MB, free: 5 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.1516/0.1517, allocations: 13.81 MB / 283.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1506/0.3022, allocations: 141.6 MB / 425.3 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.3061, allocations: 91.25 kB / 425.3 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003554/0.3096, allocations: 1.289 MB / 426.6 MB, free: 5.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005174/0.3148, allocations: 1.683 MB / 428.3 MB, free: 3.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.3193, allocations: 1.956 MB / 430.3 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1975/0.5168, allocations: 4.119 MB / 434.4 MB, free: 4.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.518, allocations: 0.7629 MB / 435.2 MB, free: 4.348 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.5215, allocations: 2.247 MB / 437.4 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.5242, allocations: 1.495 MB / 438.9 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006779/0.5249, allocations: 330.7 kB / 439.2 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.5283, allocations: 1.544 MB / 440.8 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.529, allocations: 0.8768 MB / 441.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.5304, allocations: 1.038 MB / 442.7 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.5345, allocations: 3.982 MB / 446.7 MB, free: 3.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.131e-05/0.5345, allocations: 0 / 446.7 MB, free: 3.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5345, allocations: 0 / 446.7 MB, free: 3.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001277/0.5346, allocations: 0.9688 kB / 446.7 MB, free: 3.48 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.004373/0.539, allocations: 4.812 MB / 451.5 MB, free: 17.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.539, allocations: 8.594 kB / 451.5 MB, free: 17.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.5405, allocations: 1.49 MB / 453 MB, free: 17.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5421, allocations: 1.333 MB / 454.3 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.5423, allocations: 433 kB / 454.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.5425, allocations: 344.2 kB / 455.1 MB, free: 16.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.5453, allocations: 3.331 MB / 458.4 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.5453, allocations: 4.359 kB / 458.4 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.5455, allocations: 140 kB / 458.5 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.5458, allocations: 458.9 kB / 459 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.549, allocations: 4.189 MB / 463.2 MB, free: 16.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.5609, allocations: 10.71 MB / 473.9 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5619, allocations: 0.8446 MB / 474.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.5625, allocations: 412.8 kB / 475.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007126/0.5696, allocations: 5.305 MB / 480.4 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.5696, allocations: 52.31 kB / 480.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.645e-06/0.5696, allocations: 0 / 480.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=170): time 0.03733/0.607, allocations: 11.3 MB / 491.8 MB, free: 8.422 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.005912/0.6129, allocations: 4.465 MB / 496.2 MB, free: 4.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.6143, allocations: 1.345 MB / 497.6 MB, free: 3.641 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003998/0.6147, allocations: 53.72 kB / 497.6 MB, free: 3.605 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008367/0.6156, allocations: 1.579 MB / 499.2 MB, free: 2.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/0.6161, allocations: 0.6109 MB / 499.8 MB, free: 1.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007831/0.6169, allocations: 0.5016 MB / 0.4886 GB, free: 1.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.617, allocations: 308.7 kB / 0.4889 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.6181, allocations: 0.5908 MB / 0.4895 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.6194, allocations: 1.329 MB / 0.4908 GB, free: 15.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/0.6231, allocations: 2.887 MB / 0.4936 GB, free: 12.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.6231, allocations: 7.125 kB / 0.4936 GB, free: 12.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.0108/0.6339, allocations: 3.514 MB / 0.497 GB, free: 9.492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.6339, allocations: 16.78 kB / 0.4971 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.634, allocations: 27.98 kB / 0.4971 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.6444, allocations: 3.447 MB / 0.5004 GB, free: 6.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.647, allocations: 1.006 MB / 0.5014 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.6617, allocations: 10.38 MB / 0.5116 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.6635, allocations: 92.03 kB / 0.5117 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003511/0.6638, allocations: 303.9 kB / 0.5119 GB, free: 10.49 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 (233): * Single equations (assignments): 226 * 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.00133/0.6652, allocations: 267.1 kB / 0.5122 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.6656, allocations: 215.7 kB / 0.5124 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.6779, allocations: 4.271 MB / 0.5166 GB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.6779, allocations: 20 kB / 0.5166 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.6779, allocations: 11 kB / 0.5166 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-05/0.6779, allocations: 7.969 kB / 0.5166 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.6938, allocations: 6.329 MB / 0.5228 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.6938, allocations: 4 kB / 0.5228 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/0.6962, allocations: 0.7004 MB / 0.5235 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.6969, allocations: 180.4 kB / 0.5237 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/0.7088, allocations: 4.087 MB / 0.5276 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/0.7092, allocations: 79.92 kB / 0.5277 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.7242, allocations: 10.83 MB / 0.5383 GB, free: 15.62 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.005167/0.7294, allocations: 4.152 MB / 0.5424 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.7416, allocations: 3.812 MB / 0.5461 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005117/0.7421, allocations: 43.94 kB / 0.5461 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.743, allocations: 59.97 kB / 0.5462 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000518/0.7436, allocations: 188.2 kB / 0.5464 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/0.7438, allocations: 167.8 kB / 0.5465 GB, free: 7.051 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009229/0.7447, allocations: 0.7123 MB / 0.5472 GB, free: 6.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7447, allocations: 4 kB / 0.5472 GB, free: 6.383 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002939/0.7476, allocations: 0.9958 MB / 0.5482 GB, free: 5.387 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (118): * Single equations (assignments): 111 * 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.0006958/0.7483, allocations: 395.8 kB / 0.5486 GB, free: 5.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005013/0.7534, allocations: 2.71 MB / 0.5512 GB, free: 2.348 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.233e-05/0.7534, allocations: 33.81 kB / 0.5512 GB, free: 2.316 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003926/0.7573, allocations: 2.116 MB / 0.5533 GB, free: 184 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.7598, allocations: 3.496 MB / 0.5567 GB, free: 12.11 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.335026416927576]