Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0006851/0.0006851, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008569/0.001542, allocations: 443.8 kB / 10.29 MB, free: 404 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.0006886/0.0006886, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008477/0.001536, allocations: 475.6 kB / 11.64 MB, free: 2.531 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.9971/0.9971, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08758/1.085, allocations: 53.65 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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09053/0.09053, allocations: 17.36 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01208/0.1026, allocations: 6.927 MB / 268.2 MB, free: 6.527 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 269.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.327e-05, allocations: 6.109 kB / 269.5 MB, free: 5.266 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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.0/Interfaces.mo:1564:5-1564: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.1464/0.1464, allocations: 13.07 MB / 282.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1366/0.2829, allocations: 139.6 MB / 422.1 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.2846, allocations: 39.81 kB / 422.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.2873, allocations: 1.226 MB / 423.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.2897, allocations: 1.353 MB / 424.7 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.2926, allocations: 1.665 MB / 426.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.2957, allocations: 3.816 MB / 430.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.2965, allocations: 0.753 MB / 431 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1791/0.4756, allocations: 2.127 MB / 433.1 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.4773, allocations: 1.133 MB / 434.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006803/0.478, allocations: 338.2 kB / 434.5 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.4811, allocations: 1.303 MB / 435.8 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007205/0.4818, allocations: 0.8268 MB / 436.7 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.4832, allocations: 0.9787 MB / 437.7 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.4875, allocations: 3.856 MB / 441.5 MB, free: 5.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.707e-05/0.4875, allocations: 2.969 kB / 441.5 MB, free: 5.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4875, allocations: 0 / 441.5 MB, free: 5.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00011/0.4876, allocations: 1.688 kB / 441.5 MB, free: 5.223 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.004555/0.4922, allocations: 4.656 MB / 446.2 MB, free: 3.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.4922, allocations: 9.125 kB / 446.2 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.4938, allocations: 1.494 MB / 447.7 MB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4951, allocations: 1.187 MB / 448.9 MB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.4954, allocations: 0.5591 MB / 449.4 MB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.4956, allocations: 326.5 kB / 449.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.4986, allocations: 3.483 MB / 453.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.4986, allocations: 192 / 453.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.4988, allocations: 133.6 kB / 453.4 MB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002922/0.4991, allocations: 0.4902 MB / 453.8 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.5024, allocations: 4.272 MB / 458.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.5165, allocations: 13.04 MB / 471.2 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.518, allocations: 0.9189 MB / 472.1 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.5188, allocations: 441 kB / 472.5 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009883/0.5198, allocations: 0.6914 MB / 473.2 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5198, allocations: 49.03 kB / 473.2 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.287e-06/0.5198, allocations: 0.9688 kB / 473.2 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.1153/0.6351, allocations: 16.72 MB / 490 MB, free: 9.703 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.03984/0.675, allocations: 12.87 MB / 0.491 GB, free: 15.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.6763, allocations: 1.366 MB / 0.4924 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008375/0.6771, allocations: 63.08 kB / 0.4924 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/0.6777, allocations: 1.399 MB / 0.4938 GB, free: 12.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007557/0.6785, allocations: 0.8148 MB / 0.4946 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.6797, allocations: 0.5742 MB / 0.4952 GB, free: 11.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.6798, allocations: 305.9 kB / 0.4955 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.6818, allocations: 1.053 MB / 0.4965 GB, free: 10.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.6839, allocations: 1.396 MB / 0.4978 GB, free: 9.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005953/0.6899, allocations: 3.944 MB / 0.5017 GB, free: 5.473 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.6899, allocations: 4.906 kB / 0.5017 GB, free: 5.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0137/0.7036, allocations: 4.452 MB / 0.5061 GB, free: 1.086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7036, allocations: 8 kB / 0.5061 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7036, allocations: 8 kB / 0.5061 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01843/0.722, allocations: 7.703 MB / 0.5136 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004287/0.7263, allocations: 1.168 MB / 0.5147 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.744, allocations: 11.76 MB / 0.5262 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.7463, allocations: 103.9 kB / 0.5263 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/0.7469, allocations: 0.4957 MB / 0.5268 GB, free: 11.75 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: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 201 * Array equations: 4 * 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,76.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001482/0.7484, allocations: 231.1 kB / 0.527 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007295/0.7491, allocations: 199.4 kB / 0.5272 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.7626, allocations: 5.346 MB / 0.5324 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009783/0.7723, allocations: 3.121 MB / 0.5355 GB, free: 2.996 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.7724, allocations: 8 kB / 0.5355 GB, free: 2.988 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.7724, allocations: 11.95 kB / 0.5355 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.7903, allocations: 8.233 MB / 0.5435 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7903, allocations: 4 kB / 0.5435 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/0.7928, allocations: 0.6637 MB / 0.5442 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03465/0.8274, allocations: 7.726 MB / 0.5517 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005051/0.8279, allocations: 107.9 kB / 0.5518 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.8407, allocations: 8.417 MB / 0.5601 GB, free: 9.918 MB / 0.4948 GB 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.04333/0.884, allocations: 11.47 MB / 0.5713 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/0.8983, allocations: 4.836 MB / 0.576 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.8988, allocations: 206.6 kB / 0.5762 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.8991, allocations: 63.81 kB / 0.5762 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.9005, allocations: 67.97 kB / 0.5763 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/0.9011, allocations: 236.5 kB / 0.5765 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/0.9014, allocations: 219.9 kB / 0.5767 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007587/0.9022, allocations: 0.7962 MB / 0.5775 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9022, allocations: 0 / 0.5775 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003227/0.9054, allocations: 1.46 MB / 0.5789 GB, free: 6.582 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],gasVolatility.rear.n_flow) * Number of discrete variables: 3 ($cse37,$cse30,$cse23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007563/0.9062, allocations: 435.8 kB / 0.5794 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005976/0.9122, allocations: 3.262 MB / 0.5825 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-05/0.9122, allocations: 23.78 kB / 0.5826 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.9168, allocations: 2.061 MB / 0.5846 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.919, allocations: 0.8606 MB / 0.5854 GB, free: 132 kB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4072:9-4072:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.4804054219275713]