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.001273/0.001273, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002758, allocations: 440 kB / 10.41 MB, free: 284 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.001213/0.001213, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002687, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9889/0.9889, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09516/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.1291/0.1291, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01369/0.1428, allocations: 6.978 MB / 268.6 MB, free: 6.297 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.763e-06/1.763e-06, allocations: 0 / 269.9 MB, free: 5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.654e-05, allocations: 2.312 kB / 269.9 MB, free: 4.996 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.1821/0.1822, allocations: 13.82 MB / 283.7 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1514/0.3335, allocations: 141.6 MB / 425.2 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/0.3374, allocations: 87.31 kB / 425.3 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004359/0.3418, allocations: 1.296 MB / 426.6 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006273/0.3481, allocations: 1.683 MB / 428.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006048/0.3541, allocations: 1.948 MB / 430.3 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2029/0.557, allocations: 4.123 MB / 434.4 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.5584, allocations: 0.7602 MB / 435.1 MB, free: 4.344 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.5624, allocations: 2.252 MB / 437.4 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.5652, allocations: 1.477 MB / 438.9 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008683/0.5661, allocations: 329.3 kB / 439.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/0.5705, allocations: 1.526 MB / 440.7 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009262/0.5714, allocations: 0.8771 MB / 441.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.5734, allocations: 1.043 MB / 442.6 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.5795, allocations: 3.971 MB / 446.6 MB, free: 3.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.644e-05/0.5796, allocations: 0 / 446.6 MB, free: 3.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5796, allocations: 0.9688 kB / 446.6 MB, free: 3.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002338/0.5798, allocations: 0 / 446.6 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.005804/0.5856, allocations: 4.816 MB / 451.4 MB, free: 17.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5856, allocations: 12.16 kB / 451.4 MB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.5874, allocations: 1.498 MB / 452.9 MB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.5894, allocations: 1.327 MB / 454.3 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.5896, allocations: 435.5 kB / 454.7 MB, free: 16.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/0.5899, allocations: 334.7 kB / 455 MB, free: 16.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/0.5933, allocations: 3.335 MB / 458.3 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/0.5934, allocations: 192 / 458.3 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.5935, allocations: 138 kB / 458.5 MB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003016/0.5938, allocations: 455.5 kB / 458.9 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.5972, allocations: 4.191 MB / 463.1 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.6103, allocations: 10.71 MB / 473.8 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.6114, allocations: 0.8462 MB / 474.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.6119, allocations: 416.8 kB / 475.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008146/0.6201, allocations: 5.302 MB / 480.4 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.6201, allocations: 49.62 kB / 480.4 MB, free: 14.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.306e-06/0.6201, allocations: 0.7812 kB / 480.4 MB, free: 14.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=170): time 0.03541/0.6555, allocations: 10.88 MB / 491.3 MB, free: 8.578 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.007325/0.6629, allocations: 4.457 MB / 495.8 MB, free: 4.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6646, allocations: 1.338 MB / 497.1 MB, free: 3.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007436/0.6654, allocations: 53.61 kB / 497.2 MB, free: 3.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.6664, allocations: 1.593 MB / 498.8 MB, free: 2.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007963/0.6672, allocations: 0.6003 MB / 499.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007831/0.668, allocations: 0.5077 MB / 499.9 MB, free: 1.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.668, allocations: 301.1 kB / 0.4884 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.6691, allocations: 0.6031 MB / 0.489 GB, free: 1.102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.6706, allocations: 1.349 MB / 0.4903 GB, free: 15.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00378/0.6744, allocations: 2.946 MB / 0.4932 GB, free: 12.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.6744, allocations: 8 kB / 0.4932 GB, free: 12.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.009907/0.6843, allocations: 3.378 MB / 0.4965 GB, free: 9.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.6844, allocations: 16.72 kB / 0.4965 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/0.6844, allocations: 24 kB / 0.4966 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01162/0.696, allocations: 3.468 MB / 0.4999 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.6994, allocations: 1.006 MB / 0.5009 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/0.7169, allocations: 10.33 MB / 0.511 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.7191, allocations: 95.97 kB / 0.5111 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/0.7196, allocations: 303.9 kB / 0.5114 GB, free: 10.95 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.001648/0.7213, allocations: 254.4 kB / 0.5116 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000683/0.722, allocations: 215.4 kB / 0.5118 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.7356, allocations: 3.876 MB / 0.5156 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.7356, allocations: 16 kB / 0.5156 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.7356, allocations: 4 kB / 0.5156 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/0.7356, allocations: 7.969 kB / 0.5157 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.7522, allocations: 6.099 MB / 0.5216 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.7522, allocations: 0 / 0.5216 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/0.7544, allocations: 0.7076 MB / 0.5223 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007574/0.7552, allocations: 180.5 kB / 0.5225 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/0.7665, allocations: 3.916 MB / 0.5263 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004501/0.767, allocations: 79.92 kB / 0.5264 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.7808, allocations: 10.49 MB / 0.5366 GB, free: 1.246 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.005429/0.7863, allocations: 4.148 MB / 0.5407 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.7969, allocations: 3.582 MB / 0.5442 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/0.7974, allocations: 35.98 kB / 0.5442 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.7983, allocations: 59.97 kB / 0.5443 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/0.7989, allocations: 185 kB / 0.5444 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/0.7991, allocations: 167.9 kB / 0.5446 GB, free: 8.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.8001, allocations: 0.7147 MB / 0.5453 GB, free: 8.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8001, allocations: 0 / 0.5453 GB, free: 8.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003479/0.8036, allocations: 0.9879 MB / 0.5463 GB, free: 7.262 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.001028/0.8046, allocations: 404.3 kB / 0.5466 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006222/0.8109, allocations: 2.703 MB / 0.5493 GB, free: 4.246 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.821e-05/0.811, allocations: 33.81 kB / 0.5493 GB, free: 4.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003716/0.8147, allocations: 2.021 MB / 0.5513 GB, free: 2.172 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.8181, allocations: 3.483 MB / 0.5547 GB, free: 14.11 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633: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.422976940870285]