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.0007893/0.0007893, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009299/0.0009299, allocations: 169 kB / 23.27 MB, free: 1.223 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.006/1.006, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.103/0.103, allocations: 17.47 MB / 277.7 MB, free: 11.42 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.804e-06/1.804e-06, allocations: 0 / 354 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.759e-05, allocations: 6.25 kB / 354 MB, free: 9.574 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.03841/0.03842, allocations: 37.34 MB / 391.3 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2754/0.3138, allocations: 138.9 MB / 0.5178 GB, free: 8.551 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.3161, allocations: 87.31 kB / 0.5179 GB, free: 8.465 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.3189, allocations: 1.247 MB / 0.5191 GB, free: 7.227 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.3235, allocations: 1.695 MB / 0.5208 GB, free: 5.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.3278, allocations: 1.941 MB / 0.5226 GB, free: 3.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00566/0.3335, allocations: 4.165 MB / 0.5267 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.3345, allocations: 0.7236 MB / 0.5274 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.3371, allocations: 2.12 MB / 0.5295 GB, free: 12.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.3389, allocations: 1.523 MB / 0.531 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008675/0.3397, allocations: 332 kB / 0.5313 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.3428, allocations: 1.501 MB / 0.5328 GB, free: 9.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.3434, allocations: 1.051 MB / 0.5338 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.3449, allocations: 1.215 MB / 0.535 GB, free: 6.855 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006184/0.3511, allocations: 4.282 MB / 0.5392 GB, free: 2.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3511, allocations: 0 / 0.5392 GB, free: 2.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3511, allocations: 0 / 0.5392 GB, free: 2.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001454/0.3512, allocations: 4 kB / 0.5392 GB, free: 2.555 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.005009/0.3562, allocations: 4.443 MB / 0.5435 GB, free: 14.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3563, allocations: 8.031 kB / 0.5435 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.358, allocations: 1.559 MB / 0.545 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.3604, allocations: 1.961 MB / 0.5469 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.3606, allocations: 433.4 kB / 0.5474 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.3609, allocations: 336.3 kB / 0.5477 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.3642, allocations: 3.122 MB / 0.5507 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.3643, allocations: 4.188 kB / 0.5507 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.3645, allocations: 132.4 kB / 0.5509 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003709/0.3648, allocations: 479.7 kB / 0.5513 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.3696, allocations: 4.391 MB / 0.5556 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2293/0.5989, allocations: 12.76 MB / 0.5681 GB, free: 28.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.6002, allocations: 0.9487 MB / 0.569 GB, free: 28.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.6008, allocations: 0.5313 MB / 0.5695 GB, free: 28.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007933/0.6088, allocations: 6.336 MB / 0.5757 GB, free: 27.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.6088, allocations: 50.14 kB / 0.5757 GB, free: 27.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.945e-06/0.6088, allocations: 6.438 kB / 0.5757 GB, free: 27.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.04124/0.65, allocations: 13.48 MB / 0.5889 GB, free: 26.45 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.005787/0.6558, allocations: 5.917 MB / 0.5947 GB, free: 21.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6574, allocations: 1.746 MB / 0.5964 GB, free: 21.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007376/0.6581, allocations: 58.48 kB / 0.5965 GB, free: 21.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009572/0.6591, allocations: 2.021 MB / 0.5984 GB, free: 20.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.6597, allocations: 0.6804 MB / 0.5991 GB, free: 20.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.6608, allocations: 0.7097 MB / 0.5998 GB, free: 20.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.6608, allocations: 478.9 kB / 0.6002 GB, free: 19.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.6623, allocations: 0.9365 MB / 0.6012 GB, free: 19.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.6641, allocations: 2.028 MB / 0.6031 GB, free: 18.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/0.6691, allocations: 4.376 MB / 0.6074 GB, free: 17.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.6691, allocations: 5.188 kB / 0.6074 GB, free: 17.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01245/0.6815, allocations: 5.046 MB / 0.6123 GB, free: 15.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6816, allocations: 18.92 kB / 0.6124 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.6816, allocations: 24 kB / 0.6124 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/0.693, allocations: 3.52 MB / 0.6158 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/0.6959, allocations: 0.8979 MB / 0.6167 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/0.7109, allocations: 14.66 MB / 0.631 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.7134, allocations: 108 kB / 0.6311 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/0.7139, allocations: 407.8 kB / 0.6315 GB, free: 11.87 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 (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.001449/0.7153, allocations: 329.2 kB / 0.6318 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/0.716, allocations: 302.5 kB / 0.6321 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.7292, allocations: 5.375 MB / 0.6374 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.7292, allocations: 23.98 kB / 0.6374 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.7292, allocations: 4 kB / 0.6374 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.7292, allocations: 7.969 kB / 0.6374 GB, free: 5.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/0.7476, allocations: 9.854 MB / 0.647 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.7476, allocations: 0 / 0.647 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/0.7499, allocations: 0.6039 MB / 0.6476 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/0.761, allocations: 3.464 MB / 0.651 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005957/0.7616, allocations: 115.8 kB / 0.6511 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.7774, allocations: 14.32 MB / 0.6651 GB, free: 9.371 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.005859/0.7833, allocations: 5.522 MB / 0.6705 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.7977, allocations: 4.989 MB / 0.6753 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.7983, allocations: 191.6 kB / 0.6755 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.7988, allocations: 43.94 kB / 0.6756 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.8004, allocations: 63.97 kB / 0.6756 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007278/0.8011, allocations: 232.6 kB / 0.6759 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/0.8014, allocations: 195.9 kB / 0.676 GB, free: 13.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.8026, allocations: 0.9782 MB / 0.677 GB, free: 12.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8026, allocations: 0 / 0.677 GB, free: 12.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003858/0.8064, allocations: 1.109 MB / 0.6781 GB, free: 11.88 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.0008332/0.8073, allocations: 469.6 kB / 0.6785 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007727/0.815, allocations: 3.809 MB / 0.6822 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.815, allocations: 0 / 0.6822 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.8199, allocations: 2.472 MB / 0.6847 GB, free: 5.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.8223, allocations: 0.6184 MB / 0.6853 GB, free: 4.629 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.5513551509939134]